diff options
author | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2015-02-08 14:32:58 +0100 |
---|---|---|
committer | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2015-02-08 14:32:58 +0100 |
commit | 488fbd339aec71e7c085a634f0c615745e3ee419 (patch) | |
tree | 3e53db33ba02b6c4c7471ddd1f6a85b8be013b48 /setup.c | |
parent | df3e9f1854af5efe1b253dac54a73ff6043aa2c1 (diff) | |
download | skin-flatplus-488fbd339aec71e7c085a634f0c615745e3ee419.tar.gz skin-flatplus-488fbd339aec71e7c085a634f0c615745e3ee419.tar.bz2 |
[add] option to allways show date in schedule menu
Diffstat (limited to 'setup.c')
-rw-r--r-- | setup.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -320,6 +320,7 @@ void cFlatSetup::Store(void) { SetupStore("RecordingDimmOnPauseOpaque", Config.RecordingDimmOnPauseOpaque); SetupStore("MainMenuWidgetActiveTimerShowActive", Config.MainMenuWidgetActiveTimerShowActive); SetupStore("MainMenuWidgetActiveTimerShowRecording", Config.MainMenuWidgetActiveTimerShowRecording); + SetupStore("MenuEventViewAllwaysWithDate", Config.MenuEventViewAllwaysWithDate); Config.Init(); } @@ -505,6 +506,7 @@ bool cFlatSetupGeneral::SetupParse(const char *Name, const char *Value) { else if (strcmp(Name, "RecordingDimmOnPauseOpaque") == 0) SetupConfig->RecordingDimmOnPauseOpaque = atoi(Value); else if (strcmp(Name, "MainMenuWidgetActiveTimerShowActive") == 0) SetupConfig->MainMenuWidgetActiveTimerShowActive = atoi(Value); else if (strcmp(Name, "MainMenuWidgetActiveTimerShowRecording") == 0) SetupConfig->MainMenuWidgetActiveTimerShowRecording = atoi(Value); + else if (strcmp(Name, "MenuEventViewAllwaysWithDate") == 0) SetupConfig->MenuEventViewAllwaysWithDate = atoi(Value); else return false; return true; @@ -672,6 +674,7 @@ void cFlatSetupGeneral::SaveCurrentSettings(void) { Config.Store("RecordingDimmOnPauseOpaque", SetupConfig->RecordingDimmOnPauseOpaque, *Filename); Config.Store("MainMenuWidgetActiveTimerShowActive", SetupConfig->MainMenuWidgetActiveTimerShowActive, *Filename); Config.Store("MainMenuWidgetActiveTimerShowRecording", SetupConfig->MainMenuWidgetActiveTimerShowRecording, *Filename); + Config.Store("MenuEventViewAllwaysWithDate", SetupConfig->MenuEventViewAllwaysWithDate, *Filename); cString msg = cString::sprintf("%s %s", tr("saved settings in file:"), *File); Skins.Message(mtInfo, msg); @@ -951,6 +954,7 @@ void cFlatSetupMenu::Setup(void) { Add(new cMenuEditStraItem(tr("Menu channel view"), &SetupConfig->MenuChannelView, MenuChannelViews.Size(), &MenuChannelViews[0])); Add(new cMenuEditStraItem(tr("Menu timer view"), &SetupConfig->MenuTimerView, MenuTimerViews.Size(), &MenuTimerViews[0])); Add(new cMenuEditStraItem(tr("Menu event view"), &SetupConfig->MenuEventView, MenuEventViews.Size(), &MenuEventViews[0])); + Add(new cMenuEditBoolItem(tr("Menu event view allways with date"), &SetupConfig->MenuEventViewAllwaysWithDate)); Add(new cMenuEditStraItem(tr("Menu recording view"), &SetupConfig->MenuRecordingView, MenuRecordingViews.Size(), &MenuRecordingViews[0])); Add(new cMenuEditBoolItem(tr("Scrollbar by decor-file?"), &SetupConfig->decorScrollBarByTheme)); |