comparison src/plugins/plugin_xep_0055.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 e0bde0d0b321
children d17772b0fe22
comparison
equal deleted inserted replaced
1706:aa60bd58ac23 1707:94c450972346
75 host.bridge.addMethod("searchRequest", ".plugin", in_sign='sa{ss}s', out_sign='s', 75 host.bridge.addMethod("searchRequest", ".plugin", in_sign='sa{ss}s', out_sign='s',
76 method=self._searchRequest, 76 method=self._searchRequest,
77 async=True) 77 async=True)
78 78
79 self.__search_menu_id = host.registerCallback(self._getMainUI, with_data=True) 79 self.__search_menu_id = host.registerCallback(self._getMainUI, with_data=True)
80 host.importMenu((D_("Service"), D_("Search directory")), self._getMainUI, security_limit=1, help_string=D_("Search user directory")) 80 host.importMenu((D_("Contacts"), D_("Search directory")), self._getMainUI, security_limit=1, help_string=D_("Search user directory"))
81 if "XEP-0050" in host.plugins: 81 if "XEP-0050" in host.plugins:
82 host.importMenu((D_("Service"), D_("Directory subscription")), self.subscribe, security_limit=1, help_string=D_("User directory subscription")) 82 host.importMenu((D_("Service"), D_("Directory subscription")), self.subscribe, security_limit=1, help_string=D_("User directory subscription"))
83 83
84 def _getHostServices(self, profile): 84 def _getHostServices(self, profile):
85 """Return the jabber search services associated to the user host. 85 """Return the jabber search services associated to the user host.