aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@0d.be>2006-05-31 05:12:11 +0800
committerFrederic Peters <fpeters@src.gnome.org>2006-05-31 05:12:11 +0800
commit7bc7f58e53d846252ed08bfcd29de434ba605740 (patch)
tree01a6ce9de0e9144dbbafc0a559faab718efe7148
parent393d06dbf01006ae29c4b3e69599403f88c78fb4 (diff)
downloadgsoc2013-epiphany-7bc7f58e53d846252ed08bfcd29de434ba605740.tar.gz
gsoc2013-epiphany-7bc7f58e53d846252ed08bfcd29de434ba605740.tar.zst
gsoc2013-epiphany-7bc7f58e53d846252ed08bfcd29de434ba605740.zip
Allow cookie list to be sorted. (fixes #337845)
2006-05-30 Frederic Peters <fpeters@0d.be> * src/pdm-dialog.c: (pdm_dialog_cookies_construct): Allow cookie list to be sorted. (fixes #337845)
-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);