diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2001-10-25 20:00:00 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2001-10-25 20:00:00 +0800 |
commit | 8f14d0c6c92f051a44c1e1e10878021429f523fe (patch) | |
tree | bf5696d457c261b48eaf124fc8b3d8dbb543fa03 /calendar | |
parent | 165526e4cf8c02df1e40bca3d8e1b238094de0f4 (diff) | |
download | gsoc2013-evolution-8f14d0c6c92f051a44c1e1e10878021429f523fe.tar gsoc2013-evolution-8f14d0c6c92f051a44c1e1e10878021429f523fe.tar.gz gsoc2013-evolution-8f14d0c6c92f051a44c1e1e10878021429f523fe.tar.bz2 gsoc2013-evolution-8f14d0c6c92f051a44c1e1e10878021429f523fe.tar.lz gsoc2013-evolution-8f14d0c6c92f051a44c1e1e10878021429f523fe.tar.xz 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')
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/dialogs/comp-editor.c | 6 |
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; |