mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
move tuner setup to Service menu
Origin commit data
------------------
Commit: 067891fe52
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-10-25 (Fri, 25 Oct 2013)
This commit is contained in:
@@ -1113,7 +1113,7 @@ menu.hint_scripts Run scripts
|
|||||||
menu.hint_selected_back Change selected item background color
|
menu.hint_selected_back Change selected item background color
|
||||||
menu.hint_selected_text Change selected item text color
|
menu.hint_selected_text Change selected item text color
|
||||||
menu.hint_service Tuner setup, service scan,\nbouquet editor, software upgrade
|
menu.hint_service Tuner setup, service scan,\nbouquet editor, software upgrade
|
||||||
menu.hint_service_scan Tuner setup, service scan
|
menu.hint_service_scan Auto / manual service scan
|
||||||
menu.hint_settings Configure Neutrino-HD\nNetwork, audio, video, OSD and more
|
menu.hint_settings Configure Neutrino-HD\nNetwork, audio, video, OSD and more
|
||||||
menu.hint_show_mute_icon Show mute icon, when volume set to 0
|
menu.hint_show_mute_icon Show mute icon, when volume set to 0
|
||||||
menu.hint_shutdown Put your box in deep standby mode\nNo confirmation
|
menu.hint_shutdown Put your box in deep standby mode\nNo confirmation
|
||||||
|
@@ -394,13 +394,13 @@ int CScanSetup::showScanMenu()
|
|||||||
settings->addItem(mc);
|
settings->addItem(mc);
|
||||||
|
|
||||||
//sat/provider selector
|
//sat/provider selector
|
||||||
|
#if 0
|
||||||
if(CFEManager::getInstance()->haveSat() || CFEManager::getInstance()->getFrontendCount() > 1) {
|
if(CFEManager::getInstance()->haveSat() || CFEManager::getInstance()->getFrontendCount() > 1) {
|
||||||
mf = new CMenuForwarder(LOCALE_SATSETUP_FE_SETUP, allow_start, NULL, this, "setup_frontend", CRCInput::convertDigitToKey(shortcut++));
|
mf = new CMenuForwarder(LOCALE_SATSETUP_FE_SETUP, allow_start, NULL, this, "setup_frontend", CRCInput::convertDigitToKey(shortcut++));
|
||||||
mf->setHint("", LOCALE_MENU_HINT_SCAN_FESETUP);
|
mf->setHint("", LOCALE_MENU_HINT_SCAN_FESETUP);
|
||||||
settings->addItem(mf);
|
settings->addItem(mf);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
if (CFEManager::getInstance()->haveSat()) {
|
if (CFEManager::getInstance()->haveSat()) {
|
||||||
r_system = DVB_S;
|
r_system = DVB_S;
|
||||||
|
|
||||||
|
@@ -446,23 +446,31 @@ void CNeutrinoApp::InitMenuService()
|
|||||||
|
|
||||||
//1st section***************************************************************************************************
|
//1st section***************************************************************************************************
|
||||||
|
|
||||||
|
CMenuForwarder * mf;
|
||||||
|
// tuner setup
|
||||||
|
if(CFEManager::getInstance()->haveSat() || CFEManager::getInstance()->getFrontendCount() > 1) {
|
||||||
|
mf = new CMenuForwarder(LOCALE_SATSETUP_FE_SETUP, true, NULL, CScanSetup::getInstance(), "setup_frontend", CRCInput::RC_red, NEUTRINO_ICON_BUTTON_RED);
|
||||||
|
mf->setHint(NEUTRINO_ICON_HINT_SETTINGS, LOCALE_MENU_HINT_SCAN_FESETUP);
|
||||||
|
personalize.addItem(MENU_SERVICE, mf, &g_settings.personalize[SNeutrinoSettings::P_MSER_TUNER]);
|
||||||
|
}
|
||||||
|
|
||||||
// channel scan
|
// channel scan
|
||||||
CMenuForwarder * mf = new CMenuForwarder(LOCALE_SERVICEMENU_SCANTS , true, NULL, CScanSetup::getInstance(), "", CRCInput::RC_red, NEUTRINO_ICON_BUTTON_RED);
|
mf = new CMenuForwarder(LOCALE_SERVICEMENU_SCANTS , true, NULL, CScanSetup::getInstance(), "", CRCInput::RC_green, NEUTRINO_ICON_BUTTON_GREEN);
|
||||||
mf->setHint(NEUTRINO_ICON_HINT_SERVICE_SCAN, LOCALE_MENU_HINT_SERVICE_SCAN);
|
mf->setHint(NEUTRINO_ICON_HINT_SERVICE_SCAN, LOCALE_MENU_HINT_SERVICE_SCAN);
|
||||||
personalize.addItem(MENU_SERVICE, mf, &g_settings.personalize[SNeutrinoSettings::P_MSER_SCANTS]);
|
personalize.addItem(MENU_SERVICE, mf, &g_settings.personalize[SNeutrinoSettings::P_MSER_SCANTS]);
|
||||||
|
|
||||||
if (!g_settings.easymenu) {
|
if (!g_settings.easymenu) {
|
||||||
//reload channels
|
//reload channels
|
||||||
mf = new CMenuForwarder(LOCALE_SERVICEMENU_RELOAD , true, NULL, CScanSetup::getInstance(), "reloadchannels", CRCInput::RC_green, NEUTRINO_ICON_BUTTON_GREEN);
|
mf = new CMenuForwarder(LOCALE_SERVICEMENU_RELOAD , true, NULL, CScanSetup::getInstance(), "reloadchannels", CRCInput::RC_yellow, NEUTRINO_ICON_BUTTON_YELLOW);
|
||||||
mf->setHint(NEUTRINO_ICON_HINT_RELOAD_CHANNELS, LOCALE_MENU_HINT_RELOAD_CHANNELS);
|
mf->setHint(NEUTRINO_ICON_HINT_RELOAD_CHANNELS, LOCALE_MENU_HINT_RELOAD_CHANNELS);
|
||||||
personalize.addItem(MENU_SERVICE, mf, &g_settings.personalize[SNeutrinoSettings::P_MSER_RELOAD_CHANNELS]);
|
personalize.addItem(MENU_SERVICE, mf, &g_settings.personalize[SNeutrinoSettings::P_MSER_RELOAD_CHANNELS]);
|
||||||
}
|
}
|
||||||
|
|
||||||
//bouquet edit
|
//bouquet edit
|
||||||
if (g_settings.easymenu)
|
if (g_settings.easymenu)
|
||||||
mf = new CMenuForwarder(LOCALE_BOUQUETEDITOR_NAME , true, NULL, new CBEBouquetWidget(), NULL, CRCInput::RC_green, NEUTRINO_ICON_BUTTON_GREEN);
|
|
||||||
else
|
|
||||||
mf = new CMenuForwarder(LOCALE_BOUQUETEDITOR_NAME , true, NULL, new CBEBouquetWidget(), NULL, CRCInput::RC_yellow, NEUTRINO_ICON_BUTTON_YELLOW);
|
mf = new CMenuForwarder(LOCALE_BOUQUETEDITOR_NAME , true, NULL, new CBEBouquetWidget(), NULL, CRCInput::RC_yellow, NEUTRINO_ICON_BUTTON_YELLOW);
|
||||||
|
else
|
||||||
|
mf = new CMenuForwarder(LOCALE_BOUQUETEDITOR_NAME , true, NULL, new CBEBouquetWidget(), NULL, CRCInput::RC_blue, NEUTRINO_ICON_BUTTON_BLUE);
|
||||||
|
|
||||||
mf->setHint(NEUTRINO_ICON_HINT_BEDIT, LOCALE_MENU_HINT_BEDIT);
|
mf->setHint(NEUTRINO_ICON_HINT_BEDIT, LOCALE_MENU_HINT_BEDIT);
|
||||||
personalize.addItem(MENU_SERVICE, mf, &g_settings.personalize[SNeutrinoSettings::P_MSER_BOUQUET_EDIT]);
|
personalize.addItem(MENU_SERVICE, mf, &g_settings.personalize[SNeutrinoSettings::P_MSER_BOUQUET_EDIT]);
|
||||||
@@ -470,9 +478,9 @@ void CNeutrinoApp::InitMenuService()
|
|||||||
//channel reset
|
//channel reset
|
||||||
CDataResetNotifier *resetNotifier = new CDataResetNotifier();
|
CDataResetNotifier *resetNotifier = new CDataResetNotifier();
|
||||||
if (g_settings.easymenu)
|
if (g_settings.easymenu)
|
||||||
mf = new CMenuForwarder(LOCALE_RESET_CHANNELS , true, NULL, resetNotifier, "channels", CRCInput::RC_yellow, NEUTRINO_ICON_BUTTON_YELLOW);
|
|
||||||
else
|
|
||||||
mf = new CMenuForwarder(LOCALE_RESET_CHANNELS , true, NULL, resetNotifier, "channels", CRCInput::RC_blue, NEUTRINO_ICON_BUTTON_BLUE);
|
mf = new CMenuForwarder(LOCALE_RESET_CHANNELS , true, NULL, resetNotifier, "channels", CRCInput::RC_blue, NEUTRINO_ICON_BUTTON_BLUE);
|
||||||
|
else
|
||||||
|
mf = new CMenuForwarder(LOCALE_RESET_CHANNELS , true, NULL, resetNotifier, "channels");
|
||||||
|
|
||||||
mf->setHint(NEUTRINO_ICON_HINT_DELETE_CHANNELS, LOCALE_MENU_HINT_DELETE_CHANNELS);
|
mf->setHint(NEUTRINO_ICON_HINT_DELETE_CHANNELS, LOCALE_MENU_HINT_DELETE_CHANNELS);
|
||||||
personalize.addItem(MENU_SERVICE, mf, &g_settings.personalize[SNeutrinoSettings::P_MSER_RESET_CHANNELS]);
|
personalize.addItem(MENU_SERVICE, mf, &g_settings.personalize[SNeutrinoSettings::P_MSER_RESET_CHANNELS]);
|
||||||
@@ -512,9 +520,6 @@ void CNeutrinoApp::InitMenuService()
|
|||||||
}
|
}
|
||||||
|
|
||||||
//firmware update
|
//firmware update
|
||||||
if (g_settings.easymenu)
|
|
||||||
mf = new CMenuForwarder(LOCALE_SERVICEMENU_UPDATE, true, NULL, new CSoftwareUpdate(), NULL, CRCInput::RC_blue, NEUTRINO_ICON_BUTTON_BLUE);
|
|
||||||
else
|
|
||||||
mf = new CMenuForwarder(LOCALE_SERVICEMENU_UPDATE, true, NULL, new CSoftwareUpdate());
|
mf = new CMenuForwarder(LOCALE_SERVICEMENU_UPDATE, true, NULL, new CSoftwareUpdate());
|
||||||
mf->setHint(NEUTRINO_ICON_HINT_SW_UPDATE, LOCALE_MENU_HINT_SW_UPDATE);
|
mf->setHint(NEUTRINO_ICON_HINT_SW_UPDATE, LOCALE_MENU_HINT_SW_UPDATE);
|
||||||
personalize.addItem(MENU_SERVICE, mf, &g_settings.personalize[SNeutrinoSettings::P_MSER_SOFTUPDATE]);
|
personalize.addItem(MENU_SERVICE, mf, &g_settings.personalize[SNeutrinoSettings::P_MSER_SOFTUPDATE]);
|
||||||
|
@@ -72,6 +72,7 @@ const struct personalize_settings_t personalize_settings[SNeutrinoSettings::P_SE
|
|||||||
{"personalize_misc" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
|
{"personalize_misc" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
|
||||||
|
|
||||||
//main menu->service menu
|
//main menu->service menu
|
||||||
|
{"personalize_tuner" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
|
||||||
{"personalize_scants" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
|
{"personalize_scants" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
|
||||||
{"personalize_reload_channels" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
|
{"personalize_reload_channels" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
|
||||||
{"personalize_bouquet_edit" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
|
{"personalize_bouquet_edit" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
|
||||||
|
@@ -197,6 +197,7 @@ struct SNeutrinoSettings
|
|||||||
P_MSET_MISC,
|
P_MSET_MISC,
|
||||||
|
|
||||||
//service menu
|
//service menu
|
||||||
|
P_MSER_TUNER,
|
||||||
P_MSER_SCANTS,
|
P_MSER_SCANTS,
|
||||||
P_MSER_RELOAD_CHANNELS,
|
P_MSER_RELOAD_CHANNELS,
|
||||||
P_MSER_BOUQUET_EDIT,
|
P_MSER_BOUQUET_EDIT,
|
||||||
|
Reference in New Issue
Block a user