diff options
author | louis <louis.braun@gmx.de> | 2013-03-16 11:49:27 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-03-16 11:49:27 +0100 |
commit | 79e8190e5e613590e0c8332f476f4ed5cc4b4342 (patch) | |
tree | 5cc0b079c37c9bd3d9a093f9b9bb22cd66230bba /displaymenu.c | |
parent | c9a59aca1a7669002aa24de714f4c332c9a46df9 (diff) | |
download | skin-nopacity-79e8190e5e613590e0c8332f476f4ed5cc4b4342.tar.gz skin-nopacity-79e8190e5e613590e0c8332f476f4ed5cc4b4342.tar.bz2 |
Title in VDR main menu configurable
Diffstat (limited to 'displaymenu.c')
-rw-r--r-- | displaymenu.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/displaymenu.c b/displaymenu.c index 2b840d6..9606162 100644 --- a/displaymenu.c +++ b/displaymenu.c @@ -279,7 +279,17 @@ void cNopacityDisplayMenu::SetTitle(const char *Title) { cString title = Title; switch (MenuCategory()) { case mcMain: - title = cString::sprintf("%s %s", Title, VDRVERSION); + switch (config.mainMenuTitleStyle) { + case 0: + title = cString::sprintf("%s %s", Title, VDRVERSION); + break; + case 1: + title = cString::sprintf("%s", VDRVERSION); + break; + case 2: + title = " "; + break; + } left += menuView->ShowHeaderLogo(true); break; case mcSchedule: |