mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-09 22:58:28 +02:00
Merge branch 'ni/tuxbox' into ni/mp/tuxbox
Conflicts:
src/gui/videosettings.cpp
src/neutrino_menue.cpp
Origin commit data
------------------
Commit: 163a6004fa
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-13 (Wed, 13 Sep 2017)
This commit is contained in:
@@ -191,40 +191,29 @@ int CSettingsManager::showMenu()
|
||||
mset->addIntroItems(LOCALE_MAINSETTINGS_MANAGE);
|
||||
|
||||
CMenuForwarder * mf;
|
||||
if (g_settings.easymenu)
|
||||
mf = new CMenuForwarder(LOCALE_RESET_SETTINGS, true, NULL, resetNotifier, "settings", CRCInput::RC_red);
|
||||
else
|
||||
mf = new CMenuForwarder(LOCALE_RESET_SETTINGS, true, NULL, resetNotifier, "settings", CRCInput::RC_recall);
|
||||
mf = new CMenuForwarder(LOCALE_RESET_SETTINGS, true, NULL, resetNotifier, "settings", CRCInput::RC_recall);
|
||||
|
||||
mf->setHint(NEUTRINO_ICON_HINT_RESET, LOCALE_MENU_HINT_RESET); // FIXME: RC-button RECALL is broken
|
||||
mset->addItem(mf);
|
||||
|
||||
if (!g_settings.easymenu) {
|
||||
mset->addItem(GenericMenuSeparatorLine);
|
||||
mset->addItem(GenericMenuSeparatorLine);
|
||||
|
||||
mf = new CMenuForwarder(LOCALE_EXTRA_SAVECONFIG, true, NULL, this, "saveconfig", CRCInput::RC_red);
|
||||
mf->setHint(NEUTRINO_ICON_HINT_SAVEAS, LOCALE_MENU_HINT_SAVEAS);
|
||||
mset->addItem(mf);
|
||||
mf = new CMenuForwarder(LOCALE_EXTRA_SAVECONFIG, true, NULL, this, "saveconfig", CRCInput::RC_red);
|
||||
mf->setHint(NEUTRINO_ICON_HINT_SAVEAS, LOCALE_MENU_HINT_SAVEAS);
|
||||
mset->addItem(mf);
|
||||
|
||||
mf = new CMenuForwarder(LOCALE_EXTRA_LOADCONFIG, true, NULL, this, "loadconfig", CRCInput::RC_green);
|
||||
mf->setHint(NEUTRINO_ICON_HINT_LOAD, LOCALE_MENU_HINT_LOAD);
|
||||
mset->addItem(mf);
|
||||
mf = new CMenuForwarder(LOCALE_EXTRA_LOADCONFIG, true, NULL, this, "loadconfig", CRCInput::RC_green);
|
||||
mf->setHint(NEUTRINO_ICON_HINT_LOAD, LOCALE_MENU_HINT_LOAD);
|
||||
mset->addItem(mf);
|
||||
|
||||
mset->addItem(GenericMenuSeparatorLine);
|
||||
}
|
||||
mset->addItem(GenericMenuSeparatorLine);
|
||||
|
||||
if (g_settings.easymenu)
|
||||
mf = new CMenuForwarder(LOCALE_SETTINGS_BACKUP, true, NULL, this, "backup", CRCInput::RC_green);
|
||||
else
|
||||
mf = new CMenuForwarder(LOCALE_SETTINGS_BACKUP, true, NULL, this, "backup", CRCInput::RC_yellow);
|
||||
mf = new CMenuForwarder(LOCALE_SETTINGS_BACKUP, true, NULL, this, "backup", CRCInput::RC_yellow);
|
||||
|
||||
mf->setHint(NEUTRINO_ICON_HINT_BACKUP, LOCALE_MENU_HINT_BACKUP);
|
||||
mset->addItem(mf);
|
||||
|
||||
if (g_settings.easymenu)
|
||||
mf = new CMenuForwarder(LOCALE_SETTINGS_RESTORE, true, NULL, this, "restore", CRCInput::RC_yellow);
|
||||
else
|
||||
mf = new CMenuForwarder(LOCALE_SETTINGS_RESTORE, true, NULL, this, "restore", CRCInput::RC_blue);
|
||||
mf = new CMenuForwarder(LOCALE_SETTINGS_RESTORE, true, NULL, this, "restore", CRCInput::RC_blue);
|
||||
|
||||
mf->setHint(NEUTRINO_ICON_HINT_RESTORE, LOCALE_MENU_HINT_RESTORE);
|
||||
mset->addItem(mf);
|
||||
@@ -236,12 +225,8 @@ int CSettingsManager::showMenu()
|
||||
mf->setHint("", LOCALE_CROSSTEAM_HINT_SETTINGS_TEAMS);
|
||||
mset->addItem(mf);
|
||||
|
||||
if (g_settings.easymenu) {
|
||||
mf = new CMenuForwarder(LOCALE_RESET_ALL, true, NULL, resetNotifier, "all", CRCInput::RC_blue);
|
||||
} else {
|
||||
mset->addItem(GenericMenuSeparatorLine);
|
||||
mf = new CMenuForwarder(LOCALE_RESET_ALL, true, NULL, resetNotifier, "all", CRCInput::RC_standby);
|
||||
}
|
||||
mset->addItem(GenericMenuSeparatorLine);
|
||||
mf = new CMenuForwarder(LOCALE_RESET_ALL, true, NULL, resetNotifier, "all", CRCInput::RC_standby);
|
||||
mf->setHint(NEUTRINO_ICON_HINT_FACTORY, LOCALE_MENU_HINT_FACTORY);
|
||||
mset->addItem(mf);
|
||||
|
||||
|
Reference in New Issue
Block a user