aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2003-07-25 19:00:32 +0800
committerXan Lopez <xan@src.gnome.org>2003-07-25 19:00:32 +0800
commit2857ab5db775b460de06959ba94f645e7fad1a4e (patch)
tree78c4f068f65fcc00223774730ceae1d2ab67d753 /src
parent36b66330e3c387722cef7a87b6fe2e6abde4e0b6 (diff)
downloadgsoc2013-epiphany-2857ab5db775b460de06959ba94f645e7fad1a4e.tar
gsoc2013-epiphany-2857ab5db775b460de06959ba94f645e7fad1a4e.tar.gz
gsoc2013-epiphany-2857ab5db775b460de06959ba94f645e7fad1a4e.tar.bz2
gsoc2013-epiphany-2857ab5db775b460de06959ba94f645e7fad1a4e.tar.lz
gsoc2013-epiphany-2857ab5db775b460de06959ba94f645e7fad1a4e.tar.xz
gsoc2013-epiphany-2857ab5db775b460de06959ba94f645e7fad1a4e.tar.zst
gsoc2013-epiphany-2857ab5db775b460de06959ba94f645e7fad1a4e.zip
Sort on the HOST columns by default (#115472).
Sort on the HOST columns by default (#115472).
Diffstat (limited to 'src')
-rwxr-xr-xsrc/pdm-dialog.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c
index 1ba262599..981016d67 100755
--- a/src/pdm-dialog.c
+++ b/src/pdm-dialog.c
@@ -242,6 +242,9 @@ setup_passwords_treeview (PdmDialog *dialog)
selection = gtk_tree_view_get_selection (treeview);
gtk_tree_selection_set_mode (selection,
GTK_SELECTION_MULTIPLE);
+ gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (liststore),
+ COL_PASSWORDS_HOST,
+ GTK_SORT_ASCENDING);
renderer = gtk_cell_renderer_text_new ();
@@ -295,6 +298,9 @@ setup_cookies_treeview (PdmDialog *dialog)
selection = gtk_tree_view_get_selection (treeview);
gtk_tree_selection_set_mode (selection,
GTK_SELECTION_MULTIPLE);
+ gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (liststore),
+ COL_COOKIES_HOST,
+ GTK_SORT_ASCENDING);
g_signal_connect (selection, "changed",
G_CALLBACK(cookies_treeview_selection_changed_cb),