From c9a5d8ea5328e4a8bcb0c3423b825c02cb0c3b27 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 7 Apr 2002 18:00:00 +0200 Subject: Version 1.0.0 - Fixed a problem with wrong EPG data in the Schedules menu (thanks to Tobias Kerner, problem was initially reported by Michel Moster, but somehow I had misplaced his message...). - Added Spanish language texts (thanks to Ruben Nunez Francisco). - Fixed resetting the "First day" timer parameter once the timer actually starts recording. - Fixed the still picture workaround in case the progress display is active (thanks to Gerald Raaf). - Fixed a problem with accessing the epg.data file before it is fully written (thanks to Thilo Wunderlich for reporting this one). - Now the EPG scan skips channels that have their 'Ca' parameter explicitly set to an other DVB card (suggested by Sergei Haller). - Fixed a possible hangup when reading a broken epg.data file (thanks to Henning Holtschneider for pointing this one out). - Fixed a bug in the editing process in case a previously edited file with the same name was manually deleted on a system with more than one video directory (thanks to Dirk Wiebel for reporting this one). --- menu.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'menu.c') diff --git a/menu.c b/menu.c index 03dbcea..bc3aeb6 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.180 2002/03/31 21:17:42 kls Exp $ + * $Id: menu.c 1.182 2002/04/06 09:41:59 kls Exp $ */ #include "menu.h" @@ -694,7 +694,7 @@ public: }; cMenuEditChannel::cMenuEditChannel(int Index) -:cOsdMenu(tr("Edit Channel"), 14) +:cOsdMenu(tr("Edit channel"), 14) { channel = Channels.Get(Index); if (channel) { @@ -1070,7 +1070,7 @@ public: }; cMenuEditTimer::cMenuEditTimer(int Index, bool New) -:cOsdMenu(tr("Edit Timer"), 12) +:cOsdMenu(tr("Edit timer"), 12) { firstday = NULL; timer = Timers.Get(Index); @@ -1539,6 +1539,7 @@ private: void PrepareSchedule(cChannel *Channel); public: cMenuSchedule(void); + virtual ~cMenuSchedule(); virtual eOSState ProcessKey(eKeys Key); }; @@ -1556,6 +1557,11 @@ cMenuSchedule::cMenuSchedule(void) } } +cMenuSchedule::~cMenuSchedule() +{ + cMenuWhatsOn::ScheduleEventInfo(); // makes sure any posted data is cleared +} + static int CompareEventTime(const void *p1, const void *p2) { return (int)((*(cEventInfo **)p1)->GetTime() - (*(cEventInfo **)p2)->GetTime()); -- cgit v1.2.3