From 7be980d44ee12c563966bdd9361fe83ae19a430f Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Tue, 14 Jul 2009 13:36:42 +0530 Subject: Pick the user_org from comp editor flags. Requires some clean-up. --- calendar/gui/dialogs/comp-editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/gui/dialogs/comp-editor.c') 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); -- cgit v1.2.3