Fixes the bug #309416

2005-07-29  Srinivasa Ragavan <sragavan@novell.com>

	* gui/contact-editor/eab-editor.c: (eab_editor_prompt_to_save_changes)
	(eab_editor_request_close_all) Fixes the bug #309416

svn path=/trunk/; revision=29932
This commit is contained in:
Srinivasa Ragavan
2005-07-29 06:35:22 +00:00
committed by Srinivasa Ragavan
parent 6fb4a4f31a
commit 02f38237c0
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-07-29 Srinivasa Ragavan <sragavan@novell.com>
* gui/contact-editor/eab-editor.c: (eab_editor_prompt_to_save_changes)
(eab_editor_request_close_all) Fixes the bug #309416
2005-07-29 Srinivasa Ragavan <sragavan@novell.com>
* tools/evolution-addressbook-export-list-cards.c: (output_n_cards_file)

View File

@ -269,6 +269,7 @@ eab_editor_prompt_to_save_changes (EABEditor *editor, GtkWindow *window)
return FALSE;
}
eab_editor_save_contact (editor, TRUE);
eab_editor_close (EAB_EDITOR (editor));
return TRUE;
case GTK_RESPONSE_NO:
eab_editor_close (EAB_EDITOR (editor));
@ -298,7 +299,6 @@ eab_editor_request_close_all (void)
retval = FALSE;
break;
}
eab_editor_close (editor);
}
return retval;