summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-01-17 15:38:11 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-01-17 15:38:11 +0100
commite4960d169e8f1184e571ab60df39e1ab2e584eb6 (patch)
tree1b1db050aef6f0da1cc4c91a0a678e46a9e16a95 /menu.c
parent004b82d3d44a2fdf455ec5f6f8f95dd7bc3ad659 (diff)
downloadvdr-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.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index a2a408d3..8526f36b 100644
--- a/menu.c
+++ b/menu.c
@@ -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;
}