diff --git a/src/gui/user_menue.cpp b/src/gui/user_menue.cpp index d4a56490e..1770f758b 100644 --- a/src/gui/user_menue.cpp +++ b/src/gui/user_menue.cpp @@ -291,6 +291,15 @@ bool CUserMenu::showUserMenu(neutrino_msg_t msg) // FIXME menu_item->setHint("", NONEXISTANT_LOCALE); break; } + case SNeutrinoSettings::ITEM_TIMESHIFT: + { + if (g_settings.recording_type == RECORDING_OFF) + break; + keyhelper.get(&key,&icon,CRCInput::RC_red); + menu_item = new CMenuForwarder(LOCALE_RECORDINGMENU_TIMESHIFT, true, NULL, CRecordManager::getInstance(), "Timeshift", key, icon); + // FIXME menu_item->setHint("", NONEXISTANT_LOCALE); + break; + } case SNeutrinoSettings::ITEM_MOVIEPLAYER_MB: { if (g_settings.recording_type == RECORDING_OFF) diff --git a/src/gui/user_menue_setup.cpp b/src/gui/user_menue_setup.cpp index 0ebb45539..d631d8b73 100644 --- a/src/gui/user_menue_setup.cpp +++ b/src/gui/user_menue_setup.cpp @@ -107,6 +107,7 @@ static keyvals usermenu_items[] = { SNeutrinoSettings::ITEM_ADZAP, LOCALE_USERMENU_ITEM_ADZAP, usermenu_show }, { SNeutrinoSettings::ITEM_TESTMENU, LOCALE_TESTMENU, usermenu_show }, //NI { SNeutrinoSettings::ITEM_FILEPLAY_AUDIO, LOCALE_MOVIEPLAYER_FILEPLAYBACK_AUDIO, usermenu_show }, + { SNeutrinoSettings::ITEM_TIMESHIFT, LOCALE_RECORDINGMENU_TIMESHIFT, usermenu_show }, { SNeutrinoSettings::ITEM_MAX, NONEXISTANT_LOCALE, usermenu_show } }; diff --git a/src/system/settings.h b/src/system/settings.h index 14d4b1197..4bed73894 100644 --- a/src/system/settings.h +++ b/src/system/settings.h @@ -934,6 +934,7 @@ struct SNeutrinoSettings ITEM_ADZAP = 36, ITEM_TESTMENU = 37, //NI ITEM_FILEPLAY_AUDIO = 38, + ITEM_TIMESHIFT = 39, ITEM_MAX // MUST be always the last in the list } USER_ITEM;