summaryrefslogtreecommitdiff
path: root/src/nautilus-mime-actions.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-03-07 14:14:10 -0500
committerCosimo Cecchi <cosimoc@gnome.org>2012-03-07 14:15:47 -0500
commitb9c51fd4eb84a9f52ee4be1bf183fc516984130b (patch)
tree0e600ea18429ea1c4f58fd61831f111356d2f8db /src/nautilus-mime-actions.c
parent5a47a484e45218e83202c508b421b1a2707af270 (diff)
downloadnautilus-b9c51fd4eb84a9f52ee4be1bf183fc516984130b.tar.gz
view: show applications for non launcher desktop files
https://bugzilla.gnome.org/show_bug.cgi?id=319981
Diffstat (limited to 'src/nautilus-mime-actions.c')
-rw-r--r--src/nautilus-mime-actions.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nautilus-mime-actions.c b/src/nautilus-mime-actions.c
index 135862469..41f13478f 100644
--- a/src/nautilus-mime-actions.c
+++ b/src/nautilus-mime-actions.c
@@ -759,8 +759,7 @@ gboolean
nautilus_mime_file_opens_in_view (NautilusFile *file)
{
return (nautilus_file_is_directory (file) ||
- NAUTILUS_IS_DESKTOP_ICON_FILE (file) ||
- nautilus_file_is_nautilus_link (file));
+ NAUTILUS_IS_DESKTOP_ICON_FILE (file));
}
static ActivationAction
@@ -769,7 +768,7 @@ get_activation_action (NautilusFile *file)
ActivationAction action;
char *activation_uri;
- if (nautilus_file_is_launcher (file)) {
+ if (nautilus_file_is_nautilus_link (file)) {
return ACTIVATION_ACTION_LAUNCH_DESKTOP_FILE;
}