better backward compatibility
git-svn-id: http://tint2.googlecode.com/svn/trunk@608 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
parent
e32bfc3833
commit
4447b29760
1 changed files with 9 additions and 0 deletions
|
@ -560,6 +560,15 @@ void add_entry (char *key, char *value)
|
|||
|
||||
/* Systray */
|
||||
else if (strcmp (key, "systray_padding") == 0) {
|
||||
if (new_config_file == 0) {
|
||||
if (panel_items_order) {
|
||||
char* tmp = g_strconcat(panel_items_order, "S", NULL);
|
||||
g_free( panel_items_order );
|
||||
panel_items_order = tmp;
|
||||
}
|
||||
else
|
||||
panel_items_order = g_strdup("S");
|
||||
}
|
||||
extract_values(value, &value1, &value2, &value3);
|
||||
systray.area.paddingxlr = systray.area.paddingx = atoi (value1);
|
||||
if (value2) systray.area.paddingy = atoi (value2);
|
||||
|
|
Loading…
Reference in a new issue