summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-mime-actions.c
diff options
context:
space:
mode:
authorJohn Sullivan <sullivan@src.gnome.org>2000-12-19 01:22:27 +0000
committerJohn Sullivan <sullivan@src.gnome.org>2000-12-19 01:22:27 +0000
commit0b2cf3f186628cff237e1a25bd4d9b87a68b4431 (patch)
treecf6b4084a01e9c62e905183378b31e6ad34efcea /libnautilus-private/nautilus-mime-actions.c
parent72dd8fb3c52b511be1fda5b79268cc438c427963 (diff)
downloadnautilus-0b2cf3f186628cff237e1a25bd4d9b87a68b4431.tar.gz
reviewed by: Rebecca Shulman <rebecka@eazel.com>
Fixed Nautilus half of bug 2109 (Images (and any other files) with "execute" bit set will try to be executed instead of viewed when activated). This change requires a recent GNOME-VFS change to compile. * src/file-manager/fm-directory-view.c: (file_is_launchable): Test for launchability now includes asking GNOME_VFS whether this mime type is conceivably executable. * libnautilus-extensions/nautilus-mime-actions.c: (nautilus_mime_get_short_list_methods_for_file): Changed "vfs-method" to "vfs_method" to match change in GNOME-VFS.
Diffstat (limited to 'libnautilus-private/nautilus-mime-actions.c')
-rw-r--r--libnautilus-private/nautilus-mime-actions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnautilus-private/nautilus-mime-actions.c b/libnautilus-private/nautilus-mime-actions.c
index fcd995550..4d13109fb 100644
--- a/libnautilus-private/nautilus-mime-actions.c
+++ b/libnautilus-private/nautilus-mime-actions.c
@@ -636,7 +636,7 @@ nautilus_mime_get_short_list_methods_for_file (NautilusFile *file)
NULL);
mime_type = nautilus_file_get_mime_type (file);
- method = gnome_vfs_mime_get_value (mime_type, "vfs-method");
+ method = gnome_vfs_mime_get_value (mime_type, "vfs_method");
g_free (mime_type);
return g_strdup (method);
}