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:
thilor77
2010-11-07 08:44:27 +00:00
parent c936265172
commit da27293d22
13 changed files with 998 additions and 42 deletions

View File

@@ -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 */