summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-04-15 11:18:36 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-04-15 11:18:36 +0200
commit4ba450b7372709507a8602ae5c80b47ef39b6d38 (patch)
tree325667a6b015156e4e25c5f14bf6b02959bff064 /menu.c
parent3d8a9c965366f35ceeadcceb9744ef0fc8f26455 (diff)
downloadvdr-4ba450b7372709507a8602ae5c80b47ef39b6d38.tar.gz
vdr-4ba450b7372709507a8602ae5c80b47ef39b6d38.tar.bz2
Implemented cPlugin::Active()
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index bb72d9fa..56eb0685 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.429 2006/04/14 14:28:34 kls Exp $
+ * $Id: menu.c 1.430 2006/04/15 10:30:52 kls Exp $
*/
#include "menu.h"
@@ -2696,7 +2696,9 @@ void cMenuSetup::Set(void)
eOSState cMenuSetup::Restart(void)
{
- if (Interface->Confirm(cRecordControls::Active() ? tr("Recording - restart anyway?") : tr("Really restart?"))) {
+ if (Interface->Confirm(tr("Really restart?"))
+ && (!cRecordControls::Active() || Interface->Confirm(tr("Recording - restart anyway?")))
+ && !cPluginManager::Active(tr("Really restart?"))) {
cThread::EmergencyExit(true);
return osEnd;
}