From e4960d169e8f1184e571ab60df39e1ab2e584eb6 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 17 Jan 2004 15:38:11 +0100 Subject: The "Red" button in the "Setup/EPG" menu can now be used to force an EPG scan on a single DVB card system --- menu.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'menu.c') 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; } -- cgit v1.2.3