diff src/browser/sat_browser/libervia_widget.py @ 657:0b7e4226378d frontends_multi_profiles

browser_side: hide the tab bar and contact list's toggle button until the profile is connected
author souliane <souliane@mailoo.org>
date Fri, 27 Feb 2015 13:12:28 +0100
parents 4dbd99de3aaa
children 476d8d9973d3
line wrap: on
line diff
--- a/src/browser/sat_browser/libervia_widget.py	Fri Feb 27 13:00:04 2015 +0100
+++ b/src/browser/sat_browser/libervia_widget.py	Fri Feb 27 13:12:28 2015 +0100
@@ -751,6 +751,7 @@
         self.host = host
         self.setStyleName('liberviaTabPanel')
         self.tabBar.addTab(u'✚', asHTML=True)
+        self.tabBar.setVisible(False)  # set to True when profile is logged
         self.tabBar.addStyleDependentName('oneTab')
 
     def onTabSelected(self, sender, tabIndex):