From 8f14d0c6c92f051a44c1e1e10878021429f523fe Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Thu, 25 Oct 2001 12:00:00 +0000 Subject: show an error message when we can't update the object on the calendar 2001-10-25 Rodrigo Moya * gui/dialogs/comp-editor.c (save_comp): show an error message when we can't update the object on the calendar server svn path=/trunk/; revision=14090 --- calendar/gui/dialogs/comp-editor.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'calendar/gui') 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; -- cgit v1.2.3