diff options
author | Xan Lopez <xan@src.gnome.org> | 2003-07-25 19:00:32 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2003-07-25 19:00:32 +0800 |
commit | 2857ab5db775b460de06959ba94f645e7fad1a4e (patch) | |
tree | 78c4f068f65fcc00223774730ceae1d2ab67d753 | |
parent | 36b66330e3c387722cef7a87b6fe2e6abde4e0b6 (diff) | |
download | gsoc2013-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).
-rw-r--r-- | ChangeLog | 7 | ||||
-rwxr-xr-x | src/pdm-dialog.c | 6 |
2 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2003-07-25 Xan Lopez <xan@masilla.org> + + * src/pdm-dialog.c: (setup_passwords_treeview), + (setup_cookies_treeview): + + Sort on the HOST columns by default (#115472). + 2003-07-24 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: 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), |