From 9641c77bb2d379054a1f9535e1f3a55b15165c56 Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Thu, 23 Mar 2006 09:31:32 +0000 Subject: Fixes #329502 svn path=/trunk/; revision=31742 --- calendar/ChangeLog | 9 +++++++++ calendar/gui/dialogs/task-page.c | 1 + calendar/gui/e-meeting-list-view.c | 4 ++-- 3 files changed, 12 insertions(+), 2 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 3d4a9019a5..f2431689e4 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,12 @@ +2006-03-23 Chenthill Palanisamy + + Fixes #329502 + * gui/e-meeting-list-view.c: (attendee_edited_cb): + Include MAILTO: with the email id while adding + it to the list view. + * gui/dialogs/task-page.c: (task_page_fill_widgets): + add the organizer to the name selector dialog. + 2006-03-22 Chenthill Palanisamy Fixes #330842 diff --git a/calendar/gui/dialogs/task-page.c b/calendar/gui/dialogs/task-page.c index b449c62995..bd354d7bd3 100644 --- a/calendar/gui/dialogs/task-page.c +++ b/calendar/gui/dialogs/task-page.c @@ -712,6 +712,7 @@ task_page_fill_widgets (CompEditorPage *page, ECalComponent *comp) e_meeting_attendee_set_status (priv->ia, ICAL_PARTSTAT_NEEDSACTION); else e_meeting_attendee_set_status (priv->ia, ICAL_PARTSTAT_ACCEPTED); + e_meeting_list_view_add_attendee_to_name_selector (E_MEETING_LIST_VIEW (priv->list_view), priv->ia); } } } diff --git a/calendar/gui/e-meeting-list-view.c b/calendar/gui/e-meeting-list-view.c index 0d2875b9bc..f0f7e1a51e 100644 --- a/calendar/gui/e-meeting-list-view.c +++ b/calendar/gui/e-meeting-list-view.c @@ -335,7 +335,7 @@ attendee_edited_cb (GtkCellRenderer *renderer, const gchar *path, GList *address continue; attendee = e_meeting_store_add_attendee_with_defaults (model); - e_meeting_attendee_set_address (attendee, g_strdup (l->data)); + e_meeting_attendee_set_address (attendee, g_strdup_printf ("MAILTO:%s", l->data)); e_meeting_attendee_set_cn (attendee, g_strdup (m->data)); if (existing_attendee) { /* FIXME Should we copy anything else? */ @@ -375,7 +375,7 @@ attendee_edited_cb (GtkCellRenderer *renderer, const gchar *path, GList *address value_edited (view, E_MEETING_STORE_ADDRESS_COL, path, email); value_edited (view, E_MEETING_STORE_CN_COL, path, name); - e_meeting_attendee_set_address (attendee, g_strdup (email)); + e_meeting_attendee_set_address (attendee, g_strdup_printf ("MAILTO:%s", email)); e_meeting_attendee_set_cn (attendee, g_strdup (name)); e_meeting_attendee_set_role (attendee, ICAL_ROLE_REQPARTICIPANT); e_meeting_list_view_add_attendee_to_name_selector (E_MEETING_LIST_VIEW (view), attendee); -- cgit v1.2.3