mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
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:
@@ -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:
|
||||
|
@@ -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 },
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user