[network-manager-applet] editor: sort connections so most recently connected ones are at the top



commit ffe535d798a6c43b774735ff2903c801f42c843d
Author: Dan Williams <dcbw redhat com>
Date:   Thu Sep 13 15:45:45 2012 -0500

    editor: sort connections so most recently connected ones are at the top

 src/connection-editor/nm-connection-list.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/connection-editor/nm-connection-list.c b/src/connection-editor/nm-connection-list.c
index f3a7e1a..84f15bd 100644
--- a/src/connection-editor/nm-connection-list.c
+++ b/src/connection-editor/nm-connection-list.c
@@ -617,7 +617,7 @@ initialize_treeview (NMConnectionList *self)
 	                                 self->sortable, NULL);
 	gtk_tree_sortable_set_sort_func (self->sortable, COL_ID, id_sort_func,
 	                                 self->sortable, NULL);
-	gtk_tree_sortable_set_sort_column_id (self->sortable, COL_TIMESTAMP, GTK_SORT_DESCENDING);
+	gtk_tree_sortable_set_sort_column_id (self->sortable, COL_TIMESTAMP, GTK_SORT_ASCENDING);
 
 	gtk_tree_view_set_model (self->connection_list, GTK_TREE_MODEL (self->sortable));
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]