[nautilus] Don't show open with for folders



commit 7b9212cef4858f2a3f9158679c128be4bed65732
Author: William Jon McCann <jmccann redhat com>
Date:   Mon Jul 2 12:04:04 2012 -0400

    Don't show open with for folders
    
    The only thing that handles this by default is nautilus. The
    same effect is better done through select all in a folder.

 src/nautilus-view.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/nautilus-view.c b/src/nautilus-view.c
index 7acda78..3044c2c 100644
--- a/src/nautilus-view.c
+++ b/src/nautilus-view.c
@@ -4575,9 +4575,8 @@ reset_open_with_menu (NautilusView *view, GList *selection)
 
 		file = NAUTILUS_FILE (node->data);
 
-		other_applications_visible &= ((!nautilus_mime_file_opens_in_view (file) &&
-						!nautilus_file_is_nautilus_link (file)) ||
-					       nautilus_file_is_directory (file));
+		other_applications_visible &= (!nautilus_mime_file_opens_in_view (file) &&
+					       !nautilus_file_is_nautilus_link (file));
 	}
 
 	default_app = NULL;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]