Mercurial > libervia-desktop-kivy
changeset 112:d654bdfeb404
core: changes menu bridge call, to follow backend
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 26 Jan 2017 20:39:07 +0100 |
parents | c3952922ca56 |
children | c439c271ecdd |
files | src/cagou/core/cagou_main.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cagou/core/cagou_main.py Sun Jan 15 23:52:28 2017 +0100 +++ b/src/cagou/core/cagou_main.py Thu Jan 26 20:39:07 2017 +0100 @@ -608,7 +608,7 @@ ## menus ## - def _getMenusCb(self, backend_menus): + def _menusGetCb(self, backend_menus): main_menu = self.app.root.root_menus self.menus.addMenus(backend_menus) self.menus.addMenu(C.MENU_GLOBAL, (_(u"Help"), _(u"About")), callback=main_menu.onAbout) @@ -618,7 +618,7 @@ def plugging_profiles(self): self.app.root.changeWidget(WidgetsHandler()) - self.bridge.getMenus("", C.NO_SECURITY_LIMIT, callback=self._getMenusCb) + self.bridge.menusGet("", C.NO_SECURITY_LIMIT, callback=self._menusGetCb) def setPresenceStatus(self, show='', status=None, profile=C.PROF_KEY_NONE): log.info(u"Profile presence status set to {show}/{status}".format(show=show, status=status))