Implemented the option "Setup/OSD/Menu button closes"

This commit is contained in:
Klaus Schmidinger
2006-01-13 15:45:02 +01:00
parent ff88f3bfed
commit 317b15f5a0
7 changed files with 46 additions and 7 deletions

3
menu.c
View File

@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: menu.c 1.391 2006/01/13 14:56:00 kls Exp $
* $Id: menu.c 1.392 2006/01/13 15:17:53 kls Exp $
*/
#include "menu.h"
@@ -2007,6 +2007,7 @@ void cMenuSetupOSD::Set(void)
Add(new cMenuEditBoolItem(tr("Setup.OSD$Timeout requested channel info"), &data.TimeoutRequChInfo));
Add(new cMenuEditBoolItem(tr("Setup.OSD$Scroll pages"), &data.MenuScrollPage));
Add(new cMenuEditBoolItem(tr("Setup.OSD$Scroll wraps"), &data.MenuScrollWrap));
Add(new cMenuEditBoolItem(tr("Setup.OSD$Menu button closes"), &data.MenuButtonCloses));
Add(new cMenuEditBoolItem(tr("Setup.OSD$Sort timers"), &data.SortTimers));
Add(new cMenuEditBoolItem(tr("Setup.OSD$Recording directories"), &data.RecordingDirs));
SetCurrent(Get(current));