aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-calendar-table.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2003-04-25 09:57:55 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-04-25 09:57:55 +0800
commit90dc62f9e598a84a4300f06c329c288b5171e159 (patch)
tree68b221e9882bf02db332804f00ecbe340e2c481c /calendar/gui/e-calendar-table.c
parent8f4d9f83b2d7a561840c39d3abefb4cec2b9b87e (diff)
downloadgsoc2013-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-calendar-table.c')
-rw-r--r--calendar/gui/e-calendar-table.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/calendar/gui/e-calendar-table.c b/calendar/gui/e-calendar-table.c
index 41d12685b8..b3ac35e045 100644
--- a/calendar/gui/e-calendar-table.c
+++ b/calendar/gui/e-calendar-table.c
@@ -48,6 +48,7 @@
#include "calendar-model.h"
#include "print.h"
#include "dialogs/delete-comp.h"
+#include "dialogs/delete-error.h"
#include "dialogs/task-editor.h"
/* Pixmaps. */
@@ -716,13 +717,10 @@ delete_selected_components (ECalendarTable *cal_table)
for (l = uids; l; l = l->next) {
const char *uid;
-
+
uid = l->data;
- /* We don't check the return value; FALSE can mean the object
- * was not in the server anyways.
- */
- cal_client_remove_object (client, uid);
+ delete_error_dialog (cal_client_remove_object (client, uid), CAL_COMPONENT_TODO);
}
calendar_model_set_status_message (e_calendar_table_get_model (cal_table), NULL);