diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2006-01-13 15:27:03 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2006-01-13 15:27:03 +0800 |
commit | a3af03a8c5c84a67712c27ec03574b49ee5d1b3b (patch) | |
tree | c9ee773c41d454f30aada1dc89f313ea8e8f07a1 /calendar | |
parent | 56815564a4a07de31c49288bae336d8103b81afe (diff) | |
download | gsoc2013-evolution-a3af03a8c5c84a67712c27ec03574b49ee5d1b3b.tar gsoc2013-evolution-a3af03a8c5c84a67712c27ec03574b49ee5d1b3b.tar.gz gsoc2013-evolution-a3af03a8c5c84a67712c27ec03574b49ee5d1b3b.tar.bz2 gsoc2013-evolution-a3af03a8c5c84a67712c27ec03574b49ee5d1b3b.tar.lz gsoc2013-evolution-a3af03a8c5c84a67712c27ec03574b49ee5d1b3b.tar.xz gsoc2013-evolution-a3af03a8c5c84a67712c27ec03574b49ee5d1b3b.tar.zst gsoc2013-evolution-a3af03a8c5c84a67712c27ec03574b49ee5d1b3b.zip |
fixes #326735
svn path=/trunk/; revision=31154
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/dialogs/event-page.c | 9 |
2 files changed, 16 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index de8946dfe7..4df89fb7e2 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2006-01-13 Chenthill Palanisamy <pchenthill@novell.com> + + Fixes #326735 + * gui/dialogs/event-page.c: (event_page_fill_widgets): If + the user is not the organizer, set the orignal organizer in + the combobox and make it non-editable. + 2006-01-12 Srinivasa Ragavan <sragavan@novell.com> * gui/GNOME_Evolution_Calendar.server.in.in: 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 { |