*add* systray icons can also be adjusted, like task icons
git-svn-id: http://tint2.googlecode.com/svn/trunk@314 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -89,6 +89,7 @@ void init_config()
|
||||
memset(&panel_config, 0, sizeof(Panel));
|
||||
panel_config.g_task.alpha = 100;
|
||||
panel_config.g_task.alpha_active = 100;
|
||||
systray.alpha = 100;
|
||||
systray.sort = 3;
|
||||
old_config_file = 1;
|
||||
|
||||
@@ -545,6 +546,12 @@ void add_entry (char *key, char *value)
|
||||
else if (strcmp(key, "systray_icon_size") == 0) {
|
||||
systray_max_icon_size = atoi(value);
|
||||
}
|
||||
else if (strcmp(key, "systray_icon_asb") == 0) {
|
||||
extract_values(value, &value1, &value2, &value3);
|
||||
systray.alpha = atoi(value1);
|
||||
systray.saturation = atoi(value2);
|
||||
systray.brightness = atoi(value3);
|
||||
}
|
||||
|
||||
/* Tooltip */
|
||||
else if (strcmp (key, "tooltip") == 0)
|
||||
|
||||
Reference in New Issue
Block a user