diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2005-08-10 05:46:34 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2005-08-10 05:46:34 +0800 |
commit | 6263b0fb128fbe099d965ad2fa32bb3f891e70e4 (patch) | |
tree | af7b111f8195021f1c86e3cb4eaa73d7bd5e4d3d /calendar | |
parent | e875bd691c9d0d57bb3e93907f54a2481b37c413 (diff) | |
download | gsoc2013-evolution-6263b0fb128fbe099d965ad2fa32bb3f891e70e4.tar gsoc2013-evolution-6263b0fb128fbe099d965ad2fa32bb3f891e70e4.tar.gz gsoc2013-evolution-6263b0fb128fbe099d965ad2fa32bb3f891e70e4.tar.bz2 gsoc2013-evolution-6263b0fb128fbe099d965ad2fa32bb3f891e70e4.tar.lz gsoc2013-evolution-6263b0fb128fbe099d965ad2fa32bb3f891e70e4.tar.xz gsoc2013-evolution-6263b0fb128fbe099d965ad2fa32bb3f891e70e4.tar.zst gsoc2013-evolution-6263b0fb128fbe099d965ad2fa32bb3f891e70e4.zip |
Missed to commit this file.
svn path=/trunk/; revision=30055
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/gui/e-tasks.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 \ |