aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2001-10-25 20:00:00 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2001-10-25 20:00:00 +0800
commit8f14d0c6c92f051a44c1e1e10878021429f523fe (patch)
treebf5696d457c261b48eaf124fc8b3d8dbb543fa03 /calendar/gui
parent165526e4cf8c02df1e40bca3d8e1b238094de0f4 (diff)
downloadgsoc2013-evolution-8f14d0c6c92f051a44c1e1e10878021429f523fe.tar.gz
gsoc2013-evolution-8f14d0c6c92f051a44c1e1e10878021429f523fe.tar.zst
gsoc2013-evolution-8f14d0c6c92f051a44c1e1e10878021429f523fe.zip
show an error message when we can't update the object on the calendar
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 svn path=/trunk/; revision=14090
Diffstat (limited to 'calendar/gui')
-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;