summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-04-28 10:40:16 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2012-04-28 10:40:16 +0200
commit299f1f312c3a7ffdda9ff798fab6b73fd53842ec (patch)
treec5ea9d4d6b8fbad3ea951d902aa433638cdd23d6
parent2cd697d14655742325275e3317016f64f3126e12 (diff)
downloadvdr-299f1f312c3a7ffdda9ff798fab6b73fd53842ec.tar.gz
vdr-299f1f312c3a7ffdda9ff798fab6b73fd53842ec.tar.bz2
Fixed handling menu categories for plugin menus
-rw-r--r--skins.c4
-rw-r--r--skins.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/skins.c b/skins.c
index 4ec23835..b2ca83ad 100644
--- a/skins.c
+++ b/skins.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: skins.c 2.6 2012/04/08 11:38:57 kls Exp $
+ * $Id: skins.c 2.7 2012/04/28 10:40:16 kls Exp $
*/
#include "skins.h"
@@ -67,7 +67,7 @@ cSkinDisplay::~cSkinDisplay()
cSkinDisplayMenu::cSkinDisplayMenu(void)
{
- menuCategory = mcUnknown;
+ menuCategory = mcUndefined;
SetTabs(0);
}
diff --git a/skins.h b/skins.h
index b31b7dc4..a99d780f 100644
--- a/skins.h
+++ b/skins.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: skins.h 2.3 2012/04/08 11:24:59 kls Exp $
+ * $Id: skins.h 2.4 2012/04/28 10:39:54 kls Exp $
*/
#ifndef __SKINS_H
@@ -72,7 +72,7 @@ public:
*/
};
-enum eMenuCategory { mcUnknown = 0, mcMain, mcSchedule, mcChannel, mcTimer, mcRecording, mcPlugin, mcSetup, mcCommand, mcEvent, mcText, mcFolder, mcCam };
+enum eMenuCategory { mcUndefined = -1, mcUnknown = 0, mcMain, mcSchedule, mcChannel, mcTimer, mcRecording, mcPlugin, mcSetup, mcCommand, mcEvent, mcText, mcFolder, mcCam };
class cSkinDisplayMenu : public cSkinDisplay {
///< This class implements the general purpose menu display, which is