]> Dogcows Code - chaz/tint2/commitdiff
better backward compatibility (2)
authorThierry Lorthiois <lorthiois@bbsoft.fr>
Tue, 30 Nov 2010 20:28:23 +0000 (20:28 +0000)
committerThierry Lorthiois <lorthiois@bbsoft.fr>
Tue, 30 Nov 2010 20:28:23 +0000 (20:28 +0000)
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.019714 seconds and 4 git commands to generate.