summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-02-25 12:09:22 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-02-25 12:09:22 +0100
commitbc2e59909fed6772360effd9d11ccae65af26a02 (patch)
tree84ccf0ff770152e4b15b4e0051c567537be801b8 /menu.c
parent6b747233362eccf5e6f9609e852f7f1cb42c49b1 (diff)
downloadvdr-bc2e59909fed6772360effd9d11ccae65af26a02.tar.gz
vdr-bc2e59909fed6772360effd9d11ccae65af26a02.tar.bz2
The 'summary' field of a timer definition has been renamed to 'aux'
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c17
1 files changed, 3 insertions, 14 deletions
diff --git a/menu.c b/menu.c
index bef2431d..c791db25 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.416 2006/02/25 10:27:03 kls Exp $
+ * $Id: menu.c 1.417 2006/02/25 12:09:22 kls Exp $
*/
#include "menu.h"
@@ -776,7 +776,6 @@ private:
eOSState Delete(void);
eOSState OnOff(void);
virtual void Move(int From, int To);
- eOSState Summary(void);
cTimer *CurrentTimer(void);
public:
cMenuTimers(void);
@@ -870,16 +869,6 @@ void cMenuTimers::Move(int From, int To)
isyslog("timer %d moved to %d", From + 1, To + 1);
}
-eOSState cMenuTimers::Summary(void)
-{
- if (HasSubMenu() || Count() == 0)
- return osContinue;
- cTimer *ti = CurrentTimer();
- if (ti && !isempty(ti->Summary()))
- return AddSubMenu(new cMenuText(tr("Summary"), ti->Summary()));
- return Edit(); // convenience for people not using the Summary feature ;-)
-}
-
eOSState cMenuTimers::ProcessKey(eKeys Key)
{
int TimerNumber = HasSubMenu() ? Count() : -1;
@@ -887,8 +876,8 @@ eOSState cMenuTimers::ProcessKey(eKeys Key)
if (state == osUnknown) {
switch (Key) {
- case kOk: return Summary();
- case kRed: return Edit();
+ case kOk: return Edit();
+ case kRed: return Edit();//XXX
case kGreen: return New();
case kYellow: return Delete();
case kBlue: if (Setup.SortTimers)