aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rwxr-xr-xsrc/pdm-dialog.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8f1e4c39c..ad1ab4930 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
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-30 Frederic Peters <fpeters@0d.be>
+
* lib/egg/egg-editable-toolbar.c: (action_sensitive_cb)
Fix crash when moving zoom widget on toolbar (#338682)
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c
index 3678c69bc..ecc198c96 100755
--- a/src/pdm-dialog.c
+++ b/src/pdm-dialog.c
@@ -594,6 +594,7 @@ pdm_dialog_cookies_construct (PdmActionInfo *info)
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 @@ pdm_dialog_cookies_construct (PdmActionInfo *info)
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);