diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2013-03-04 14:11:47 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2013-03-04 14:11:47 +0100 |
commit | db8cf38b5b39a611ca35bebb8d657167a4573b20 (patch) | |
tree | 00851db76e2c2d26b18d206aa7ff74aa78350251 /config.c | |
parent | f3eb300bb017c18c15cc0d08752edf0fba3a96c5 (diff) | |
download | vdr-db8cf38b5b39a611ca35bebb8d657167a4573b20.tar.gz vdr-db8cf38b5b39a611ca35bebb8d657167a4573b20.tar.bz2 |
Implemented the setup option "OSD/Always sort folders first"
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.c 2.35 2013/02/14 15:14:37 kls Exp $ + * $Id: config.c 2.36 2013/03/04 13:30:12 kls Exp $ */ #include "config.h" @@ -420,6 +420,7 @@ cSetup::cSetup(void) VpsMargin = 120; RecordingDirs = 1; FoldersInTimerMenu = 1; + AlwaysSortFoldersFirst = 1; NumberKeysForChars = 1; ColorKey0 = 0; ColorKey1 = 1; @@ -624,6 +625,7 @@ bool cSetup::Parse(const char *Name, const char *Value) else if (!strcasecmp(Name, "VpsMargin")) VpsMargin = atoi(Value); else if (!strcasecmp(Name, "RecordingDirs")) RecordingDirs = atoi(Value); else if (!strcasecmp(Name, "FoldersInTimerMenu")) FoldersInTimerMenu = atoi(Value); + else if (!strcasecmp(Name, "AlwaysSortFoldersFirst")) AlwaysSortFoldersFirst = atoi(Value); else if (!strcasecmp(Name, "NumberKeysForChars")) NumberKeysForChars = atoi(Value); else if (!strcasecmp(Name, "ColorKey0")) ColorKey0 = atoi(Value); else if (!strcasecmp(Name, "ColorKey1")) ColorKey1 = atoi(Value); @@ -732,6 +734,7 @@ bool cSetup::Save(void) Store("VpsMargin", VpsMargin); Store("RecordingDirs", RecordingDirs); Store("FoldersInTimerMenu", FoldersInTimerMenu); + Store("AlwaysSortFoldersFirst", AlwaysSortFoldersFirst); Store("NumberKeysForChars", NumberKeysForChars); Store("ColorKey0", ColorKey0); Store("ColorKey1", ColorKey1); |