diff options
author | Frederic Peters <fpeters@0d.be> | 2006-05-31 05:12:11 +0800 |
---|---|---|
committer | Frederic Peters <fpeters@src.gnome.org> | 2006-05-31 05:12:11 +0800 |
commit | 7bc7f58e53d846252ed08bfcd29de434ba605740 (patch) | |
tree | 01a6ce9de0e9144dbbafc0a559faab718efe7148 | |
parent | 393d06dbf01006ae29c4b3e69599403f88c78fb4 (diff) | |
download | gsoc2013-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-- | ChangeLog | 6 | ||||
-rwxr-xr-x | src/pdm-dialog.c | 2 |
2 files changed, 8 insertions, 0 deletions
@@ -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); |