neutrino: disable some items in record mode (version 2)

Origin commit data
------------------
Commit: b02d2aa391
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-08-03 (Fri, 03 Aug 2018)

Origin message was:
------------------
- neutrino: disable some items in record mode (version 2)
This commit is contained in:
vanhofen
2018-08-03 22:34:58 +02:00
parent 9e7da0a837
commit d389c381f0
2 changed files with 2 additions and 2 deletions

View File

@@ -198,7 +198,7 @@ bool CUserMenu::showUserMenu(neutrino_msg_t msg)
bool _mode_webtv = (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webtv) && bool _mode_webtv = (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webtv) &&
(!CZapit::getInstance()->GetCurrentChannel()->getScriptName().empty()); (!CZapit::getInstance()->GetCurrentChannel()->getScriptName().empty());
int rec_mode = (CRecordManager::getInstance()->GetRecordMode() & CRecordManager::RECMODE_REC); int rec_mode = (CRecordManager::getInstance()->GetRecordMode() & CRecordManager::RECMODE_REC_TSHIFT);
bool timeshift = CMoviePlayerGui::getInstance().timeshift; bool timeshift = CMoviePlayerGui::getInstance().timeshift;
bool adzap_active = CAdZapMenu::getInstance()->isActive(); bool adzap_active = CAdZapMenu::getInstance()->isActive();

View File

@@ -439,7 +439,7 @@ void CNeutrinoApp::InitMenuService()
mf = new CMenuForwarder(LOCALE_CAMD_CONTROL, true, NULL, new CCamdControlMenu(), NULL); mf = new CMenuForwarder(LOCALE_CAMD_CONTROL, true, NULL, new CCamdControlMenu(), NULL);
mf->setHint(NEUTRINO_ICON_HINT_IMAGELOGO, LOCALE_MENU_HINT_CAMD_CONTROL); mf->setHint(NEUTRINO_ICON_HINT_IMAGELOGO, LOCALE_MENU_HINT_CAMD_CONTROL);
personalize.addItem(MENU_SERVICE, mf, &g_settings.personalize[SNeutrinoSettings::P_MSER_CAMD_CONTROL]); personalize.addItem(MENU_SERVICE, mf, &g_settings.personalize[SNeutrinoSettings::P_MSER_CAMD_CONTROL], false, CPersonalizeGui::PERSONALIZE_SHOW_AS_ITEM_OPTION, NULL, DCOND_MODE_REC | DCOND_MODE_TS);
personalize.addSeparator(MENU_SERVICE); personalize.addSeparator(MENU_SERVICE);
//restart neutrino //restart neutrino