diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2004-07-15 00:44:35 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2004-07-15 00:44:35 +0800 |
commit | a73d4d600b8be7e21cd6ea9e956f6a7c6c3e4828 (patch) | |
tree | f597297100d3eaeb0dc76819a37e43d966f06a84 /src/ephy-encoding-dialog.c | |
parent | e1ddd3e07929a6200ae58272b22c8bb98de323c7 (diff) | |
download | gsoc2013-epiphany-a73d4d600b8be7e21cd6ea9e956f6a7c6c3e4828.tar.gz gsoc2013-epiphany-a73d4d600b8be7e21cd6ea9e956f6a7c6c3e4828.tar.zst gsoc2013-epiphany-a73d4d600b8be7e21cd6ea9e956f6a7c6c3e4828.zip |
Improve sort/priority API.
2004-07-14 Marco Pesenti Gritti <marco@gnome.org>
* lib/widgets/ephy-node-view.c: (compare_string_values),
(ephy_node_view_sort_func), (ephy_node_view_add_data_column),
(ephy_node_view_add_column), (ephy_node_view_set_priority),
(ephy_node_view_set_sort), (ephy_node_view_init):
* lib/widgets/ephy-node-view.h:
Improve sort/priority API.
* src/bookmarks/ephy-bookmarks-editor.c:
(ephy_bookmarks_editor_construct):
* src/ephy-encoding-dialog.c: (ephy_encoding_dialog_init):
* src/ephy-history-window.c: (ephy_history_window_construct):
Sort history items by last visit
Diffstat (limited to 'src/ephy-encoding-dialog.c')
-rw-r--r-- | src/ephy-encoding-dialog.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ephy-encoding-dialog.c b/src/ephy-encoding-dialog.c index adf0f61f3..3f6cae00b 100644 --- a/src/ephy-encoding-dialog.c +++ b/src/ephy-encoding-dialog.c @@ -315,11 +315,13 @@ ephy_encoding_dialog_init (EphyEncodingDialog *dialog) ephy_node_view_add_column (EPHY_NODE_VIEW (treeview), _("Encodings"), G_TYPE_STRING, EPHY_NODE_ENCODING_PROP_TITLE_ELIDED, - -1, - EPHY_NODE_VIEW_AUTO_SORT | EPHY_NODE_VIEW_SEARCHABLE, NULL); + ephy_node_view_set_sort (EPHY_NODE_VIEW (treeview), G_TYPE_STRING, + EPHY_NODE_ENCODING_PROP_TITLE_ELIDED, + GTK_SORT_ASCENDING); + selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (treeview)); gtk_tree_selection_set_mode (selection, GTK_SELECTION_BROWSE); gtk_tree_view_set_headers_visible (GTK_TREE_VIEW(treeview), FALSE); |