Commit 35c782ae authored by Christian Neumair's avatar Christian Neumair Committed by Christian Neumair

Use correct target file for same filesystem check when dropping to

2008-08-13  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-dnd.c
	(nautilus_drag_default_drop_action_for_icons):
	Use correct target file for same filesystem check when dropping to
	desktop. Fixes #547282.

svn path=/trunk/; revision=14466
parent 80af2a77
2008-08-13 Christian Neumair <cneumair@gnome.org>
* libnautilus-private/nautilus-dnd.c
(nautilus_drag_default_drop_action_for_icons):
Use correct target file for same filesystem check when dropping to
desktop. Fixes #547282.
2008-08-11 A. Walton <awalton@gnome.org>
* libnautilus-private/nautilus-file-operations.c
......
......@@ -469,6 +469,10 @@ nautilus_drag_default_drop_action_for_icons (GdkDragContext *context,
return;
} else if (eel_uri_is_desktop (target_uri_string)) {
target = nautilus_get_desktop_location ();
nautilus_file_unref (target_file);
target_file = nautilus_file_get (target);
if (eel_uri_is_desktop (dropped_uri)) {
/* Only move to Desktop icons */
if (actions & GDK_ACTION_MOVE) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment