[evolution/gnome-3-24] Bug 781660 - Component editor marked changed after open
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-24] Bug 781660 - Component editor marked changed after open
- Date: Tue, 25 Apr 2017 17:44:01 +0000 (UTC)
commit 6c4403ab689837a16b120ce3a210e812c39780d2
Author: Milan Crha <mcrha redhat com>
Date: Tue Apr 25 19:40:31 2017 +0200
Bug 781660 - Component editor marked changed after open
src/calendar/gui/e-comp-editor.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/calendar/gui/e-comp-editor.c b/src/calendar/gui/e-comp-editor.c
index 712413b..baf479d 100644
--- a/src/calendar/gui/e-comp-editor.c
+++ b/src/calendar/gui/e-comp-editor.c
@@ -1019,12 +1019,16 @@ open_target_client_data_free (gpointer ptr)
if (otc) {
if (otc->comp_editor) {
if (otc->client) {
+ gboolean previous_changed = e_comp_editor_get_changed (otc->comp_editor);
+
e_comp_editor_set_alarm_email_address (otc->comp_editor,
otc->alarm_email_address);
e_comp_editor_set_cal_email_address (otc->comp_editor,
otc->cal_email_address);
e_comp_editor_set_target_client (otc->comp_editor, E_CAL_CLIENT
(otc->client));
if (otc->is_target_client_change)
e_comp_editor_set_changed (otc->comp_editor, TRUE);
+ else
+ e_comp_editor_set_changed (otc->comp_editor, previous_changed);
}
if (otc->comp_editor->priv->activity_bar && otc->activity) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]