[nautilus] Set the correct action on dnd for uri lists



commit 2402bf820f65d4e89ea69f26154d7835087e7538
Author: William Jon McCann <jmccann redhat com>
Date:   Fri Aug 24 17:15:23 2012 -0400

    Set the correct action on dnd for uri lists
    
    https://bugzilla.gnome.org/show_bug.cgi?id=625559

 libnautilus-private/nautilus-tree-view-drag-dest.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libnautilus-private/nautilus-tree-view-drag-dest.c b/libnautilus-private/nautilus-tree-view-drag-dest.c
index f412301..8f123c7 100644
--- a/libnautilus-private/nautilus-tree-view-drag-dest.c
+++ b/libnautilus-private/nautilus-tree-view-drag-dest.c
@@ -610,7 +610,7 @@ receive_uris (NautilusTreeViewDragDest *dest,
 
 	/* We only want to copy external uris */
 	if (dest->details->drag_type == NAUTILUS_ICON_DND_URI_LIST) {
-		action = GDK_ACTION_COPY;
+		real_action = GDK_ACTION_COPY;
 	}
 
 	if (real_action > 0) {



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