backward compatibility with tint-0.6 config, feature freeze

git-svn-id: http://tint2.googlecode.com/svn/trunk@33 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
lorthiois@bbsoft.fr
2009-02-08 23:17:36 +00:00
parent 7393ceaf20
commit b73b15d4be
8 changed files with 209 additions and 143 deletions

View File

@@ -106,8 +106,8 @@ void remove_task (Task *tsk)
Taskbar *tskbar;
for (i=0 ; i < nb_panel ; i++) {
for (j=0 ; j < panel1[i].nb_desktop ; j++) {
//if (tsk->desktop != ALLDESKTOP && tsk->desktop != j) continue;
if (!panel1[i].taskbar) continue;
if (tsk->desktop != ALLDESKTOP && tsk->desktop != j) continue;
//if (!panel1[i].taskbar) continue;
GSList *l0;
tskbar = &panel1[i].taskbar[j];