Expand ~ in launcher_item_app

git-svn-id: http://tint2.googlecode.com/svn/trunk@726 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
o9000
2015-03-01 10:33:05 +00:00
committed by mrovi9000@gmail.com
parent 0d1b78d808
commit ba40b0752f
5 changed files with 57 additions and 6 deletions

View File

@@ -603,7 +603,7 @@ void add_entry (char *key, char *value)
launcher_max_icon_size = atoi(value);
}
else if (strcmp(key, "launcher_item_app") == 0) {
char *app = strdup(value);
char *app = expand_tilde(value);
panel_config.launcher.list_apps = g_slist_append(panel_config.launcher.list_apps, app);
}
else if (strcmp(key, "launcher_icon_theme") == 0) {