From 1555ba44f91d9730d47e3d1e07a67ad3459f98c5 Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Wed, 23 Feb 2005 12:42:44 +0000 Subject: Fixes #72006 2005-02-23 Chenthill Palanisamy Fixes #72006 * gui/dialogs/comp-editor.c: (real_edit_comp): * gui/dialogs/event-editor.c: (show_meeting): * gui/dialogs/task-editor.c: (show_assignment): Reset the changed state, to suppress the promt_to_changes dialog when the fields are not changed. svn path=/trunk/; revision=28868 --- calendar/ChangeLog | 9 +++++++++ calendar/gui/dialogs/comp-editor.c | 4 +++- calendar/gui/dialogs/event-editor.c | 2 +- calendar/gui/dialogs/task-editor.c | 2 +- 4 files changed, 14 insertions(+), 3 deletions(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 251e8ee1f0..62a392a459 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,12 @@ +2005-02-23 Chenthill Palanisamy + + Fixes #72006 + * gui/dialogs/comp-editor.c: (real_edit_comp): + * gui/dialogs/event-editor.c: (show_meeting): + * gui/dialogs/task-editor.c: (show_assignment): Reset + the changed state, to suppress the promt_to_changes + dialog when the fields are not changed. + 2005-02-21 JP Rosevear Fixes #63866, #67714, #62089, #47747, #61495, #28947 diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index 4ba8900b3a..6a933686f9 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -1183,7 +1183,7 @@ comp_editor_set_group_item (CompEditor *editor, gboolean group_item) } gboolean -comp_editor_get_is_group_item (CompEditor *editor) +comp_editor_get_group_item (CompEditor *editor) { CompEditorPrivate *priv; @@ -1722,6 +1722,8 @@ real_edit_comp (CompEditor *editor, ECalComponent *comp) fill_widgets (editor); + priv->changed =FALSE; + listen_for_changes (editor); } diff --git a/calendar/gui/dialogs/event-editor.c b/calendar/gui/dialogs/event-editor.c index 705b03b9a8..785fe5c357 100644 --- a/calendar/gui/dialogs/event-editor.c +++ b/calendar/gui/dialogs/event-editor.c @@ -382,7 +382,7 @@ show_meeting (EventEditor *ee) _("Invitations")); priv->meeting_shown = TRUE; - comp_editor_set_changed (COMP_EDITOR (ee), priv->meeting_shown); + comp_editor_set_changed (COMP_EDITOR (ee), FALSE); comp_editor_set_needs_send (COMP_EDITOR (ee), priv->meeting_shown); } diff --git a/calendar/gui/dialogs/task-editor.c b/calendar/gui/dialogs/task-editor.c index e0709201fe..8cc4cb0113 100644 --- a/calendar/gui/dialogs/task-editor.c +++ b/calendar/gui/dialogs/task-editor.c @@ -360,7 +360,7 @@ show_assignment (TaskEditor *te) priv->assignment_shown = TRUE; comp_editor_set_needs_send (COMP_EDITOR (te), priv->assignment_shown); - comp_editor_set_changed (COMP_EDITOR (te), TRUE); + comp_editor_set_changed (COMP_EDITOR (te), FALSE); } } -- cgit v1.2.3