diff options
author | Chenthill Palanisamy <pchenthill@novell.com> | 2005-02-23 20:42:44 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2005-02-23 20:42:44 +0800 |
commit | 1555ba44f91d9730d47e3d1e07a67ad3459f98c5 (patch) | |
tree | a091f2d03ca184d136fcb0c94ea0c9a16a40c8cd | |
parent | 4ae0d22ea973c74e0628236e63572227f1e0b879 (diff) | |
download | gsoc2013-evolution-1555ba44f91d9730d47e3d1e07a67ad3459f98c5.tar.gz gsoc2013-evolution-1555ba44f91d9730d47e3d1e07a67ad3459f98c5.tar.zst gsoc2013-evolution-1555ba44f91d9730d47e3d1e07a67ad3459f98c5.zip |
Fixes #72006
2005-02-23 Chenthill Palanisamy <pchenthill@novell.com>
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
-rw-r--r-- | calendar/ChangeLog | 9 | ||||
-rw-r--r-- | calendar/gui/dialogs/comp-editor.c | 4 | ||||
-rw-r--r-- | calendar/gui/dialogs/event-editor.c | 2 | ||||
-rw-r--r-- | 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 <pchenthill@novell.com> + + 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 <jpr@novell.com> 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); } } |