aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/memos-component.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/memos-component.c')
-rw-r--r--calendar/gui/memos-component.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/gui/memos-component.c b/calendar/gui/memos-component.c
index 5eb8cc5c97..25a4bd4559 100644
--- a/calendar/gui/memos-component.c
+++ b/calendar/gui/memos-component.c
@@ -653,6 +653,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)