Taskbar: add option to redistribute size in multi-desktop mode (useful especially when the taskbar is getting full on one desktop)
git-svn-id: http://tint2.googlecode.com/svn/trunk@673 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
committed by
mrovi9000@gmail.com
parent
88e0e4fed8
commit
4e76c2bb5d
@@ -413,6 +413,9 @@ void add_entry (char *key, char *value)
|
||||
if (strcmp (value, "multi_desktop") == 0) panel_mode = MULTI_DESKTOP;
|
||||
else panel_mode = SINGLE_DESKTOP;
|
||||
}
|
||||
else if (strcmp (key, "taskbar_distribute_size") == 0) {
|
||||
taskbar_distribute_size = atoi(value);
|
||||
}
|
||||
else if (strcmp (key, "taskbar_padding") == 0) {
|
||||
extract_values(value, &value1, &value2, &value3);
|
||||
panel_config.g_taskbar.area.paddingxlr = panel_config.g_taskbar.area.paddingx = atoi (value1);
|
||||
|
||||
Reference in New Issue
Block a user