Commit 6a589b29 authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson
Browse files

Default to move when dragging from trash.

2008-02-04  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-dnd.c ()
	(nautilus_drag_default_drop_action_for_icons):
	Default to move when dragging from trash.


svn path=/trunk/; revision=13692
parent a0637a7d
2008-02-04 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-dnd.c ()
(nautilus_drag_default_drop_action_for_icons):
Default to move when dragging from trash.
2008-02-04 Alexander Larsson <alexl@redhat.com>
* src/file-manager/fm-properties-window.c (create_permissions_page):
......
......@@ -427,7 +427,8 @@ nautilus_drag_default_drop_action_for_icons (GdkDragContext *context,
same_fs = check_same_fs (target, dropped);
target_is_source_parent = g_file_contains_file (target, dropped);
if (same_fs || target_is_source_parent) {
if (same_fs || target_is_source_parent ||
g_file_has_uri_scheme (dropped, "trash")) {
if (actions & GDK_ACTION_MOVE) {
*action = GDK_ACTION_MOVE;
} else {
......
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