diff options
author | Bob Foerster <robert@erafx.com> | 2010-12-21 08:12:21 -0500 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2011-01-04 14:46:53 +0000 |
commit | 572bf4b3821b1df7abacd3badfdd7114ab381c4a (patch) | |
tree | 8e9f9ca6cd90e5581d878d527404150ecd73449e | |
parent | 8eee4221db79820fabaf929006ed052abfe7ccc0 (diff) | |
download | openembedded-core-572bf4b3821b1df7abacd3badfdd7114ab381c4a.tar.gz openembedded-core-572bf4b3821b1df7abacd3badfdd7114ab381c4a.tar.bz2 openembedded-core-572bf4b3821b1df7abacd3badfdd7114ab381c4a.zip |
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 <robert@erafx.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r-- | bitbake/lib/bb/ui/depexp.py | 2 |
1 files changed, 2 insertions, 0 deletions
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) |