[evolution-patches] patch for bug #72006 [calendar]
- From: chenthill <pchenthill novell com>
- To: patches <evolution-patches lists ximian com>
- Subject: [evolution-patches] patch for bug #72006 [calendar]
- Date: Wed, 23 Feb 2005 16:40:29 +0530
Hi,
Have attached the Fix the bug. When the new meeting dialog is opened
and cancelled without modifying any field, the prompt_for_changes
dialog should not be popped. This patch also fixes this.
thanks, chenthill.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2671
diff -u -p -r1.2671 ChangeLog
--- ChangeLog 23 Feb 2005 01:33:18 -0000 1.2671
+++ ChangeLog 23 Feb 2005 09:52:41 -0000
@@ -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
Index: gui/dialogs/event-editor.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/dialogs/event-editor.c,v
retrieving revision 1.58
diff -u -p -r1.58 event-editor.c
--- gui/dialogs/event-editor.c 18 Feb 2005 05:41:06 -0000 1.58
+++ gui/dialogs/event-editor.c 23 Feb 2005 09:52:41 -0000
@@ -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);
}
Index: gui/dialogs/comp-editor.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/dialogs/comp-editor.c,v
retrieving revision 1.121
diff -u -p -r1.121 comp-editor.c
--- gui/dialogs/comp-editor.c 5 Feb 2005 06:08:22 -0000 1.121
+++ gui/dialogs/comp-editor.c 23 Feb 2005 09:52:41 -0000
@@ -1722,6 +1722,8 @@ real_edit_comp (CompEditor *editor, ECal
fill_widgets (editor);
+ priv->changed =FALSE;
+
listen_for_changes (editor);
}
Index: gui/dialogs/task-editor.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/dialogs/task-editor.c,v
retrieving revision 1.80
diff -u -p -r1.80 task-editor.c
--- gui/dialogs/task-editor.c 18 Feb 2005 05:41:06 -0000 1.80
+++ gui/dialogs/task-editor.c 23 Feb 2005 09:52:41 -0000
@@ -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);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]