aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rwxr-xr-xsrc/pdm-dialog.c6
2 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f49e56d3e..5d9635b3c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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),