Mercurial > libervia-web
diff src/browser/sat_browser/main_panel.py @ 944:5d9f6d25c586
browser: various fixes
this is a first pass to fix main Libervia features which have been broken with changes in backend:
- fixed Chat signature
- added/removed/replaced a couple of missing methods
- use contact_list_widget instead of contact_list when needed
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 19 May 2017 17:03:04 +0200 |
parents | 2ef71ec07d87 |
children | fd4eae654182 |
line wrap: on
line diff
--- a/src/browser/sat_browser/main_panel.py Fri May 19 13:54:49 2017 +0200 +++ b/src/browser/sat_browser/main_panel.py Fri May 19 17:03:04 2017 +0200 @@ -297,7 +297,7 @@ """ (Un)hide contacts panel """ if btn is None: btn = self.contacts_switch - clist = self.host.contact_list + clist = self.host.contact_list_widget clist.setVisible(not clist.getVisible()) btn.setText(u"«" if clist.getVisible() else u"»") self.host.resize() @@ -312,6 +312,3 @@ return self._contacts.removeFromParent() parent.insert(self._contacts, 0) - - -