diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-01-17 15:38:11 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-01-17 15:38:11 +0100 |
commit | e4960d169e8f1184e571ab60df39e1ab2e584eb6 (patch) | |
tree | 1b1db050aef6f0da1cc4c91a0a678e46a9e16a95 /menu.c | |
parent | 004b82d3d44a2fdf455ec5f6f8f95dd7bc3ad659 (diff) | |
download | vdr-e4960d169e8f1184e571ab60df39e1ab2e584eb6.tar.gz vdr-e4960d169e8f1184e571ab60df39e1ab2e584eb6.tar.bz2 |
The "Red" button in the "Setup/EPG" menu can now be used to force an EPG scan on a single DVB card system
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 1.280 2004/01/11 21:37:17 kls Exp $ + * $Id: menu.c 1.281 2004/01/17 14:17:00 kls Exp $ */ #include "menu.h" @@ -16,6 +16,7 @@ #include "channels.h" #include "config.h" #include "cutter.h" +#include "eitscan.h" #include "i18n.h" #include "menuitems.h" #include "plugin.h" @@ -2044,6 +2045,7 @@ cMenuSetupEPG::cMenuSetupEPG(void) ; originalNumLanguages = numLanguages; SetSection(tr("EPG")); + SetHelp(tr("Scan")); Setup(); } @@ -2105,6 +2107,10 @@ eOSState cMenuSetupEPG::ProcessKey(eKeys Key) data.EPGLanguages[numLanguages] = -1; Setup(); } + if (Key == kRed) { + EITScanner.ForceScan(); + return osEnd; + } } return state; } |