summaryrefslogtreecommitdiff
blob: 1bda6cdc1d4d35c16bf3357d15c45b7fe843a821 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -Naur gnome-vfs-2.16.3.ori/libgnomevfs/gnome-vfs-mime-handlers.c gnome-vfs-2.16.3/libgnomevfs/gnome-vfs-mime-handlers.c
--- gnome-vfs-2.16.3.ori/libgnomevfs/gnome-vfs-mime-handlers.c	2006-11-20 10:44:13.000000000 +0300
+++ gnome-vfs-2.16.3/libgnomevfs/gnome-vfs-mime-handlers.c	2006-12-25 16:44:11.000000000 +0300
@@ -1423,6 +1423,12 @@
 	app->priv->path = g_key_file_get_string (key_file, DESKTOP_ENTRY_GROUP,
 						 "Path", NULL);
 
+	/* 'Path=' .desktop item is not working. bugzilla.gnome.org/389273 */
+	if (app->priv->path != NULL && *app->priv->path == 0) {
+		g_free (app->priv->path);
+		app->priv->path = NULL;
+	}
+
 	app->requires_terminal = g_key_file_get_boolean
 			(key_file, DESKTOP_ENTRY_GROUP, "Terminal", &err);
 	if (err) {