core, quick_frontends: added an "extra" item in getMenus + use of new quick_menus module in QuickApp
This commit is contained in:
parent
565c0b2b71
commit
80e65d5b84
1 changed files with 15 additions and 9 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue