From a3af03a8c5c84a67712c27ec03574b49ee5d1b3b Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Fri, 13 Jan 2006 07:27:03 +0000 Subject: fixes #326735 svn path=/trunk/; revision=31154 --- calendar/gui/dialogs/event-page.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'calendar/gui') diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c index 71d5d9d303..f475aae715 100644 --- a/calendar/gui/dialogs/event-page.c +++ b/calendar/gui/dialogs/event-page.c @@ -1021,6 +1021,8 @@ event_page_fill_widgets (CompEditorPage *page, ECalComponent *comp) if (organizer.value != NULL) { const gchar *strip = itip_strip_mailto (organizer.value); gchar *string; + GList *list = NULL; + if (itip_organizer_is_user (comp, page->client)) { if (e_cal_get_static_capability ( page->client, @@ -1043,7 +1045,14 @@ event_page_fill_widgets (CompEditorPage *page, ECalComponent *comp) else string = g_strdup (strip); + if (!priv->user_org) { + list = g_list_append (list, string); + gtk_combo_set_popdown_strings (GTK_COMBO (priv->organizer), list); + gtk_entry_set_editable (GTK_COMBO (priv->organizer)->entry, FALSE); + } + g_free (string); + g_list_free (list); priv->existing = TRUE; } } else { -- cgit v1.2.3