aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2006-03-23 17:31:32 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2006-03-23 17:31:32 +0800
commit9641c77bb2d379054a1f9535e1f3a55b15165c56 (patch)
tree7cc3879e9e042a1506e6781191f5e41d0d258807 /calendar/gui
parentf0d14fd48bac4afcca6e3ce76f4f4d1afab76048 (diff)
downloadgsoc2013-evolution-9641c77bb2d379054a1f9535e1f3a55b15165c56.tar.gz
gsoc2013-evolution-9641c77bb2d379054a1f9535e1f3a55b15165c56.tar.zst
gsoc2013-evolution-9641c77bb2d379054a1f9535e1f3a55b15165c56.zip
Fixes #329502
svn path=/trunk/; revision=31742
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/dialogs/task-page.c1
-rw-r--r--calendar/gui/e-meeting-list-view.c4
2 files changed, 3 insertions, 2 deletions
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);