diff options
-rw-r--r-- | calendar/ChangeLog | 9 | ||||
-rw-r--r-- | calendar/gui/dialogs/task-page.c | 1 | ||||
-rw-r--r-- | calendar/gui/e-meeting-list-view.c | 4 |
3 files changed, 12 insertions, 2 deletions
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 <pchenthill@novell.com> + + 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 <pchenthill@novell.com> 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); |