comparison src/browser/sat_browser/main_panel.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 ebb602d8b3f2
comparison
equal deleted inserted replaced
656:4dbd99de3aaa 657:0b7e4226378d
255 self.add(self.header, DockPanel.NORTH) 255 self.add(self.header, DockPanel.NORTH)
256 self.add(self.tab_panel, DockPanel.CENTER) 256 self.add(self.tab_panel, DockPanel.CENTER)
257 self.setCellWidth(self.tab_panel, '100%') 257 self.setCellWidth(self.tab_panel, '100%')
258 self.setCellHeight(self.tab_panel, '100%') 258 self.setCellHeight(self.tab_panel, '100%')
259 self.add(self.tab_panel.getTabBar(), DockPanel.SOUTH) 259 self.add(self.tab_panel.getTabBar(), DockPanel.SOUTH)
260
261 def addContactList(self, contact_list):
260 self.add(self.contacts_switch, DockPanel.WEST) 262 self.add(self.contacts_switch, DockPanel.WEST)
261
262 def addContactList(self, contact_list):
263 self.add(contact_list, DockPanel.WEST) 263 self.add(contact_list, DockPanel.WEST)
264 264
265 def addPresenceStatusPanel(self, panel): 265 def addPresenceStatusPanel(self, panel):
266 self.header.add(panel) 266 self.header.add(panel)
267 self.header.setCellHeight(panel, '100%') 267 self.header.setCellHeight(panel, '100%')