]> Dogcows Code - chaz/tint2/blobdiff - src/config.c
better backward compatibility (2)
[chaz/tint2] / src / config.c
index d75ba209a5c742a5ae0652603b659c2489026e5d..4b84e9412256220af65386c3a29fd3d589238f48 100644 (file)
@@ -560,7 +560,8 @@ void add_entry (char *key, char *value)
 
        /* Systray */
        else if (strcmp (key, "systray_padding") == 0) {
-               if (new_config_file == 0) {
+               if (new_config_file == 0 && systray_enabled == 0) {
+                       systray_enabled = 1;
                        if (panel_items_order) {
                                char* tmp = g_strconcat(panel_items_order, "S", NULL);
                                g_free( panel_items_order );
This page took 0.016795 seconds and 4 git commands to generate.