all repos — tint2 @ d16dcae93e2d83e3add7a72892abd406902fff9a

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

Fixed theme lookup bug (was BFS instead of DFS)

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

d16dcae93e2d83e3add7a72892abd406902fff9a

parent

d4102b440dda23067ef6f34224f9c304a12b1c22

1 files changed, 3 insertions(+), 1 deletions(-)

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

@@ -711,6 +711,7 @@ if (theme != NULL) {

launcher->icon_themes = g_slist_append(launcher->icon_themes, theme); GSList* item = theme->list_inherits; + int pos = 0; while (item != NULL) { char *parent = item->data;

@@ -724,7 +725,8 @@ }

queued_item = g_slist_next(queued_item); } if (!duplicate) { - queue = g_slist_append(queue, strdup(parent)); + queue = g_slist_insert(queue, strdup(parent), pos); + pos++; queued = g_slist_append(queued, strdup(parent)); } item = g_slist_next(item);