[evolution-patches] Fix: 56602



This patch fixes the bug, calling the e_shell_window_save_defaults
when there is only one window and user close it.

Regards

Index: shell/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/shell/ChangeLog,v
retrieving revision 1.1421
diff -u -r1.1421 ChangeLog
--- shell/ChangeLog	28 Apr 2004 02:02:36 -0000	1.1421
+++ shell/ChangeLog	2 May 2004 06:13:27 -0000
@@ -1,3 +1,7 @@
+2004-05-02  Edgar Luna Díaz  <eald linuxuanl org>
+
+	* e-shell-window-commands.c (command_close): Fix 56602.
+
 2004-04-27  JP Rosevear  <jpr ximian com>
 
 	* e-shell-window.c (sidebar_button_selected_callback): init the
Index: shell/e-shell.c
===================================================================
RCS file: /cvs/gnome/evolution/shell/e-shell.c,v
retrieving revision 1.244
diff -u -r1.244 e-shell.c
--- shell/e-shell.c	9 Apr 2004 21:56:34 -0000	1.244
+++ shell/e-shell.c	2 May 2004 06:13:28 -0000
@@ -781,6 +781,8 @@
 		/* Not the last window.  */
 		return TRUE;
 	}
+	/* This is the last so save the window settings too */
+	e_shell_window_save_defaults (shell_window);
 
 	return e_shell_quit(shell);
 }
-- 
Edgar A. Luna Díaz - http://linuxuanl.org
Fingerprint: C008 5EAC 5272 AC8C 7589  4821 8B34 6166 8733 8310


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