Give the right path to desktop files on the desktop

This commit is contained in:
Pierre Pronchery 2018-05-25 14:57:41 +02:00
parent 0a52c58449
commit 104afa3ed8

View File

@ -3039,7 +3039,7 @@ static int _refresh_loop_files(Desktop * desktop)
if((len = strlen(de->d_name)) > sizeof(ext)
&& strcmp(&de->d_name[len - sizeof(ext) + 1], ext) == 0)
desktopicon = desktopicon_new_application(desktop, p,
desktop->refresh_dir);
desktop->path);
/* XXX not relative to the current folder */
else if((q = g_filename_to_utf8(de->d_name, -1, NULL, NULL, &error))
!= NULL)