aboutsummaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorBob Foerster <robert@erafx.com>2010-12-21 08:12:21 -0500
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-04 14:46:53 +0000
commit572bf4b3821b1df7abacd3badfdd7114ab381c4a (patch)
tree8e9f9ca6cd90e5581d878d527404150ecd73449e /bitbake
parent8eee4221db79820fabaf929006ed052abfe7ccc0 (diff)
downloadopenembedded-core-contrib-572bf4b3821b1df7abacd3badfdd7114ab381c4a.tar.gz
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>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/depexp.py2
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)