summaryrefslogtreecommitdiff
path: root/setup.cpp
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2009-02-21 08:40:54 +0100
committerJochen Dolze <vdr@dolze.de>2009-02-21 08:40:54 +0100
commitf0fa794a024900051b3d5de17f89633b91a2096d (patch)
tree9c82aa5e68102667780ef048ccbfb495f627b351 /setup.cpp
parent05edfefbc24280500e807acaed33443ee6543cd7 (diff)
downloadvdr-plugin-infosatepg-f0fa794a024900051b3d5de17f89633b91a2096d.tar.gz
vdr-plugin-infosatepg-f0fa794a024900051b3d5de17f89633b91a2096d.tar.bz2
Added MainMenuEntry
Diffstat (limited to 'setup.cpp')
-rw-r--r--setup.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/setup.cpp b/setup.cpp
index f1e3d24..bf1f1b8 100644
--- a/setup.cpp
+++ b/setup.cpp
@@ -21,6 +21,7 @@ cMenuSetupInfosatepg::cMenuSetupInfosatepg (cGlobalInfosatepg *Global)
newEventTimeDiff= (int) (global->EventTimeDiff/60);
newNoWakeup=global->NoWakeup;
newNoDeferredShutdown=global->NoDeferredShutdown;
+ newHideMainMenu=global->HideMainMenu;
Add (NewTitle (tr ("Scan parameter")));
cString buffer = cString::sprintf("%s:\t%s",tr("Source"), "S19.2E"); // just for info
@@ -47,7 +48,7 @@ cMenuSetupInfosatepg::cMenuSetupInfosatepg (cGlobalInfosatepg *Global)
MIN_EVENTTIMEDIFF,MAX_EVENTTIMEDIFF));
Add (NewTitle (tr ("General options")));
-
+ Add (new cMenuEditBoolItem(tr("Hide main menu"),&newHideMainMenu));
Add (new cMenuEditBoolItem(tr("Prevent wakeup"),&newNoWakeup));
Add (new cMenuEditBoolItem(tr("Prevent deferred shutdown"),&newNoDeferredShutdown));
@@ -96,6 +97,7 @@ void cMenuSetupInfosatepg::Store (void)
SetupStore ("EventTimeDiff", newEventTimeDiff);
SetupStore ("NoWakeup",global->NoWakeup=newNoWakeup);
SetupStore ("NoDeferredShutdown",global->NoDeferredShutdown=newNoDeferredShutdown);
+ SetupStore ("HideMainMenu",global->HideMainMenu=newHideMainMenu);
global->EventTimeDiff = 60*newEventTimeDiff;