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

@@ -1851,6 +1851,10 @@ void create_launcher(GtkWidget *parent)
fprintf(stderr, "Loading .desktop files\n"); fflush(stderr);
load_desktop_files("/usr/share/applications");
gchar *path = g_build_filename(g_get_home_dir(), ".local/share/applications", NULL);
load_desktop_files(path);
g_free(path);
load_icons(launcher_apps);
load_icons(all_apps);
fprintf(stderr, "Desktop files loaded\n"); fflush(stderr);