mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
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:
@@ -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();
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user