summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-06-01 11:08:17 +0200
committerlouis <louis.braun@gmx.de>2013-06-01 11:08:17 +0200
commit10c1a1d8cec7772a2e8975bc8a7c580ecdd19955 (patch)
tree95a2a29abcc52bca8b2bc1a69cd74d6a3ebfcf26 /setup.c
parentdaac1abd7dc229f4f8ce8b727658fe18a191083a (diff)
downloadvdr-plugin-tvguide-10c1a1d8cec7772a2e8975bc8a7c580ecdd19955.tar.gz
vdr-plugin-tvguide-10c1a1d8cec7772a2e8975bc8a7c580ecdd19955.tar.bz2
Added setup option to switch functionality of keys Blue and OK
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/setup.c b/setup.c
index 497eea8..d789bca 100644
--- a/setup.c
+++ b/setup.c
@@ -62,6 +62,7 @@ void cTvguideSetup::Store(void) {
SetupStore("bigStepHours", tvguideConfig.bigStepHours);
SetupStore("hugeStepHours", tvguideConfig.hugeStepHours);
SetupStore("channelJumpMode", tvguideConfig.channelJumpMode);
+ SetupStore("blueKeyMode", tvguideConfig.blueKeyMode);
SetupStore("hideLastGroup", tvguideConfig.hideLastGroup);
SetupStore("hideChannelLogos", tvguideConfig.hideChannelLogos);
SetupStore("logoExtension", tvguideConfig.logoExtension);
@@ -135,6 +136,8 @@ cMenuSetupGeneral::cMenuSetupGeneral(cTvguideConfig* data) : cMenuSetupSubMenu(
timeFormatItems[1] = "24h";
jumpMode[0] = tr("x channels back / forward");
jumpMode[1] = tr("previous / next channel group");
+ blueMode[0] = tr("Blue: Channel Switch, Ok: Detailed EPG");
+ blueMode[1] = tr("Blue: Detailed EPG, Ok: Channel Switch");
useSubtitleRerunTexts[0] = tr("never");
useSubtitleRerunTexts[1] = tr("if exists");
useSubtitleRerunTexts[2] = tr("always");
@@ -151,6 +154,7 @@ void cMenuSetupGeneral::Set(void) {
Add(new cMenuEditBoolItem(tr("Rounded Corners"), &tmpTvguideConfig->roundedCorners));
Add(new cMenuEditStraItem(tr("Channel Jump Mode (Keys Green / Yellow)"), &tmpTvguideConfig->channelJumpMode, 2, jumpMode));
+ Add(new cMenuEditStraItem(tr("Keys Blue and OK"), &tmpTvguideConfig->blueKeyMode, 2, blueMode));
Add(new cMenuEditBoolItem(tr("Hide last Channel Group"), &tmpTvguideConfig->hideLastGroup));
Add(new cMenuEditIntItem(tr("Time to display in minutes"), &tmpTvguideConfig->displayTime, 120, 320));
Add(new cMenuEditIntItem(tr("Big Step (Keys 1 / 3) in hours"), &tmpTvguideConfig->bigStepHours, 1, 12));