fixed resize_clock() and snapshot

git-svn-id: http://tint2.googlecode.com/svn/trunk@405 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
thilor77
2010-03-27 16:51:12 +00:00
parent a26a3e4635
commit 8afbb566a2
2 changed files with 5 additions and 4 deletions

View File

@@ -527,12 +527,13 @@ void add_entry (char *key, char *value)
}
/* Systray */
else if (strcmp (key, "systray") == 0) {
// systray disabled in snapshot mode
else if (strcmp (key, "systray") == 0 && snapshot_path == 0) {
systray_enabled = atoi(value);
// systray is latest option added. files without 'systray' are old.
old_config_file = 0;
}
else if (strcmp (key, "systray_padding") == 0) {
else if (strcmp (key, "systray_padding") == 0 && snapshot_path == 0) {
if (old_config_file)
systray_enabled = 1;
extract_values(value, &value1, &value2, &value3);