# HG changeset patch # User Goffi # Date 1448293151 -3600 # Node ID 0d5889b9313cf8ab6a738403bcd44c42ea167941 # Parent efbd28b3438e1f570828c47df333b09e00bbcf5c browser side: fixed group panel drop and contact_list click on GroupLabel diff -r efbd28b3438e -r 0d5889b9313c src/browser/sat_browser/blog.py --- a/src/browser/sat_browser/blog.py Mon Nov 23 15:57:15 2015 +0100 +++ b/src/browser/sat_browser/blog.py Mon Nov 23 16:39:11 2015 +0100 @@ -527,9 +527,7 @@ # self.loadMoreMainEntries() -# libervia_widget.LiberviaWidget.addDropKey("GROUP", lambda host, item: MicroblogPanel.onGroupDrop(host, (item,))) -# -# # Needed for the drop keys to not be mixed between meta panel and panel for "Contacts" group +libervia_widget.LiberviaWidget.addDropKey("GROUP", lambda host, item: Blog.onGroupDrop(host, (item,))) libervia_widget.LiberviaWidget.addDropKey("CONTACT_TITLE", lambda host, item: Blog.onGroupDrop(host, ())) quick_blog.registerClass("ENTRY", Entry) quick_widgets.register(quick_blog.QuickBlog, Blog) diff -r efbd28b3438e -r 0d5889b9313c src/browser/sat_browser/contact_list.py --- a/src/browser/sat_browser/contact_list.py Mon Nov 23 15:57:15 2015 +0100 +++ b/src/browser/sat_browser/contact_list.py Mon Nov 23 16:39:11 2015 +0100 @@ -54,7 +54,7 @@ self.addClickListener(self) def onClick(self, sender): - self.host.displayWidget(blog.MicroblogPanel, (self.group,)) + self.host.displayWidget(blog.Blog, (self.group,)) class GroupPanel(VerticalPanel): @@ -276,7 +276,7 @@ if other == item: return True return False - + def index(self, item): i = 0 for other in self: