From 887d81a5a8ce74303625e144321a080f124fcb80 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 12 Sep 2017 22:30:35 +0200 Subject: [PATCH] ni-menu: drop possibility to integrate plugins Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/6614103971f0feb62cbb412009b7d5ccd14fdeb6 Author: vanhofen Date: 2017-09-12 (Tue, 12 Sep 2017) Origin message was: ------------------ - ni-menu: drop possibility to integrate plugins --- src/gui/ni_menu.cpp | 3 --- src/plugin.h | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/gui/ni_menu.cpp b/src/gui/ni_menu.cpp index b9562cfd3..e055a8037 100644 --- a/src/gui/ni_menu.cpp +++ b/src/gui/ni_menu.cpp @@ -260,9 +260,6 @@ int CNIMenu::show() mf->setHint(NEUTRINO_ICON_HINT_IMAGELOGO, LOCALE_MENU_HINT_PLUGINS_CONTROL); ni_menu->addItem(mf); - //add PLUGIN_INTEGRATION_NI_MENU plugins - ni_menu->integratePlugins(PLUGIN_INTEGRATION_NI_MENU, shortcut); - int res = ni_menu->exec(NULL, ""); ni_menu->hide(); diff --git a/src/plugin.h b/src/plugin.h index 1e1bb4d14..c1b99a1b1 100644 --- a/src/plugin.h +++ b/src/plugin.h @@ -22,8 +22,7 @@ enum PLUGIN_INTEGRATION_MULTIMEDIA = 2, PLUGIN_INTEGRATION_SETTING = 3, PLUGIN_INTEGRATION_SERVICE = 4, - PLUGIN_INTEGRATION_INFORMATION = 5, - PLUGIN_INTEGRATION_NI_MENU = 10 + PLUGIN_INTEGRATION_INFORMATION = 5 }; #endif // __plugin_h__