comparison src/browser/sat_browser/contact_list.py @ 651:2df91d0308ac frontends_multi_profiles

browser_side, server_side: MicroblogPanel.onGroupDrop and bridge method getMassiveLastMBlogs now only accepts the publishers as a set of unicode (no more None value or single unicode).
author souliane <souliane@mailoo.org>
date Fri, 27 Feb 2015 01:08:36 +0100
parents 6d3142b782c3
children 40c72f3b7638
comparison
equal deleted inserted replaced
650:7e3cdc39c3e7 651:2df91d0308ac
83 libervia_widget.DragLabel.__init__(self, group, "GROUP", host) 83 libervia_widget.DragLabel.__init__(self, group, "GROUP", host)
84 ClickHandler.__init__(self) 84 ClickHandler.__init__(self)
85 self.addClickListener(self) 85 self.addClickListener(self)
86 86
87 def onClick(self, sender): 87 def onClick(self, sender):
88 self.host.displayWidget(blog.MicroblogPanel, self.group) 88 self.host.displayWidget(blog.MicroblogPanel, (self.group,))
89 89
90 90
91 class GroupPanel(VerticalPanel): 91 class GroupPanel(VerticalPanel):
92 92
93 def __init__(self, parent): 93 def __init__(self, parent):
169 libervia_widget.DragLabel.__init__(self, text, "CONTACT_TITLE", host) 169 libervia_widget.DragLabel.__init__(self, text, "CONTACT_TITLE", host)
170 ClickHandler.__init__(self) 170 ClickHandler.__init__(self)
171 self.addClickListener(self) 171 self.addClickListener(self)
172 172
173 def onClick(self, sender): 173 def onClick(self, sender):
174 self.host.displayWidget(blog.MicroblogPanel, None) 174 self.host.displayWidget(blog.MicroblogPanel, ())
175 175
176 176
177 class ContactList(SimplePanel, QuickContactList): 177 class ContactList(SimplePanel, QuickContactList):
178 """Manage the contacts and groups""" 178 """Manage the contacts and groups"""
179 179