From f768bddb9325e7784477bcbcef0bce2a466a635a Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 4 Sep 2002 16:19:21 +0000 Subject: provide error message param, give a dialog with the message if we get a 2002-09-04 JP Rosevear * gui/itip-utils.c (comp_server_send): provide error message param, give a dialog with the message if we get a busy result; return TRUE if we succeed (itip_send_comp): bail out if we had a problem sending via the server * cal-client/cal-client.c (cal_client_send_object): pass back error message if we get the busy exception in the new param * cal-client/cal-client.h: update proto * pcs/cal.c (impl_Cal_send_object): dump backend error message into Busy exception * pcs/cal-backend.h: update proto * pcs/cal-backend.c (cal_backend_send_object): take/pass new error message parameter * pcs/cal-backend-file.c (cal_backend_file_send_object): take new param * idl/evolution-calendar.idl: add errorMsg to Busy exception svn path=/trunk/; revision=17964 --- calendar/pcs/cal-backend-file.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'calendar/pcs/cal-backend-file.c') diff --git a/calendar/pcs/cal-backend-file.c b/calendar/pcs/cal-backend-file.c index 9b531412e8..f4992f2952 100644 --- a/calendar/pcs/cal-backend-file.c +++ b/calendar/pcs/cal-backend-file.c @@ -126,7 +126,8 @@ static CalBackendResult cal_backend_file_remove_object (CalBackend *backend, con static CalBackendSendResult cal_backend_file_send_object (CalBackend *backend, const char *calobj, gchar **new_calobj, - GNOME_Evolution_Calendar_UserList **user_list); + GNOME_Evolution_Calendar_UserList **user_list, + char error_msg[256]); static icaltimezone* cal_backend_file_get_timezone (CalBackend *backend, const char *tzid); static icaltimezone* cal_backend_file_get_default_timezone (CalBackend *backend); @@ -1904,7 +1905,7 @@ cal_backend_file_remove_object (CalBackend *backend, const char *uid) static CalBackendSendResult cal_backend_file_send_object (CalBackend *backend, const char *calobj, char **new_calobj, - GNOME_Evolution_Calendar_UserList **user_list) + GNOME_Evolution_Calendar_UserList **user_list, char error_msg[256]) { *new_calobj = g_strdup (calobj); -- cgit v1.2.3