core, quick_frontends: added an "extra" item in getMenus + use of new quick_menus module in QuickApp

This commit is contained in:
Goffi 2015-03-17 19:33:05 +01:00
commit 80e65d5b84

View file

@ -425,7 +425,7 @@ class PrimitivusApp(QuickApp, InputHistory):
"""
def add_menu_cb(callback_id):
self.launchAction(callback_id, menu_data, profile=self.current_profile)
for id_, type_, path, path_i18n in self.bridge.getMenus("", C.NO_SECURITY_LIMIT ):
for id_, type_, path, path_i18n, extra in self.bridge.getMenus("", C.NO_SECURITY_LIMIT ): # TODO: manage extra
if type_ != type_filter:
continue
if len(path) != 2: