[gnome-packagekit] trivial: sort the update viewer treeview by severity



commit edbe0925317312ad7f22e4c5e4f1d60419f3fc39
Author: Richard Hughes <richard hughsie com>
Date:   Mon Aug 22 20:44:14 2011 +0100

    trivial: sort the update viewer treeview by severity

 src/gpk-update-viewer.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/gpk-update-viewer.c b/src/gpk-update-viewer.c
index 032b761..f46af5c 100644
--- a/src/gpk-update-viewer.c
+++ b/src/gpk-update-viewer.c
@@ -2697,7 +2697,9 @@ gpk_update_viewer_get_updates_cb (PkClient *client, GAsyncResult *res, gpointer
 	/* sort by name */
 	treeview = GTK_TREE_VIEW(gtk_builder_get_object (builder, "treeview_updates"));
 	model = gtk_tree_view_get_model (treeview);
-	gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (model), GPK_UPDATES_COLUMN_ID, GTK_SORT_ASCENDING);
+	gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (model),
+					      GPK_UPDATES_COLUMN_INFO,
+					      GTK_SORT_DESCENDING);
 	gtk_tree_view_expand_all (treeview);
 
 	/* get the download sizes */



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