aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/dialogs/comp-editor.c6
2 files changed, 10 insertions, 1 deletions
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 <rodrigo@ximian.com>
+
+ * 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 <federico@ximian.com>
* 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;