aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/dialogs/event-page.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 848ade1860..f278c69508 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,9 @@
+2006-04-22 Harish Krishnaswamy <kharish@novell.com>
+
+ * gui/dialogs/event-page.c (attendee_added_cb):
+ Added the delfrom property to the delegatee. Fixes
+ #165714 (bugzilla.novell.com)
+
2006-04-22 Srinivasa Ragavan <sragavan@novell.com>
** Fixes bug #326434
diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c
index b560f5c9cd..b617be9550 100644
--- a/calendar/gui/dialogs/event-page.c
+++ b/calendar/gui/dialogs/event-page.c
@@ -1508,7 +1508,6 @@ event_page_fill_component (CompEditorPage *page, ECalComponent *comp)
set_attendees (comp, e_meeting_store_get_attendees (priv->model));
}
-
return TRUE;
}
@@ -1856,7 +1855,8 @@ attendee_added_cb (EMeetingListView *emlv, EMeetingAttendee *ia, gpointer user_d
delegator = e_meeting_store_find_attendee (priv->model, delegator_id, NULL);
e_meeting_attendee_set_delto (delegator,
g_strdup (e_meeting_attendee_get_address (ia)));
-
+
+ e_meeting_attendee_set_delfrom (ia, g_strdup_printf ("MAILTO:%s", delegator_id));
gtk_widget_set_sensitive (priv->invite, FALSE);
gtk_widget_set_sensitive (priv->add, FALSE);
gtk_widget_set_sensitive (priv->edit, FALSE);
@@ -3184,7 +3184,7 @@ set_attendees (ECalComponent *comp, const GPtrArray *attendees)
comp_attendees = g_slist_reverse (comp_attendees);
e_cal_component_set_attendee_list (comp, comp_attendees);
-
+
for (l = comp_attendees; l != NULL; l = l->next)
g_free (l->data);
g_slist_free (comp_attendees);