From 31706e6b3c5e505cd4e3015f7880f5ba434e5382 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Thu, 12 May 2005 09:18:28 +0000 Subject: Fixes the bug 269416 It makes the DnD to move tasks instead copying. 2005-05-12 Srinivasa Ragavan * gui/task-component.c (selector_tree_drag_motion): Fixes the bug 269416 It makes the DnD to move tasks instead copying. svn path=/trunk/; revision=29331 --- calendar/gui/tasks-component.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'calendar/gui') diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c index 74ef16bd61..112e7b607d 100644 --- a/calendar/gui/tasks-component.c +++ b/calendar/gui/tasks-component.c @@ -641,6 +641,8 @@ selector_tree_drag_motion (GtkWidget *widget, gtk_tree_view_set_drag_dest_row(GTK_TREE_VIEW (widget), path, GTK_TREE_VIEW_DROP_INTO_OR_BEFORE); action = context->suggested_action; + if (action == GDK_ACTION_COPY && (context->actions & GDK_ACTION_MOVE)) + action=GDK_ACTION_MOVE; finish: if (path) -- cgit v1.2.3