aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-calendar-table.c
diff options
context:
space:
mode:
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);