From 843b04862e48093d3a718c701c0f95e22e4bdb3e Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Tue, 19 Feb 2002 16:26:25 +0000 Subject: pass extra itip_send_comp params (send_freebusy): ditto (ok_clicked_cb): 002-02-19 JP Rosevear * gui/e-itip-control.c (send_item): pass extra itip_send_comp params (send_freebusy): ditto (ok_clicked_cb): ditto, including the timezones culled from the component * gui/e-week-view.c: pass extra itip_send_comp params * gui/calendar-commands.c: ditto * gui/e-day-view.c: ditto * gui/dialogs/task-editor.c: ditto * gui/dialogs/event-editor.c: ditto * gui/dialogs/comp-editor.c: ditto * gui/itip-utils.h (itip_send_comp): update proto * gui/itip-utils.c (foreach_tzid_callback): check the passed in zones, then the builtin time zones then the client 2002-02-19 JP Rosevear * gui/e-itip-control.c (find_my_address): strip the ical value and do a case insensitive compare (find_attendee): ditto (change_status): put the error message here (ok_clicked_cb): don't update the item or rsvp unless change_status was successful, trip the ical value and do a case insensitive compare * gui/itip-utils.c (get_address): strip the incoming address (itip_strip_mailto): use g_strncasecmp (comp_limit_attendees): strip the ical value and do a case insensitive compare svn path=/trunk/; revision=15763 --- calendar/gui/dialogs/comp-editor.c | 2 +- calendar/gui/dialogs/event-editor.c | 7 +++++-- calendar/gui/dialogs/task-editor.c | 7 +++++-- 3 files changed, 11 insertions(+), 5 deletions(-) (limited to 'calendar/gui/dialogs') diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index 14bee4e9a7..7615e79589 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -852,7 +852,7 @@ real_send_comp (CompEditor *editor, CalComponentItipMethod method) priv = editor->priv; - itip_send_comp (method, priv->comp); + itip_send_comp (method, priv->comp, priv->client, NULL); } diff --git a/calendar/gui/dialogs/event-editor.c b/calendar/gui/dialogs/event-editor.c index 9e6f501efe..4c0862c9f7 100644 --- a/calendar/gui/dialogs/event-editor.c +++ b/calendar/gui/dialogs/event-editor.c @@ -299,8 +299,11 @@ event_editor_send_comp (CompEditor *editor, CalComponentItipMethod method) goto parent; comp = meeting_page_get_cancel_comp (priv->meet_page); - if (comp != NULL) { - itip_send_comp (CAL_COMPONENT_METHOD_CANCEL, comp); + if (comp != NULL) { + CalClient *client; + + client = e_meeting_model_get_cal_client (priv->model); + itip_send_comp (CAL_COMPONENT_METHOD_CANCEL, comp, client, NULL); gtk_object_unref (GTK_OBJECT (comp)); } diff --git a/calendar/gui/dialogs/task-editor.c b/calendar/gui/dialogs/task-editor.c index e59582873f..c5c4d61826 100644 --- a/calendar/gui/dialogs/task-editor.c +++ b/calendar/gui/dialogs/task-editor.c @@ -261,8 +261,11 @@ task_editor_send_comp (CompEditor *editor, CalComponentItipMethod method) goto parent; comp = meeting_page_get_cancel_comp (priv->meet_page); - if (comp != NULL) { - itip_send_comp (CAL_COMPONENT_METHOD_CANCEL, comp); + if (comp != NULL) { + CalClient *client; + + client = e_meeting_model_get_cal_client (priv->model); + itip_send_comp (CAL_COMPONENT_METHOD_CANCEL, comp, client, NULL); gtk_object_unref (GTK_OBJECT (comp)); } -- cgit