aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog4
-rw-r--r--calendar/gui/tasks-component.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index ea711e6e01..96407ed309 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,7 @@
+2005-05-12 Srinivasa Ragavan <sragavan@novell.com>
+ * gui/task-component.c (selector_tree_drag_motion): Fixes the bug 269416
+ It makes the DnD to move tasks instead copying.
+
2005-05-09 Rodrigo Moya <rodrigo@novell.com>
Fixes #301350
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)