diff frontends/wix/main_window.py @ 119:ded2431cea5a

Primitivus: chat window / text sending. Primitivus has now the most basics features \o/ - core: new getVersion method - primitivus: new debug key (C-d), only work if SàT is in dev version (D in version) - quick_app: new post_init method, used for automatique task like auto-plug - primitivus: lists now use genericList (Box) or List (Flow) - primitivus: List now manage correctly its size - primitivus: new FocusFrame widget which manage focus changing with 'tab' - primitivus: advancedEdit now manage 'click' signal - primitivus: contactList now manager 'change' and 'click' signals - primitivus: Chat window now working
author Goffi <goffi@goffi.org>
date Mon, 05 Jul 2010 19:13:36 +0800
parents d2630fba8dfd
children 1ca5f254ce41
line wrap: on
line diff
--- a/frontends/wix/main_window.py	Sat Jul 03 13:56:44 2010 +0800
+++ b/frontends/wix/main_window.py	Mon Jul 05 19:13:36 2010 +0800
@@ -99,8 +99,8 @@
         #events
         self.Bind(wx.EVT_CLOSE, self.onClose, self)
 
+        
         QuickApp.__init__(self)
-        #self.plug_profile() #gof:
         
         #menus
         self.createMenus()
@@ -111,10 +111,9 @@
         self.profile_pan = ProfileManager(self) 
         #self.profile_pan.Hide()  #gof:
         self.sizer.Add(self.profile_pan, 1, flag=wx.EXPAND)
-        if self.options.profile: #TODO: move this to quick_app
-            self.plug_profile(self.options.profile)
-                
-       
+      
+        self.postInit()
+
         self.Show()
 
     def plug_profile(self, profile_key='@DEFAULT@'):