# HG changeset patch # User Goffi # Date 1322953541 -3600 # Node ID 39a8ca1a2675eca4d4a6aa76b379d44686f43b9a # Parent 1c1d1a4994c4da8e992653a352767627af8d85b4 Primitivus: fixed redraw on profile change in profile manager diff -r 1c1d1a4994c4 -r 39a8ca1a2675 frontends/src/primitivus/profile_manager.py --- a/frontends/src/primitivus/profile_manager.py Sun Dec 04 00:03:15 2011 +0100 +++ b/frontends/src/primitivus/profile_manager.py Sun Dec 04 00:05:41 2011 +0100 @@ -108,14 +108,15 @@ def onProfileChange(self, list_wid): def setJID(jabberID): self.login_wid.set_edit_text(jabberID) + self.host.redraw() def setPassword(password): self.pass_wid.set_edit_text(password) + self.host.redraw() profile_name = list_wid.getSelectedValue() if profile_name: self.host.bridge.asyncGetParamA("JabberID", "Connection", profile_key=profile_name, callback=setJID, errback=self.getParamError) self.host.bridge.asyncGetParamA("Password", "Connection", profile_key=profile_name, callback=setPassword, errback=self.getParamError) - self.host.redraw() def onConnectProfile(self, button): profile_name = self.list_profile.getSelectedValue()