From 572bf4b3821b1df7abacd3badfdd7114ab381c4a Mon Sep 17 00:00:00 2001 From: Bob Foerster Date: Tue, 21 Dec 2010 08:12:21 -0500 Subject: depexp: add sorting of all package lists Without sorting, it's very difficult to find the information you're looking for. Now, the lists are all sorted alphabetically for easy viewing. (Bitbake rev: 80e3d3a130b9dee72c11c6946bb5ff7705111d7c) Signed-off-by: Bob Foerster Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/depexp.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bitbake/lib/bb/ui/depexp.py b/bitbake/lib/bb/ui/depexp.py index a6039ec57d..48f6f792db 100644 --- a/bitbake/lib/bb/ui/depexp.py +++ b/bitbake/lib/bb/ui/depexp.py @@ -78,7 +78,9 @@ class DepExplorer(gtk.Window): # Create the data models self.pkg_model = gtk.ListStore(gobject.TYPE_STRING) + self.pkg_model.set_sort_column_id(COL_PKG_NAME, gtk.SORT_ASCENDING) self.depends_model = gtk.ListStore(gobject.TYPE_INT, gobject.TYPE_STRING, gobject.TYPE_STRING) + self.depends_model.set_sort_column_id(COL_DEP_PACKAGE, gtk.SORT_ASCENDING) pane = gtk.HPaned() pane.set_position(250) -- cgit v1.2.3-54-g00ecf