]> Dogcows Code - chaz/tint2/commitdiff
fixed taskbar background
authorThierry Lorthiois <lorthiois@bbsoft.fr>
Fri, 26 Nov 2010 21:30:45 +0000 (21:30 +0000)
committerThierry Lorthiois <lorthiois@bbsoft.fr>
Fri, 26 Nov 2010 21:30:45 +0000 (21:30 +0000)
src/config.c

index 73732af5ca13e0de4d2543d497ba428b4840ef7d..bebab0332127844c467e89e215d003213ab0ade9 100644 (file)
@@ -461,7 +461,7 @@ void add_entry (char *key, char *value)
        else if (strcmp (key, "taskbar_active_background_id") == 0) {
                int id = atoi (value);
                id = (id < backgrounds->len && id >= 0) ? id : 0;
-               panel_config.g_taskbar.background_name[TASKBAR_ACTIVE] = &g_array_index(backgrounds, Background, id);
+               panel_config.g_taskbar.background[TASKBAR_ACTIVE] = &g_array_index(backgrounds, Background, id);
        }
        else if (strcmp (key, "taskbar_name") == 0) {
                taskbarname_enabled = atoi (value);
This page took 0.021394 seconds and 4 git commands to generate.