[evolution-patches] patch for #73005 (address book)



Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/ChangeLog,v
retrieving revision 1.1924
diff -u -p -r1.1924 ChangeLog
--- ChangeLog	24 Feb 2005 10:31:24 -0000	1.1924
+++ ChangeLog	25 Feb 2005 17:42:31 -0000
@@ -1,3 +1,14 @@
+2005-02-25   Sivaiah Nallagatla <snallagatla novell com>
+
+	* gui/conact-editor/eab-editor.c 
+	(eab_editor_prompt_to_save_changes) : Just close 
+	the editor when user presees cancel or closes the editor
+	when there are no changes. Seems to be broken 
+	by earlier Change for #70371
+
+	Fixes #73005
+	 
+
 2005-02-24  Sushma Rai  <rsushma novell com>
 
 	* gui/component/addressbook-config.c (addressbook_config_edit_source):
Index: gui/contact-editor/eab-editor.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/contact-editor/eab-editor.c,v
retrieving revision 1.5
diff -u -p -r1.5 eab-editor.c
--- gui/contact-editor/eab-editor.c	22 Feb 2005 00:58:15 -0000	1.5
+++ gui/contact-editor/eab-editor.c	25 Feb 2005 17:42:32 -0000
@@ -258,8 +258,10 @@ eab_editor_get_window (EABEditor *editor
 gboolean
 eab_editor_prompt_to_save_changes (EABEditor *editor, GtkWindow *window)
 {
-	if (!eab_editor_is_changed (editor))
+	if (!eab_editor_is_changed (editor)) {
+		eab_editor_close (EAB_EDITOR (editor));
 		return TRUE;
+	}
 
 	switch (eab_prompt_save_dialog (window)) {
 	case GTK_RESPONSE_YES:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]