summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <kls (at) cadsoft (dot) de>2003-09-07 18:00:00 +0200
committerKlaus Schmidinger <kls (at) cadsoft (dot) de>2003-09-07 18:00:00 +0200
commitbff4529f013605e0456fa12e4c0468ffafaa4289 (patch)
tree8c3be8b6a8eba2dee8517ee467b5b8ccb32330d9 /menu.c
parente4b016980bb7c2f0bb369f64b2ac411500865b32 (diff)
downloadvdr-patch-lnbsharing-bff4529f013605e0456fa12e4c0468ffafaa4289.tar.gz
vdr-patch-lnbsharing-bff4529f013605e0456fa12e4c0468ffafaa4289.tar.bz2
Version 1.2.5pre2vdr-1.2.5pre2
- Updated VIVA, VIVA Plus, MTV Central and MTV 2 in channels.conf (thanks to Sebastian Frei). - Changed "Studio Universal" to "Sci-Fi" in channels.conf. - Fixed a crash when using the --terminal option without having access to the given terminal (thanks to Steffen Barszus for helping to debug this one). - Added a note about the driver version needed for the still picture fix from version 1.2.5pre1 to work properly (thanks to Oliver Endriss for pointing this out). - Fixed setting the primary device in case none of the devices provides an MPEG decoder (thanks to Rene Bartsch for reporting this one). - Fixed handling the "Red" button in the "Schedules" menu in case there are no events listed for a particular channel (thanks to Christoph Hermanns for reporting this one). - When setting an editing mark while in "Pause" mode, replay now immediately jumps to the marked frame (thanks to Oskar Signell for pointing out this problem). - The DVB devices no longer send CA descriptors to the CAM while the EPG scanner is active (sometimes the CAMs got irritated when the device tuned to channels they couldn't handle).
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/menu.c b/menu.c
index 9cfd7c8..54c0790 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.269 2003/08/24 14:28:44 kls Exp $
+ * $Id: menu.c 1.271 2003/09/06 10:26:45 kls Exp $
*/
#include "menu.h"
@@ -1250,7 +1250,7 @@ cMenuWhatsOn::cMenuWhatsOn(const cSchedules *Schedules, bool Now, int CurrentCha
currentChannel = CurrentChannelNr;
free(pArray);
- SetHelp(tr("Record"), Now ? tr("Next") : tr("Now"), tr("Button$Schedule"), tr("Switch"));
+ SetHelp(Count() ? tr("Record") : NULL, Now ? tr("Next") : tr("Now"), tr("Button$Schedule"), tr("Switch"));
}
const cEventInfo *cMenuWhatsOn::ScheduleEventInfo(void)
@@ -1358,7 +1358,7 @@ cMenuSchedule::cMenuSchedule(void)
cMenuWhatsOn::SetCurrentChannel(channel->Number());
schedules = cSIProcessor::Schedules(mutexLock);
PrepareSchedule(channel);
- SetHelp(tr("Record"), tr("Now"), tr("Next"));
+ SetHelp(Count() ? tr("Record") : NULL, tr("Now"), tr("Next"));
}
}
@@ -1470,7 +1470,7 @@ eOSState cMenuSchedule::ProcessKey(eKeys Key)
PrepareSchedule(channel);
if (channel->Number() != cDevice::CurrentChannel()) {
otherChannel = channel->Number();
- SetHelp(tr("Record"), tr("Now"), tr("Next"), tr("Switch"));
+ SetHelp(Count() ? tr("Record") : NULL, tr("Now"), tr("Next"), tr("Switch"));
}
Display();
}
@@ -3531,6 +3531,10 @@ void cReplayControl::MarkToggle(void)
else {
marks.Add(Current);
ShowTimed(2);
+ bool Play, Forward;
+ int Speed;
+ if (GetReplayMode(Play, Forward, Speed) && !Play)
+ Goto(Current, true);
}
marks.Save();
}
@@ -3659,7 +3663,6 @@ eOSState cReplayControl::ProcessKey(eKeys Key)
DoShowMode = false;
switch (Key) {
// Editing:
- //XXX should we do this only when the ProgressDisplay is on???
case kMarkToggle: MarkToggle(); break;
case kMarkJumpBack: MarkJump(false); break;
case kMarkJumpForward: MarkJump(true); break;