diff options
author | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2013-11-23 16:31:04 +0100 |
---|---|---|
committer | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2013-11-23 16:31:04 +0100 |
commit | 583bc1a9041687ad467e822a8c8f321e5446afcf (patch) | |
tree | e80bfc3505401df08ce7c676478a4ec22640d81b /config.c | |
parent | 21b80796e3f532f0bb9ef7573521f2f3913618bd (diff) | |
download | skin-flatplus-583bc1a9041687ad467e822a8c8f321e5446afcf.tar.gz skin-flatplus-583bc1a9041687ad467e822a8c8f321e5446afcf.tar.bz2 |
release version 0.1.0
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -173,8 +173,8 @@ bool cFlatConfig::SetupParse(const char *Name, const char *Value) { } void cFlatConfig::ThemeCheckAndInit(void) { - if( strcmp(Theme.Name(), *ThemeCurrent) != 0 ) - { + if( strcmp(Theme.Name(), *ThemeCurrent) != 0 ) { + dsyslog("skinflatplus: load theme: %s", *ThemeCurrent); ThemeCurrent = Theme.Name(); ThemeInit(); } @@ -390,12 +390,14 @@ void cFlatConfig::ThemeInit(void) { } void cFlatConfig::Init(void) { - if( !strcmp(logoPath, "") ) + if( !strcmp(logoPath, "") ) { logoPath = cString::sprintf("%s/logos/", PLUGINRESOURCEPATH); - //dsyslog("skinflat: logopath: %s", *logoPath); - if( !strcmp(iconPath, "") ) + dsyslog("skinflatplus: logoPath: %s", *logoPath); + } + if( !strcmp(iconPath, "") ) { iconPath = cString::sprintf("%s/icons/", PLUGINRESOURCEPATH); - //dsyslog("skinflat: iconPath: %s", *iconPath); + dsyslog("skinflatplus: iconPath: %s", *iconPath); + } ThemeInit(); DecorCheckAndInit(); @@ -461,6 +463,8 @@ void cFlatConfig::DecorLoadCurrent(void) { } void cFlatConfig::DecorLoadFile(cString File) { + dsyslog("skinflatplus: load decor file: %s", *File); + FILE *f = fopen(File, "r"); if( f ) { int line = 0; |