From daac1abd7dc229f4f8ce8b727658fe18a191083a Mon Sep 17 00:00:00 2001 From: louis Date: Sat, 1 Jun 2013 10:44:14 +0200 Subject: [PATCH] directly jump number of channel columns / rows with green / yellow --- HISTORY | 6 ++++++ config.c | 4 ++-- po/de_DE.po | 5 +---- setup.c | 4 ---- 4 files changed, 9 insertions(+), 10 deletions(-) diff --git a/HISTORY b/HISTORY index bdb3ebc..701ba15 100644 --- a/HISTORY +++ b/HISTORY @@ -23,8 +23,12 @@ VDR Plugin 'tvguide' Revision History 2013-05-24: Version 0.0.4 - Introduced horizontal display + +2013-06-01: Version 0.0.5 + - Added Theme DarkRed - Fixed some Bugs (position of video, deadlock) +- Added Theme IceBlue - setup of usage of blending now done with clrDoBlending theme color variable and not by setup - font color of active grid themable @@ -34,3 +38,5 @@ VDR Plugin 'tvguide' Revision History group - Added setup option to hide last channel group - Display of Main Menu Entry configurable +- Eliminated setup option "Number of channels to jump", directly jump + number of channel columns / rows with green / yellow diff --git a/config.c b/config.c index e44e353..9b032cb 100644 --- a/config.c +++ b/config.c @@ -45,7 +45,7 @@ cTvguideConfig::cTvguideConfig() { bigStepHours = 3; hugeStepHours = 24; channelJumpMode = eNumJump; - jumpChannels = 10; + jumpChannels = 0; hideLastGroup = 0; hideChannelLogos = 0; logoWidthRatio = 13; @@ -157,6 +157,7 @@ void cTvguideConfig::SetGeometry(int width, int height) { } numGrids = (displayMode == eVertical)?channelCols:channelRows; + jumpChannels = numGrids; } void cTvguideConfig::SetFonts(void){ @@ -253,7 +254,6 @@ bool cTvguideConfig::SetupParse(const char *Name, const char *Value) { else if (strcmp(Name, "bigStepHours") == 0) bigStepHours = atoi(Value); else if (strcmp(Name, "hugeStepHours") == 0) hugeStepHours = atoi(Value); else if (strcmp(Name, "channelJumpMode") == 0) channelJumpMode = atoi(Value); - else if (strcmp(Name, "jumpChannels") == 0) jumpChannels = atoi(Value); else if (strcmp(Name, "hideLastGroup") == 0) hideLastGroup = atoi(Value); else if (strcmp(Name, "hideEpgImages") == 0) hideEpgImages = atoi(Value); else if (strcmp(Name, "epgImageWidth") == 0) epgImageWidth = atoi(Value); diff --git a/po/de_DE.po b/po/de_DE.po index f6dd305..08111c9 100755 --- a/po/de_DE.po +++ b/po/de_DE.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: vdr-tvguide 0.0.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-05-31 14:01+0200\n" +"POT-Creation-Date: 2013-06-01 10:39+0200\n" "PO-Revision-Date: 2012-08-25 17:49+0200\n" "Last-Translator: Horst\n" "Language-Team: \n" @@ -69,9 +69,6 @@ msgstr "Abgerundete Ecken" msgid "Channel Jump Mode (Keys Green / Yellow)" msgstr "Kanalsprung Modus (Tasten grün / gelb)" -msgid "Channels to Jump" -msgstr "Anzahl der Kanäle" - msgid "Hide last Channel Group" msgstr "Letzte Kanalgruppe verstecken" diff --git a/setup.c b/setup.c index 66f1e66..497eea8 100644 --- a/setup.c +++ b/setup.c @@ -62,7 +62,6 @@ void cTvguideSetup::Store(void) { SetupStore("bigStepHours", tvguideConfig.bigStepHours); SetupStore("hugeStepHours", tvguideConfig.hugeStepHours); SetupStore("channelJumpMode", tvguideConfig.channelJumpMode); - SetupStore("jumpChannels", tvguideConfig.jumpChannels); SetupStore("hideLastGroup", tvguideConfig.hideLastGroup); SetupStore("hideChannelLogos", tvguideConfig.hideChannelLogos); SetupStore("logoExtension", tvguideConfig.logoExtension); @@ -152,9 +151,6 @@ 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)); - if (tmpTvguideConfig->channelJumpMode == eNumJump) { - Add(new cMenuEditIntItem(cString::sprintf("%s%s", indent, tr("Channels to Jump")), &tmpTvguideConfig->jumpChannels, 2, 30)); - } 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));