aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/tasks-component.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/tasks-component.c')
-rw-r--r--calendar/gui/tasks-component.c2
1 files changed, 2 insertions, 0 deletions
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)