user_menu: re-rename ITEM_PLUGIN to ITEM_PLUGIN_TYPES

Origin commit data
------------------
Commit: 8047531bc5
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-09-05 (Fri, 05 Sep 2014)

Origin message was:
------------------
- user_menu: re-rename ITEM_PLUGIN to ITEM_PLUGIN_TYPES
This commit is contained in:
vanhofen
2014-09-05 18:47:44 +02:00
parent 34d2776109
commit 107ea89fa2
3 changed files with 4 additions and 4 deletions

View File

@@ -288,7 +288,7 @@ bool CUserMenu::showUserMenu(neutrino_msg_t msg)
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;
case SNeutrinoSettings::ITEM_PLUGIN:
case SNeutrinoSettings::ITEM_PLUGIN_TYPES:
{
unsigned int number_of_plugins = (unsigned int) g_PluginList->getNumberOfPlugins();
if (!number_of_plugins)
@@ -519,7 +519,7 @@ const char *CUserMenu::getUserMenuButtonName(int button, bool &active)
active = true;
}
continue;
case SNeutrinoSettings::ITEM_PLUGIN:
case SNeutrinoSettings::ITEM_PLUGIN_TYPES:
return_title = true;
continue;
case SNeutrinoSettings::ITEM_CLOCK:

View File

@@ -88,7 +88,7 @@ static keyvals usermenu_items[] =
{ SNeutrinoSettings::ITEM_REMOTE, LOCALE_RCLOCK_MENUEADD, usermenu_show },
{ SNeutrinoSettings::ITEM_FAVORITS, LOCALE_FAVORITES_MENUEADD, usermenu_show },
{ SNeutrinoSettings::ITEM_TECHINFO, LOCALE_EPGMENU_STREAMINFO, usermenu_show },
{ SNeutrinoSettings::ITEM_PLUGIN, LOCALE_TIMERLIST_PLUGIN, usermenu_show },
{ SNeutrinoSettings::ITEM_PLUGIN_TYPES, LOCALE_USERMENU_ITEM_PLUGIN_TYPES, usermenu_show },
{ SNeutrinoSettings::ITEM_VTXT, LOCALE_USERMENU_ITEM_VTXT, usermenu_show },
{ SNeutrinoSettings::ITEM_IMAGEINFO, LOCALE_SERVICEMENU_IMAGEINFO, usermenu_show },
{ SNeutrinoSettings::ITEM_BOXINFO, LOCALE_EXTRA_DBOXINFO, usermenu_show },

View File

@@ -693,7 +693,7 @@ struct SNeutrinoSettings
ITEM_VTXT = 11,
ITEM_TECHINFO = 13,
ITEM_REMOTE = 14,
ITEM_PLUGIN = 15,
ITEM_PLUGIN_TYPES = 15,
ITEM_IMAGEINFO = 16,
ITEM_BOXINFO = 17,
ITEM_CAM = 18,