gvfs/gvfs-429959-handle-blank-schemas.patch
Magnus Boman 663108c81f Accepting request 33506 from home:dimstar:branches:GNOME:Factory
Copy from home:dimstar:branches:GNOME:Factory/gvfs via accept of submit request 33506 revision 3.
Request was accepted with message:

OBS-URL: https://build.opensuse.org/request/show/33506
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gvfs?expand=0&rev=69
2010-02-28 08:17:57 +00:00

15 lines
454 B
Diff

Index: gvfs-1.5.4/gconf/gapplookupgconf.c
===================================================================
--- gvfs-1.5.4.orig/gconf/gapplookupgconf.c
+++ gvfs-1.5.4/gconf/gapplookupgconf.c
@@ -107,6 +107,9 @@ get_default_for_uri_scheme (GDesktopAppI
appinfo = NULL;
+ if (uri_scheme == NULL || *uri_scheme == '\0')
+ uri_scheme = "unknown";
+
client = gconf_client_get_default ();
command_key = g_strconcat (GCONF_PATH_PREFIX,