mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
ni-menu: drop possibility to integrate plugins
Origin commit data
------------------
Commit: 6614103971
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-12 (Tue, 12 Sep 2017)
Origin message was:
------------------
- ni-menu: drop possibility to integrate plugins
This commit is contained in:
@@ -260,9 +260,6 @@ int CNIMenu::show()
|
|||||||
mf->setHint(NEUTRINO_ICON_HINT_IMAGELOGO, LOCALE_MENU_HINT_PLUGINS_CONTROL);
|
mf->setHint(NEUTRINO_ICON_HINT_IMAGELOGO, LOCALE_MENU_HINT_PLUGINS_CONTROL);
|
||||||
ni_menu->addItem(mf);
|
ni_menu->addItem(mf);
|
||||||
|
|
||||||
//add PLUGIN_INTEGRATION_NI_MENU plugins
|
|
||||||
ni_menu->integratePlugins(PLUGIN_INTEGRATION_NI_MENU, shortcut);
|
|
||||||
|
|
||||||
int res = ni_menu->exec(NULL, "");
|
int res = ni_menu->exec(NULL, "");
|
||||||
|
|
||||||
ni_menu->hide();
|
ni_menu->hide();
|
||||||
|
@@ -22,8 +22,7 @@ enum
|
|||||||
PLUGIN_INTEGRATION_MULTIMEDIA = 2,
|
PLUGIN_INTEGRATION_MULTIMEDIA = 2,
|
||||||
PLUGIN_INTEGRATION_SETTING = 3,
|
PLUGIN_INTEGRATION_SETTING = 3,
|
||||||
PLUGIN_INTEGRATION_SERVICE = 4,
|
PLUGIN_INTEGRATION_SERVICE = 4,
|
||||||
PLUGIN_INTEGRATION_INFORMATION = 5,
|
PLUGIN_INTEGRATION_INFORMATION = 5
|
||||||
PLUGIN_INTEGRATION_NI_MENU = 10
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // __plugin_h__
|
#endif // __plugin_h__
|
||||||
|
Reference in New Issue
Block a user