aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2005-05-12 17:18:28 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2005-05-12 17:18:28 +0800
commit31706e6b3c5e505cd4e3015f7880f5ba434e5382 (patch)
treec4f9116a00f8527d7609eb6e769cd25f1f9a246b
parent9f32896c1ed7619fe050416f90a532a506ad1044 (diff)
downloadgsoc2013-evolution-31706e6b3c5e505cd4e3015f7880f5ba434e5382.tar
gsoc2013-evolution-31706e6b3c5e505cd4e3015f7880f5ba434e5382.tar.gz
gsoc2013-evolution-31706e6b3c5e505cd4e3015f7880f5ba434e5382.tar.bz2
gsoc2013-evolution-31706e6b3c5e505cd4e3015f7880f5ba434e5382.tar.lz
gsoc2013-evolution-31706e6b3c5e505cd4e3015f7880f5ba434e5382.tar.xz
gsoc2013-evolution-31706e6b3c5e505cd4e3015f7880f5ba434e5382.tar.zst
gsoc2013-evolution-31706e6b3c5e505cd4e3015f7880f5ba434e5382.zip
Fixes the bug 269416 It makes the DnD to move tasks instead copying.
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. svn path=/trunk/; revision=29331
-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)