diff frontends/src/wix/profile_manager.py @ 1106:e2e1e27a3680

frontends: XMLUI refactoring + dialogs: - there are now XMLUIPanel and XMLUIDialog both inheriting from XMLUIBase - following dialogs are managed: - MessageDialog - NoteDialog - ConfirmDialog - FileDialog - XMLUI creation is now made using xmlui.create(...) instead of instanciating directly XMLUI - classes must be registed in frontends - "parent" attribute renamed to "_xmlui_parent" to avoid name conflicts with frontends toolkits
author Goffi <goffi@goffi.org>
date Wed, 13 Aug 2014 14:48:49 +0200
parents 8e0072754413
children
line wrap: on
line diff
--- a/frontends/src/wix/profile_manager.py	Mon Aug 11 19:10:24 2014 +0200
+++ b/frontends/src/wix/profile_manager.py	Wed Aug 13 14:48:49 2014 +0200
@@ -24,7 +24,6 @@
 import wx
 from sat.core.log import getLogger
 log = getLogger(__name__)
-from sat.tools.jid  import JID
 
 
 NO_SELECTION_ENTRY = ' '
@@ -147,7 +146,7 @@
             return
         if self.selected_profile:
             self.profile_name.SetValue(self.selected_profile)
-        self.host.profile = profile_name  # FIXME: EXTREMELY DIRTY, needed for sat_frontends.tools.xmlui.XMLUI._xmluiLaunchAction
+        self.host.profile = profile_name  # FIXME: EXTREMELY DIRTY, needed for sat_frontends.tools.xmlui.XMLUI.submit
         self.host.launchAction(C.AUTHENTICATE_PROFILE_ID, {'caller': 'profile_manager'}, profile_key=profile_name)
 
     def onConnectButton(self, event):