diff 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
line wrap: on
line diff
--- a/src/browser/libervia_main.py	Fri Feb 27 13:12:28 2015 +0100
+++ b/src/browser/libervia_main.py	Fri Feb 27 02:42:44 2015 +0100
@@ -362,6 +362,10 @@
     def addContactList(self, dummy):
         contact_list = ContactList(self)
         self.panel.addContactList(contact_list)
+
+        # FIXME: the contact list height has to be set manually the first time
+        self.resize()
+
         return contact_list
 
     def newWidget(self, wid):