]> Dogcows Code - chaz/tint2/blobdiff - src/panel.c
panel_items : backward compatibility with 0.11 config file
[chaz/tint2] / src / panel.c
index 9754de79ee22b9585ed9eff799c2f8e21dec2b29..23bfa6363d456a5c23b7495f1f054bfa80f05a42 100644 (file)
@@ -80,7 +80,7 @@ void default_panel()
        task_dragged = 0;
        panel_horizontal = 1;
        panel_position = CENTER;
-       panel_items_order = strdup("LTBSC");  // Default order : Launcher, Taskbar, Battery, Systray, Clock
+       panel_items_order = 0;
        panel_autohide = 0;
        panel_autohide_show_timeout = 0;
        panel_autohide_hide_timeout = 0;
@@ -461,7 +461,7 @@ void set_panel_items(Panel *p)
                g_slist_free(p->area.list);
                p->area.list = 0;
        }
-
+       printf("panel_items_order %s\n", panel_items_order);
        for (k=0 ; k < strlen(panel_items_order) ; k++) {
                if (panel_items_order[k] == 'L') {
                        init_launcher_panel(p);
This page took 0.017139 seconds and 4 git commands to generate.