diff options
author | Chenthill Palanisamy <pchenthill@novell.com> | 2009-07-14 16:06:42 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchenthill@novell.com> | 2009-07-14 18:19:09 +0800 |
commit | 7be980d44ee12c563966bdd9361fe83ae19a430f (patch) | |
tree | b625e2a42594887a2d7b9a20b28af2ff9fc98868 | |
parent | 1cee53b02594d1c407a8158f270793517b51d17f (diff) | |
download | gsoc2013-evolution-7be980d44ee12c563966bdd9361fe83ae19a430f.tar.gz gsoc2013-evolution-7be980d44ee12c563966bdd9361fe83ae19a430f.tar.zst gsoc2013-evolution-7be980d44ee12c563966bdd9361fe83ae19a430f.zip |
Pick the user_org from comp editor flags.
Requires some clean-up.
-rw-r--r-- | calendar/gui/dialogs/comp-editor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index e620d54091..28d33d60b0 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -1942,6 +1942,7 @@ comp_editor_set_flags (CompEditor *editor, g_return_if_fail (IS_COMP_EDITOR (editor)); editor->priv->flags = flags; + editor->priv->user_org = flags & COMP_EDITOR_USER_ORG; g_object_notify (G_OBJECT (editor), "flags"); } @@ -2380,7 +2381,6 @@ real_edit_comp (CompEditor *editor, ECalComponent *comp) priv->comp = e_cal_component_clone (comp); priv->existing_org = e_cal_component_has_organizer (comp); - priv->user_org = (itip_organizer_is_user (comp, priv->client) || itip_sentby_is_user (comp, priv->client)); priv->warned = FALSE; update_window_border (editor, NULL); |