diff src/browser/libervia_main.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 048401e5c506
children 476d8d9973d3
line wrap: on
line diff
--- a/src/browser/libervia_main.py	Fri Feb 27 13:00:04 2015 +0100
+++ b/src/browser/libervia_main.py	Fri Feb 27 13:12:28 2015 +0100
@@ -305,9 +305,10 @@
             self._register_box.hide()
             del self._register_box  # don't work if self._register_box is None
 
-        # display the real presence status panel
+        # display the presence status panel and tab bar
         self.presence_status_panel = main_panel.PresenceStatusPanel(self)
         self.panel.addPresenceStatusPanel(self.presence_status_panel)
+        self.panel.tab_panel.getTabBar().setVisible(True)
 
         self.bridge_signals.call('getSignals', self.bridge_signals.signalHandler)