aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/comp-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/dialogs/comp-editor.c')
-rw-r--r--calendar/gui/dialogs/comp-editor.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index 372614b9f2..bcb104fe85 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -299,7 +299,11 @@ save_comp (CompEditor *editor)
priv->updating = TRUE;
if (!cal_client_update_object (priv->client, priv->comp)) {
- g_message ("save_comp (): Could not update the object!");
+ GtkWidget *dlg;
+
+ dlg = gnome_error_dialog (_("Could not update object!"));
+ gnome_dialog_run_and_close (GNOME_DIALOG (dlg));
+
return FALSE;
} else {
priv->changed = FALSE;