From 6263b0fb128fbe099d965ad2fa32bb3f891e70e4 Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Tue, 9 Aug 2005 21:46:34 +0000 Subject: Missed to commit this file. svn path=/trunk/; revision=30055 --- calendar/gui/e-tasks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'calendar/gui/e-tasks.c') diff --git a/calendar/gui/e-tasks.c b/calendar/gui/e-tasks.c index a0f81a0dbd..ec633b6cc4 100644 --- a/calendar/gui/e-tasks.c +++ b/calendar/gui/e-tasks.c @@ -460,7 +460,6 @@ table_drag_data_delete (ETable *table, ECalModelComponent *comp_data; ECalModel *model; gboolean read_only = TRUE; - priv = tasks->priv; model = e_calendar_table_get_model (E_CALENDAR_TABLE (priv->tasks_view)); @@ -470,7 +469,8 @@ table_drag_data_delete (ETable *table, if (read_only) return; - e_cal_remove_object (comp_data->client, icalcomponent_get_uid (comp_data->icalcomp), NULL); + if(gdk_drag_drop_succeeded(context)) + e_cal_remove_object (comp_data->client, icalcomponent_get_uid (comp_data->icalcomp), NULL); } #define E_TASKS_TABLE_DEFAULT_STATE \ -- cgit v1.2.3