forked from mirrors/nixpkgs
38c529f57a
glib tries to look up `gio-launch-desktop` in the path which obviously can fail. Specifically this now happens when launching gnome-shell.
12 lines
406 B
Diff
12 lines
406 B
Diff
--- a/gio/gdesktopappinfo.c
|
|
+++ b/gio/gdesktopappinfo.c
|
|
@@ -2725,7 +2725,7 @@ g_desktop_app_info_launch_uris_with_spawn (GDesktopAppInfo *info,
|
|
|
|
/* Fall back on usual searching in $PATH */
|
|
if (tmp == NULL)
|
|
- tmp = "gio-launch-desktop";
|
|
+ tmp = "@bindir@/gio-launch-desktop";
|
|
g_once_init_leave (&gio_launch_desktop_path, tmp);
|
|
}
|
|
|