Mercurial > libervia-web
comparison src/browser/libervia_main.py @ 658:476d8d9973d3 frontends_multi_profiles
browser_side: the contact list's height needs a window resize after it's been added or when the tab bar display is changed
author | souliane <souliane@mailoo.org> |
---|---|
date | Fri, 27 Feb 2015 02:42:44 +0100 |
parents | 0b7e4226378d |
children | 8e7d4de56e75 |
comparison
equal
deleted
inserted
replaced
657:0b7e4226378d | 658:476d8d9973d3 |
---|---|
360 plugin.profileConnected() | 360 plugin.profileConnected() |
361 | 361 |
362 def addContactList(self, dummy): | 362 def addContactList(self, dummy): |
363 contact_list = ContactList(self) | 363 contact_list = ContactList(self) |
364 self.panel.addContactList(contact_list) | 364 self.panel.addContactList(contact_list) |
365 | |
366 # FIXME: the contact list height has to be set manually the first time | |
367 self.resize() | |
368 | |
365 return contact_list | 369 return contact_list |
366 | 370 |
367 def newWidget(self, wid): | 371 def newWidget(self, wid): |
368 log.debug("newWidget: {}".format(wid)) | 372 log.debug("newWidget: {}".format(wid)) |
369 self.addWidget(wid) | 373 self.addWidget(wid) |