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
This commit is contained in:
souliane 2015-12-01 12:45:14 +01:00
commit 8a1e54b194

View file

@ -63,7 +63,7 @@ class XEP_0100(object):
host.bridge.addMethod("gatewayRegister", ".plugin", in_sign='ss', out_sign='s', method=self._gatewayRegister)
self.__menu_id = host.registerCallback(self._gatewaysMenu, with_data=True)
self.__selected_id = host.registerCallback(self._gatewaySelectedCb, with_data=True)
host.importMenu((D_("Service"), D_("gateways")), self._gatewaysMenu, security_limit=1, help_string=D_("Find gateways"))
host.importMenu((D_("Service"), D_("Gateways")), self._gatewaysMenu, security_limit=1, help_string=D_("Find gateways"))
def _gatewaysMenu(self, data, profile):
""" XMLUI activated by menu: return Gateways UI