=== modified file 'calendar/backends/file/e-cal-backend-file.c' --- calendar/backends/file/e-cal-backend-file.c 2007-12-18 16:36:30 +0000 +++ calendar/backends/file/e-cal-backend-file.c 2007-12-18 16:42:10 +0000 @@ -128,6 +128,7 @@ GnomeVFSFileSize out; gchar *tmp, *backup_uristr; char *buf; + char *error = NULL; ECalBackendFile *cbfile = user_data; priv = cbfile->priv; @@ -200,12 +201,15 @@ g_static_rec_mutex_unlock (&priv->idle_save_rmutex); e_cal_backend_notify_error (E_CAL_BACKEND (cbfile), _("Cannot save calendar data: Malformed URI.")); - return TRUE; + return FALSE; error: g_static_rec_mutex_unlock (&priv->idle_save_rmutex); - e_cal_backend_notify_error (E_CAL_BACKEND (cbfile), gnome_vfs_result_to_string (result)); - return TRUE; + /* error = g_strconcat (_("Can't save calendar data: "), gnome_vfs_result_to_string (result), NULL); + e_cal_backend_notify_error (E_CAL_BACKEND (cbfile), error); + g_free (error); */ + e_cal_backend_notify_error (E_CAL_BACKEND (cbfile), gnome_vfs_result_to_string (result)); + return FALSE; } static void @@ -520,8 +524,6 @@ g_assert (icalcomp != NULL); icalcomponent_add_component (priv->icalcomp, icalcomp); - - save (cbfile); } }