Thanks -- Sarfraaz Ahmed <asarfraaz novell com> |
Index: calendar/gui/itip-utils.c =================================================================== RCS file: /cvs/gnome/evolution/calendar/gui/itip-utils.c,v retrieving revision 1.90.14.3 diff -u -p -u -r1.90.14.3 itip-utils.c --- calendar/gui/itip-utils.c 6 Oct 2004 14:19:23 -0000 1.90.14.3 +++ calendar/gui/itip-utils.c 7 Oct 2004 18:29:14 -0000 @@ -539,19 +539,22 @@ comp_server_send (ECalComponentItipMetho icalcomponent *top_level, *returned_icalcomp = NULL; gboolean retval = TRUE; GError *error = NULL; + gchar *error_str; top_level = comp_toplevel_with_zones (method, comp, client, zones); if (!e_cal_send_objects (client, top_level, users, &returned_icalcomp, &error)) { /* FIXME Really need a book problem status code */ if (error->code != E_CALENDAR_STATUS_OK) { /* FIXME Better error message */ - e_notice (NULL, GTK_MESSAGE_ERROR, "Unable to book"); + error_str = g_strdup_printf ("Unable to book : %s", e_cal_get_error_message (error->code)); + e_notice (NULL, GTK_MESSAGE_ERROR, error_str); retval = FALSE; } } g_clear_error (&error); + g_free (error_str); if (returned_icalcomp) icalcomponent_free (returned_icalcomp);