Added the delfrom property to the delegatee. Fixes #165714

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)

svn path=/trunk/; revision=31863
This commit is contained in:
Harish Krishnaswamy
2006-04-22 05:43:52 +00:00
committed by Harish Krishnaswamy
parent 5bf8290d43
commit c2d58cc231
2 changed files with 9 additions and 3 deletions

View File

@ -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

View File

@ -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);