From 18c39ea2cabf9d7611d8f2320df4342256ba720a Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Fri, 17 Aug 2007 07:46:35 +0000 Subject: Fixes #274070 (bnc) 2007-08-17 Chenthill Palanisamy Fixes #274070 (bnc) * gui/e-meeting-attendee.[ch]: (e_meeting_attendee_finalize), (e_meeting_attendee_get_fburi), (e_meeting_attendee_set_fburi): * gui/e-meeting-list-view.c: (process_section): * gui/e-meeting-store.c: (freebusy_async), (start_async_read): If the contact has a free busy url specified with it, use it to show free busy information. svn path=/trunk/; revision=34021 --- calendar/gui/e-meeting-attendee.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'calendar/gui/e-meeting-attendee.c') diff --git a/calendar/gui/e-meeting-attendee.c b/calendar/gui/e-meeting-attendee.c index b346b85154..100238b850 100644 --- a/calendar/gui/e-meeting-attendee.c +++ b/calendar/gui/e-meeting-attendee.c @@ -31,6 +31,7 @@ struct _EMeetingAttendeePrivate { gchar *address; gchar *member; + gchar *fburi; icalparameter_cutype cutype; icalparameter_role role; @@ -168,6 +169,7 @@ e_meeting_attendee_finalize (GObject *obj) g_free (priv->address); g_free (priv->member); + g_free (priv->fburi); g_free (priv->delto); g_free (priv->delfrom); @@ -237,6 +239,30 @@ e_meeting_attendee_as_e_cal_component_attendee (EMeetingAttendee *ia) return ca; } +const gchar * +e_meeting_attendee_get_fburi (EMeetingAttendee *ia) +{ + EMeetingAttendeePrivate *priv; + + priv = ia->priv; + + return priv->fburi; +} + +void +e_meeting_attendee_set_fburi (EMeetingAttendee *ia, gchar *fburi) +{ + EMeetingAttendeePrivate *priv; + + priv = ia->priv; + + if (priv->fburi != NULL) + g_free (priv->fburi); + + priv->fburi = string_test (fburi); + + notify_changed (ia); +} const gchar * e_meeting_attendee_get_address (EMeetingAttendee *ia) -- cgit