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:
vanhofen
2017-09-12 22:30:35 +02:00
parent d6a80feb1a
commit 887d81a5a8
2 changed files with 1 additions and 5 deletions

View File

@@ -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();

View File

@@ -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__