diff options
author | Martin Prochnow <nordlicht@martins-kabuff.de> | 2006-03-13 13:43:16 +0100 |
---|---|---|
committer | Andreas Mair <andreas@vdr-developer.org> | 2006-03-13 13:43:16 +0100 |
commit | 69ab28fe3563ca25153a7bc5bfab003f6c23d9aa (patch) | |
tree | 7c0194a56f46a7bd06fd56437daffd1bff647dbe /extrecmenu.c | |
parent | 17f89bafd559b28b5a175aa82730226dfe9f7d69 (diff) | |
download | vdr-plugin-extrecmenu-69ab28fe3563ca25153a7bc5bfab003f6c23d9aa.tar.gz vdr-plugin-extrecmenu-69ab28fe3563ca25153a7bc5bfab003f6c23d9aa.tar.bz2 |
Version 0.4v0.4
- add option to hide main menu entry
- set tabs depending on the shown recordings details - looks more fancy and there is more space for the recording names
- fixed a possible memory leak
Diffstat (limited to 'extrecmenu.c')
-rw-r--r-- | extrecmenu.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/extrecmenu.c b/extrecmenu.c index dc94164..e5a6774 100644 --- a/extrecmenu.c +++ b/extrecmenu.c @@ -1,5 +1,7 @@ -#include "extrecmenu.h" #include "mymenusetup.h" +#include "mymenurecordings.h" +#include "extrecmenu.h" +#include "i18n.h" cPluginExtrecmenu::cPluginExtrecmenu(void) { @@ -70,7 +72,10 @@ bool cPluginExtrecmenu::SetupParse(const char *Name, const char *Value) if(!strcasecmp(Name,"ShowRecLength")) mysetup.ShowRecLength=atoi(Value); else - return false; + if(!strcasecmp(Name,"HideMainMenuEntry")) + mysetup.HideMainMenuEntry=atoi(Value); + else + return false; return true; } |