summaryrefslogtreecommitdiff
path: root/libnautilus-private
diff options
context:
space:
mode:
authorMartin Wehner <martin.wehner@gmail.com>2006-03-05 22:32:59 +0000
committerMartin Wehner <mwehner@src.gnome.org>2006-03-05 22:32:59 +0000
commit68ebb0b8d305e13282e7171a40026dd85add5cf3 (patch)
tree55cb9b724c0c422339dc326a33e7838ca9e395c6 /libnautilus-private
parent0f79204b042b6c7eaf3c17a531dc95166f7b0500 (diff)
downloadnautilus-68ebb0b8d305e13282e7171a40026dd85add5cf3.tar.gz
Don't request the mime list for activation, context menu and the view as
2006-03-05 Martin Wehner <martin.wehner@gmail.com> * libnautilus-private/nautilus-mime-actions.c: (nautilus_mime_actions_get_full_file_attributes): Don't request the mime list for activation, context menu and the view as menu anymore. It was once used for determining a specialized component for directories, but we don't support that anymore. Nowadays it just delays these operations and can cause auth dialogs when opening the popup menu.
Diffstat (limited to 'libnautilus-private')
-rw-r--r--libnautilus-private/nautilus-mime-actions.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libnautilus-private/nautilus-mime-actions.c b/libnautilus-private/nautilus-mime-actions.c
index 16a570310..7a2f91c2a 100644
--- a/libnautilus-private/nautilus-mime-actions.c
+++ b/libnautilus-private/nautilus-mime-actions.c
@@ -100,8 +100,7 @@ nautilus_mime_actions_check_if_open_with_attributes_ready (NautilusFile *file)
NautilusFileAttributes
nautilus_mime_actions_get_full_file_attributes (void)
{
- return nautilus_mime_actions_get_minimum_file_attributes () |
- NAUTILUS_FILE_ATTRIBUTE_DIRECTORY_ITEM_MIME_TYPES;
+ return nautilus_mime_actions_get_minimum_file_attributes ();
}
GnomeVFSMimeApplication *