better backward compatibility
git-svn-id: http://tint2.googlecode.com/svn/trunk@608 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -560,6 +560,15 @@ void add_entry (char *key, char *value)
|
|||||||
|
|
||||||
/* Systray */
|
/* Systray */
|
||||||
else if (strcmp (key, "systray_padding") == 0) {
|
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);
|
extract_values(value, &value1, &value2, &value3);
|
||||||
systray.area.paddingxlr = systray.area.paddingx = atoi (value1);
|
systray.area.paddingxlr = systray.area.paddingx = atoi (value1);
|
||||||
if (value2) systray.area.paddingy = atoi (value2);
|
if (value2) systray.area.paddingy = atoi (value2);
|
||||||
|
|||||||
Reference in New Issue
Block a user