Hello. There is a bug in gnome-vfs when it does not work in the case when there is the 'Path=' entry in .desktop file. Not to repeat everything that was already said there, just pasting URL here: http://bugzilla.gnome.org/show_bug.cgi?id=389273 Taking into account notes in bug updated patch attached here for comments. Hope this patch is correct. With best regards, Peter.
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 (!g_ascii_strcasecmp(app->priv->path,"")) {
+ 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) {
Attachment:
signature.asc
Description: This is a digitally signed message part