all repos — tint2 @ fc046c2468ac7fe40165152c0a88a6340320212d

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

*fix* issue 316

git-svn-id: http://tint2.googlecode.com/svn/trunk@618 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
Andreas.Fink85 Andreas.Fink85@121b4492-b84c-0410-8b4c-0d4edfb3f3cc
commit

fc046c2468ac7fe40165152c0a88a6340320212d

parent

8201742546b830ff045d1866d89c08303e87e758

2 files changed, 5 insertions(+), 3 deletions(-)

jump to
M src/config.csrc/config.c

@@ -257,7 +257,7 @@ // systray disabled in snapshot mode

if (snapshot_path == 0) systray_enabled = 1; } - if (panel_items_order[j] == 'C') + if (panel_items_order[j] == 'C') clock_enabled = 1; } }
M src/panel.csrc/panel.c

@@ -182,8 +182,9 @@ #ifdef ENABLE_BATTERY

if (panel_items_order[k] == 'B') init_battery_panel(p); #endif - if (panel_items_order[k] == 'S') { + if (panel_items_order[k] == 'S' && i==0) { // TODO : check systray is only on 1 panel + // at the moment only on panel1[0] allowed init_systray_panel(p); refresh_systray = 1; }

@@ -397,8 +398,9 @@ #ifdef ENABLE_BATTERY

if (panel_items_order[k] == 'B') p->area.list = g_slist_append(p->area.list, &p->battery); #endif - if (panel_items_order[k] == 'S') { + if (panel_items_order[k] == 'S' && p == panel1) { // TODO : check systray is only on 1 panel + // at the moment only on panel1[0] allowed p->area.list = g_slist_append(p->area.list, &systray); } if (panel_items_order[k] == 'C')