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/ChangeLog | 5 +++++ calendar/gui/dialogs/comp-editor.c | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index bbbc513681..254798af66 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +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 + 2001-10-25 Federico Mena Quintero * gui/control-factory.c: Ifdef-ed out the PersistFile bits. 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