summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-03-16 16:48:14 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-03-16 16:48:14 +0100
commitae3f18dd572dc0de2ec2077c644fdcf12fade034 (patch)
tree906d1955ea6b3d46658ecf7ff623e8398f03415c
parent986f4679936cb0afe7afe3be58bfe5584ed378de (diff)
downloadvdr-ae3f18dd572dc0de2ec2077c644fdcf12fade034.tar.gz
vdr-ae3f18dd572dc0de2ec2077c644fdcf12fade034.tar.bz2
The 'Commands' menu now automatically assigns number keys as hotkeys to the commands
-rw-r--r--FORMATS10
-rw-r--r--HISTORY3
-rw-r--r--menu.c4
3 files changed, 8 insertions, 9 deletions
diff --git a/FORMATS b/FORMATS
index eaeec376..63ae7e1d 100644
--- a/FORMATS
+++ b/FORMATS
@@ -134,13 +134,9 @@ Video Disk Recorder File Formats
Examples:
- 1 Check for new mail: /usr/local/bin/checkmail 2>&1
- 2 CPU status : /usr/local/bin/cpustatus 2>&1
- 3 Disk space : df -h | grep '/video' | awk '{ print 100 - $5 "% free"; }'
-
- If the first non-blank character of the 'title' is a digit in the range
- 1..9, the command can be selected directly by pressing the respective numerical
- key on the remote control.
+ Check for new mail: /usr/local/bin/checkmail 2>&1
+ CPU status : /usr/local/bin/cpustatus 2>&1
+ Disk space : df -h | grep '/video' | awk '{ print 100 - $5 "% free"; }'
* svdrphosts.conf
diff --git a/HISTORY b/HISTORY
index 1855a852..e987a995 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1111,3 +1111,6 @@ Video Disk Recorder Revision History
is not available by default on some Linux distributions, whereas 'killall' is.
Please check if your system provides 'killall' - if it doesn't, please change
this back in 'runvdr' and report this (thanks to Achim Lange).
+- The "Commands" menu now automatically assigns number keys as hotkeys to the
+ commands. If you have preceeded your commands with digits you may want to
+ remove these from your 'commands.conf' file.
diff --git a/menu.c b/menu.c
index a6d51dc8..01ba8bb5 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.168 2002/03/16 14:03:38 kls Exp $
+ * $Id: menu.c 1.169 2002/03/16 16:44:15 kls Exp $
*/
#include "menu.h"
@@ -2210,7 +2210,7 @@ cMenuCommands::cMenuCommands(void)
cCommand *command;
while ((command = Commands.Get(i)) != NULL) {
- Add(new cOsdItem(command->Title()));
+ Add(new cOsdItem(hk(command->Title())));
i++;
}
}