diff --git a/src/gui/miscsettings_menu.cpp b/src/gui/miscsettings_menu.cpp index de91e7ff8..36787b19a 100644 --- a/src/gui/miscsettings_menu.cpp +++ b/src/gui/miscsettings_menu.cpp @@ -43,6 +43,7 @@ #include #include #include +#include #include #include @@ -637,6 +638,11 @@ int CMiscMenue::showMiscSettingsMenuPlugins() ms_plugins->addItem(GenericMenuSeparatorLine); + CPluginsHideMenu pluginsHideMenu; + mf = new CMenuForwarder(LOCALE_PLUGINS_HIDE, true, NULL, &pluginsHideMenu, NULL, CRCInput::RC_red); + mf->setHint(NEUTRINO_ICON_HINT_IMAGELOGO, LOCALE_MENU_HINT_PLUGINS_HIDE); + ms_plugins->addItem(mf); + int res = ms_plugins->exec(NULL, ""); delete ms_plugins; return res; diff --git a/src/gui/ni_menu.cpp b/src/gui/ni_menu.cpp index e055a8037..915dc384e 100644 --- a/src/gui/ni_menu.cpp +++ b/src/gui/ni_menu.cpp @@ -37,7 +37,6 @@ #include #include -#include #include #include @@ -246,26 +245,11 @@ int CNIMenu::show() mf->setHint(NEUTRINO_ICON_HINT_IMAGELOGO, LOCALE_MENU_HINT_NETFS_MENU_MAIN_HEAD); ni_menu->addItem(mf); - // Plugin Menu - CMenuWidget* pluginMenu = new CMenuWidget(LOCALE_PLUGINS_CONTROL, NEUTRINO_ICON_SETTINGS, width, MN_WIDGET_ID_PLUGINS_CONTROL); - pluginMenu->addIntroItems(); - - // Plugins for usermenu - CPluginsHideMenu pluginsHideMenu; - mf = new CMenuForwarder(LOCALE_PLUGINS_HIDE, true, NULL, &pluginsHideMenu, NULL, CRCInput::RC_blue); - mf->setHint(NEUTRINO_ICON_HINT_IMAGELOGO, LOCALE_MENU_HINT_PLUGINS_HIDE); - pluginMenu->addItem(mf); - - mf = new CMenuForwarder(LOCALE_PLUGINS_CONTROL, true, NULL, pluginMenu, "", CRCInput::convertDigitToKey(shortcut++)); - mf->setHint(NEUTRINO_ICON_HINT_IMAGELOGO, LOCALE_MENU_HINT_PLUGINS_CONTROL); - ni_menu->addItem(mf); - int res = ni_menu->exec(NULL, ""); ni_menu->hide(); delete ni_menu; delete emuMenu; - delete pluginMenu; return res; }