better backward compatibility git-svn-id: http://tint2.googlecode.com/svn/trunk@608 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
1 files changed,
9 insertions(+),
0 deletions(-)
jump to
M
src/config.c
→
src/config.c
@@ -560,6 +560,15 @@ }
/* 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);