panel_items : backward compatibility with 0.11 config file
git-svn-id: http://tint2.googlecode.com/svn/trunk@552 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user