Mercurial > libervia-backend
diff src/plugins/plugin_xep_0048.py @ 1707:94c450972346
primitivus and plugins: renamed a few menus:
- display all menu with the first letter in upper case
- moved Search directory from Service to Contacts
- moved "Join room" from Communication to Groups
- moved Bookmarks from Communication to Groups
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 01 Dec 2015 12:45:14 +0100 |
parents | 3265a2639182 |
children | d17772b0fe22 |
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0048.py Mon Nov 30 21:54:38 2015 +0100 +++ b/src/plugins/plugin_xep_0048.py Tue Dec 01 12:45:14 2015 +0100 @@ -58,7 +58,7 @@ self.host = host # self.__menu_id = host.registerCallback(self._bookmarksMenu, with_data=True) self.__bm_save_id = host.registerCallback(self._bookmarksSaveCb, with_data=True) - host.importMenu((D_("Communication"), D_("bookmarks")), self._bookmarksMenu, security_limit=0, help_string=D_("Use and manage bookmarks")) + host.importMenu((D_("Groups"), D_("Bookmarks")), self._bookmarksMenu, security_limit=0, help_string=D_("Use and manage bookmarks")) self.__selected_id = host.registerCallback(self._bookmarkSelectedCb, with_data=True) host.bridge.addMethod("bookmarksList", ".plugin", in_sign='sss', out_sign='a{sa{sa{ss}}}', method=self._bookmarksList, async=True) host.bridge.addMethod("bookmarksRemove", ".plugin", in_sign='ssss', out_sign='', method=self._bookmarksRemove, async=True)