diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2005-08-12 21:55:51 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2005-08-12 21:55:51 +0800 |
commit | fe93bc962abd19cda49da538d3a73944e4eec065 (patch) | |
tree | 056251edf2eedd3033535e2a97293cb795e11ecb /calendar/gui/comp-editor-factory.c | |
parent | 94940da704bacc6d18ab1674a4f473beacdf2b03 (diff) | |
download | gsoc2013-evolution-fe93bc962abd19cda49da538d3a73944e4eec065.tar gsoc2013-evolution-fe93bc962abd19cda49da538d3a73944e4eec065.tar.gz gsoc2013-evolution-fe93bc962abd19cda49da538d3a73944e4eec065.tar.bz2 gsoc2013-evolution-fe93bc962abd19cda49da538d3a73944e4eec065.tar.lz gsoc2013-evolution-fe93bc962abd19cda49da538d3a73944e4eec065.tar.xz gsoc2013-evolution-fe93bc962abd19cda49da538d3a73944e4eec065.tar.zst gsoc2013-evolution-fe93bc962abd19cda49da538d3a73944e4eec065.zip |
Fixes #310338
svn path=/trunk/; revision=30097
Diffstat (limited to 'calendar/gui/comp-editor-factory.c')
-rw-r--r-- | calendar/gui/comp-editor-factory.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/calendar/gui/comp-editor-factory.c b/calendar/gui/comp-editor-factory.c index 62d24f4467..ea6507ad06 100644 --- a/calendar/gui/comp-editor-factory.c +++ b/calendar/gui/comp-editor-factory.c @@ -245,6 +245,7 @@ edit_existing (OpenClient *oc, const char *uid) icalcomponent *icalcomp; CompEditor *editor; ECalComponentVType vtype; + CompEditorFlags flags; g_assert (oc->open); @@ -269,7 +270,13 @@ edit_existing (OpenClient *oc, const char *uid) switch (vtype) { case E_CAL_COMPONENT_EVENT: - editor = COMP_EDITOR (event_editor_new (oc->client, e_cal_component_has_attendees (comp))); + if (e_cal_component_has_attendees (comp)) + flags |= COMP_EDITOR_MEETING; + + if (itip_organizer_is_user (comp, oc->client)) + flags |= COMP_EDITOR_USER_ORG; + + editor = COMP_EDITOR (event_editor_new (oc->client, flags)); break; case E_CAL_COMPONENT_TODO: |