From 7bc7f58e53d846252ed08bfcd29de434ba605740 Mon Sep 17 00:00:00 2001 From: Frederic Peters Date: Tue, 30 May 2006 21:12:11 +0000 Subject: Allow cookie list to be sorted. (fixes #337845) 2006-05-30 Frederic Peters * src/pdm-dialog.c: (pdm_dialog_cookies_construct): Allow cookie list to be sorted. (fixes #337845) --- ChangeLog | 6 ++++++ src/pdm-dialog.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8f1e4c39c..ad1ab4930 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-05-30 Frederic Peters + + * src/pdm-dialog.c: (pdm_dialog_cookies_construct): + + Allow cookie list to be sorted. (fixes #337845) + 2006-05-30 Frederic Peters * lib/egg/egg-editable-toolbar.c: (action_sensitive_cb) 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); -- cgit