Mercurial > libervia-backend
diff frontends/wix/main_window.py @ 52:6455fb62ff83
Connection/disconnection signals
- wix, sortilege: management of this new signals
/!\ sortilege is bugged, the contact list window is not updated correctly
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 07 Jan 2010 01:55:30 +1100 |
parents | 8c67ea98ab91 |
children | 6dfe5bb10008 |
line wrap: on
line diff
--- a/frontends/wix/main_window.py Thu Jan 07 00:17:27 2010 +1100 +++ b/frontends/wix/main_window.py Thu Jan 07 01:55:30 2010 +1100 @@ -126,6 +126,10 @@ return html + def clear_contacts(self): + """Clear all the contact list""" + self.Clear() + def add(self, jid): """add a contact to the list""" debug ("adding %s",jid) @@ -171,7 +175,6 @@ self.contactList.registerActivatedCB(self.onContactActivated) self.chat_wins=ChatList(self) self.CreateStatusBar() - self.SetStatusText(msgOFFLINE) self.createMenus() #ToolBar @@ -197,7 +200,7 @@ self.Bind(wx.EVT_CLOSE, self.onClose, self) QuickApp.__init__(self) - + self.Show() def createMenus(self):