diff options
author | JP Rosevear <jpr@ximian.com> | 2003-04-25 09:57:55 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2003-04-25 09:57:55 +0800 |
commit | 90dc62f9e598a84a4300f06c329c288b5171e159 (patch) | |
tree | 68b221e9882bf02db332804f00ecbe340e2c481c /calendar/gui/e-tasks.c | |
parent | 8f4d9f83b2d7a561840c39d3abefb4cec2b9b87e (diff) | |
download | gsoc2013-evolution-90dc62f9e598a84a4300f06c329c288b5171e159.tar.gz gsoc2013-evolution-90dc62f9e598a84a4300f06c329c288b5171e159.tar.zst gsoc2013-evolution-90dc62f9e598a84a4300f06c329c288b5171e159.zip |
Fixes #37552
2003-04-24 JP Rosevear <jpr@ximian.com>
Fixes #37552
* gui/dialogs/Makefile.am: build delete-error.[hc]
* gui/e-tasks.c: wrap calls to cal_client_remove_object with
delete_error_dialog
* gui/e-itip-control.c: ditto
* gui/e-calendar-table.c: ditto
* gui/e-week-view.c: ditto
* gui/e-day-view.c: ditto
* gui/dialogs/delete-error.[hc]: gemerate an error message based
on result
svn path=/trunk/; revision=20961
Diffstat (limited to 'calendar/gui/e-tasks.c')
-rw-r--r-- | calendar/gui/e-tasks.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/gui/e-tasks.c b/calendar/gui/e-tasks.c index cc247c2d85..38035400da 100644 --- a/calendar/gui/e-tasks.c +++ b/calendar/gui/e-tasks.c @@ -32,6 +32,7 @@ #include "e-util/e-url.h" #include "widgets/menus/gal-view-menus.h" +#include "dialogs/delete-error.h" #include "dialogs/task-editor.h" #include "cal-search-bar.h" #include "calendar-config.h" @@ -604,7 +605,7 @@ query_obj_updated_cb (CalQuery *query, const char *uid, tasks = E_TASKS (data); priv = tasks->priv; - cal_client_remove_object (priv->client, uid); + delete_error_dialog (cal_client_remove_object (priv->client, uid), CAL_COMPONENT_TODO); } /* Callback used when an evaluation error occurs when running a query */ |