[Epiphany] [PATCH] Session saving



Session saving is currently borked as it doesn't save windows with
multiple tabs correctly. The attached patch fixes it.

Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/epiphany/ChangeLog,v
retrieving revision 1.100
diff -u -r1.100 ChangeLog
--- ChangeLog	12 Feb 2003 22:33:28 -0000	1.100
+++ ChangeLog	13 Feb 2003 14:32:25 -0000
@@ -1,3 +1,7 @@
+2003-02-13  Lee Willis  <lwillis@plus.net>
+
+	* src/session.c: Fix session saving
+
 2003-02-12  Marco Pesenti Gritti  <marco@it.gnome.org>
 
 	* lib/widgets/ephy-ellipsizing-label.c: (ellipsize_string):
Index: src/session.c
===================================================================
RCS file: /cvs/gnome/epiphany/src/session.c,v
retrieving revision 1.5
diff -u -r1.5 session.c
--- src/session.c	8 Feb 2003 00:07:31 -0000	1.5
+++ src/session.c	13 Feb 2003 14:32:26 -0000
@@ -525,7 +525,7 @@
 
 		for (l = tabs; l != NULL; l = l->next)
 	        {
-			EphyTab *tab = EPHY_TAB(tabs->data);
+			EphyTab *tab = EPHY_TAB(l->data);
 			save_tab (window, tab, doc, window_node);
 		}
 		g_list_free (tabs);

Regards
Lee
-- 
| Lee Willis                                  Unmetered & ADSL solutions 
| Solutions Designer                                 for Home & Business 
| PlusNet Technologies Ltd.                        @ http://www.plus.net
+------------ My Referrals - It pays to recommend PlusNet --------------


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