fixed issue 130 by maato

git-svn-id: http://tint2.googlecode.com/svn/trunk@165 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
lorthiois@bbsoft.fr
2009-08-29 22:09:29 +00:00
parent f3260b67c5
commit c8d09ed731
4 changed files with 36 additions and 1 deletions

View File

@@ -84,6 +84,7 @@ void init_config()
list_back = g_slist_append(0, calloc(1, sizeof(Area)));
panel_config = calloc(1, sizeof(Panel));
systray.sort = 1;
// window manager's menu default value == false
wm_menu = 0;
max_tick_urgent = 7;
@@ -557,6 +558,12 @@ void add_entry (char *key, char *value)
memcpy(&systray.area.pix.back, &a->pix.back, sizeof(Color));
memcpy(&systray.area.pix.border, &a->pix.border, sizeof(Border));
}
else if (strcmp(key, "systray_sort") == 0) {
if (strcmp(value, "desc") == 0)
systray.sort = -1;
else
systray.sort = 1;
}
/* Mouse actions */
else if (strcmp (key, "mouse_middle") == 0)