summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nautilus-files-view-dnd.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/nautilus-files-view-dnd.c b/src/nautilus-files-view-dnd.c
index d5b4c21c8..485a7661f 100644
--- a/src/nautilus-files-view-dnd.c
+++ b/src/nautilus-files-view-dnd.c
@@ -86,11 +86,7 @@ nautilus_files_view_handle_netscape_url_drop (NautilusFilesView *view,
f = g_file_new_for_uri (url);
- /* We don't support GDK_ACTION_ASK or GDK_ACTION_PRIVATE
- * and we don't support combinations either. */
- if ((action != GDK_ACTION_DEFAULT) &&
- (action != GDK_ACTION_COPY) &&
- (action != GDK_ACTION_MOVE))
+ if ((action != GDK_ACTION_COPY) && (action != GDK_ACTION_MOVE))
{
show_dialog (_("Drag and drop is not supported."),
_("An invalid drag type was used."),
@@ -147,10 +143,7 @@ nautilus_files_view_handle_uri_list_drop (NautilusFilesView *view,
}
}
- /* We don't support GDK_ACTION_ASK or GDK_ACTION_PRIVATE
- * and we don't support combinations either. */
- if ((action != GDK_ACTION_DEFAULT) &&
- (action != GDK_ACTION_COPY) &&
+ if ((action != GDK_ACTION_COPY) &&
(action != GDK_ACTION_MOVE) &&
(action != GDK_ACTION_LINK))
{