Added alpha, saturation, brightness control for launcher icons (Issue 365).

git-svn-id: http://tint2.googlecode.com/svn/trunk@641 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
google@craigoakes.com
2011-10-11 23:50:18 +00:00
parent 9c90f80ff1
commit 6542370297
3 changed files with 20 additions and 0 deletions

View File

@@ -588,6 +588,12 @@ void add_entry (char *key, char *value)
if (!icon_theme_name)
icon_theme_name = strdup(value);
}
else if (strcmp(key, "launcher_icon_asb") == 0) {
extract_values(value, &value1, &value2, &value3);
launcher_alpha = atoi(value1);
launcher_saturation = atoi(value2);
launcher_brightness = atoi(value3);
}
/* Tooltip */
else if (strcmp (key, "tooltip_show_timeout") == 0) {