aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-encoding-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-encoding-dialog.c')
-rw-r--r--src/ephy-encoding-dialog.c6
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);