aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-meeting-attendee.c
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2007-08-17 15:46:35 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2007-08-17 15:46:35 +0800
commit18c39ea2cabf9d7611d8f2320df4342256ba720a (patch)
tree45a8204dd29aad5f23ca2bf8cc5f691200475830 /calendar/gui/e-meeting-attendee.c
parent03799599ca20ba1218efa6564494a381863b0da7 (diff)
downloadgsoc2013-evolution-18c39ea2cabf9d7611d8f2320df4342256ba720a.tar.gz
gsoc2013-evolution-18c39ea2cabf9d7611d8f2320df4342256ba720a.tar.zst
gsoc2013-evolution-18c39ea2cabf9d7611d8f2320df4342256ba720a.zip
Fixes #274070 (bnc)
2007-08-17 Chenthill Palanisamy <pchenthill@novell.com> 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
Diffstat (limited to 'calendar/gui/e-meeting-attendee.c')
-rw-r--r--calendar/gui/e-meeting-attendee.c26
1 files changed, 26 insertions, 0 deletions
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)