Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/epiphany/ChangeLog,v
retrieving revision 1.3158
diff -u -r1.3158 ChangeLog
--- ChangeLog	29 May 2006 19:49:21 -0000	1.3158
+++ ChangeLog	30 May 2006 08:39:43 -0000
@@ -1,3 +1,9 @@
+2006-05-30  Frederic Peters  <fpeters@0d.be>
+
+	* src/pdm-dialog.c: (pdm_dialog_cookies_construct):
+
+	Allow cookie list to be sorted.  (fixes #337845)
+
 2006-05-29  Christian Persch  <chpe@cvs.gnome.org>
 
 	* lib/ephy-file-helpers.c: (ephy_file_launch_application),
Index: src/pdm-dialog.c
===================================================================
RCS file: /cvs/gnome/epiphany/src/pdm-dialog.c,v
retrieving revision 1.62
diff -u -r1.62 pdm-dialog.c
--- src/pdm-dialog.c	8 Dec 2005 21:32:52 -0000	1.62
+++ src/pdm-dialog.c	30 May 2006 08:39:43 -0000
@@ -594,6 +594,7 @@
 	gtk_tree_view_column_set_resizable (column, TRUE);
 	gtk_tree_view_column_set_reorderable (column, TRUE);
 	gtk_tree_view_column_set_sizing (column, GTK_TREE_VIEW_COLUMN_AUTOSIZE);
+	gtk_tree_view_column_set_sort_column_id (column, COL_COOKIES_HOST_KEY);
 
 	gtk_tree_view_insert_column_with_attributes (treeview,
 						     TV_COL_COOKIES_NAME,
@@ -605,6 +606,7 @@
 	gtk_tree_view_column_set_resizable (column, TRUE);
 	gtk_tree_view_column_set_reorderable (column, TRUE);
 	gtk_tree_view_column_set_sizing (column, GTK_TREE_VIEW_COLUMN_AUTOSIZE);
+	gtk_tree_view_column_set_sort_column_id (column, COL_COOKIES_NAME);
 
 	gtk_tree_view_set_enable_search (treeview, TRUE);
 	gtk_tree_view_set_search_column (treeview, COL_COOKIES_HOST);
