]> Dogcows Code - chaz/tint2/blobdiff - src/config.c
fixed resize_clock() and snapshot
[chaz/tint2] / src / config.c
index 150face8b7f172eac0b7536f94dc4c951419a445..9e74f1751d94bb9d9f0642c0a5089b517e6a2c99 100644 (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);
This page took 0.023039 seconds and 4 git commands to generate.