mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
gui/user_menue.cpp: fix old items code c/p
This commit is contained in:
@@ -276,7 +276,6 @@ bool CUserMenu::showUserMenu(neutrino_msg_t msg)
|
|||||||
case SNeutrinoSettings::ITEM_TOOLS:
|
case SNeutrinoSettings::ITEM_TOOLS:
|
||||||
keyhelper.get(&key,&icon);
|
keyhelper.get(&key,&icon);
|
||||||
menu_item = new CMenuDForwarder(LOCALE_MAINMENU_TOOLS, g_PluginList->hasPlugin(CPlugins::P_TYPE_TOOL), NULL, new CPluginList(LOCALE_MAINMENU_TOOLS,CPlugins::P_TYPE_TOOL), "-1", key, icon );
|
menu_item = new CMenuDForwarder(LOCALE_MAINMENU_TOOLS, g_PluginList->hasPlugin(CPlugins::P_TYPE_TOOL), NULL, new CPluginList(LOCALE_MAINMENU_TOOLS,CPlugins::P_TYPE_TOOL), "-1", key, icon );
|
||||||
menu->addItem(menu_item, false);
|
|
||||||
break;
|
break;
|
||||||
case SNeutrinoSettings::ITEM_SCRIPTS:
|
case SNeutrinoSettings::ITEM_SCRIPTS:
|
||||||
keyhelper.get(&key,&icon);
|
keyhelper.get(&key,&icon);
|
||||||
@@ -286,7 +285,6 @@ bool CUserMenu::showUserMenu(neutrino_msg_t msg)
|
|||||||
case SNeutrinoSettings::ITEM_LUA:
|
case SNeutrinoSettings::ITEM_LUA:
|
||||||
keyhelper.get(&key,&icon);
|
keyhelper.get(&key,&icon);
|
||||||
menu_item = new CMenuDForwarder(LOCALE_MAINMENU_LUA, g_PluginList->hasPlugin(CPlugins::P_TYPE_LUA), NULL, new CPluginList(LOCALE_MAINMENU_LUA,CPlugins::P_TYPE_LUA), "-1", key, icon );
|
menu_item = new CMenuDForwarder(LOCALE_MAINMENU_LUA, g_PluginList->hasPlugin(CPlugins::P_TYPE_LUA), NULL, new CPluginList(LOCALE_MAINMENU_LUA,CPlugins::P_TYPE_LUA), "-1", key, icon );
|
||||||
menu->addItem(menu_item, false);
|
|
||||||
break;
|
break;
|
||||||
case SNeutrinoSettings::ITEM_PLUGIN_TYPES:
|
case SNeutrinoSettings::ITEM_PLUGIN_TYPES:
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user