diff frontends/wix/main_window.py @ 23:925ab466c5ec

better presentation for register new account - error message when no user, pass or server given - server is now automatically updated when jid change in connection category
author Goffi <goffi@goffi.org>
date Tue, 01 Dec 2009 06:07:20 +0100
parents bb72c29f3432
children 53e921c8a357
line wrap: on
line diff
--- a/frontends/wix/main_window.py	Tue Dec 01 04:56:08 2009 +0100
+++ b/frontends/wix/main_window.py	Tue Dec 01 06:07:20 2009 +0100
@@ -306,6 +306,7 @@
         if type == "SUPPRESS":
             self.current_action_ids.remove(id)
         elif type == "SUCCESS":
+            self.current_action_ids.remove(id)
             dlg = wx.MessageDialog(self, data["message"],
                                    'Success',
                                    wx.OK | wx.ICON_INFORMATION
@@ -313,6 +314,7 @@
             dlg.ShowModal()
             dlg.Destroy()
         elif type == "ERROR":
+            self.current_action_ids.remove(id)
             dlg = wx.MessageDialog(self, data["message"],
                                    'Error',
                                    wx.OK | wx.ICON_ERROR