launcher : limit launcher_icon_theme to 1 theme. Add XSETTINGS client and read launcher_icon_theme if manager is running.
git-svn-id: http://tint2.googlecode.com/svn/trunk@588 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -589,8 +589,9 @@ void add_entry (char *key, char *value)
|
||||
panel_config.launcher.list_apps = g_slist_append(panel_config.launcher.list_apps, app);
|
||||
}
|
||||
else if (strcmp(key, "launcher_icon_theme") == 0) {
|
||||
char *app = strdup(value);
|
||||
panel_config.launcher.icon_theme_names = g_slist_append(panel_config.launcher.icon_theme_names, app);
|
||||
// if XSETTINGS manager running, tint2 use it.
|
||||
if (!icon_theme_name)
|
||||
icon_theme_name = strdup(value);
|
||||
}
|
||||
|
||||
/* Tooltip */
|
||||
|
||||
Reference in New Issue
Block a user