Give the right path to desktop files on the desktop
This commit is contained in:
parent
0a52c58449
commit
104afa3ed8
|
@ -3039,7 +3039,7 @@ static int _refresh_loop_files(Desktop * desktop)
|
||||||
if((len = strlen(de->d_name)) > sizeof(ext)
|
if((len = strlen(de->d_name)) > sizeof(ext)
|
||||||
&& strcmp(&de->d_name[len - sizeof(ext) + 1], ext) == 0)
|
&& strcmp(&de->d_name[len - sizeof(ext) + 1], ext) == 0)
|
||||||
desktopicon = desktopicon_new_application(desktop, p,
|
desktopicon = desktopicon_new_application(desktop, p,
|
||||||
desktop->refresh_dir);
|
desktop->path);
|
||||||
/* XXX not relative to the current folder */
|
/* XXX not relative to the current folder */
|
||||||
else if((q = g_filename_to_utf8(de->d_name, -1, NULL, NULL, &error))
|
else if((q = g_filename_to_utf8(de->d_name, -1, NULL, NULL, &error))
|
||||||
!= NULL)
|
!= NULL)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user