summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui
diff options
context:
space:
mode:
authorAndrei Dinu <andrei.adrianx.dinu@intel.com>2013-03-28 10:23:21 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-29 10:41:24 +0000
commit026914ea4c2e7d2a9afbebfd71439c05078f56a7 (patch)
tree253d69cf8589c8d18506a4833baa3b246a443479 /bitbake/lib/bb/ui
parentd08acf97c997fda5157cade7524ae7f62d7098fa (diff)
downloadpoky-026914ea4c2e7d2a9afbebfd71439c05078f56a7.tar.gz
bitbake: hoblistmodel.py : passing the package information to hob
Added a new column to the model and also populating it with the information brought in from the packageinfo.bbclass. (Bitbake rev: afa78ae15be3e0babadd5d86092a2852135cfcce) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hoblistmodel.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py
index 9b8db23c79..67d40e09a6 100644
--- a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py
+++ b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py
@@ -35,7 +35,7 @@ class PackageListModel(gtk.ListStore):
35 provide filtered views of the data. 35 provide filtered views of the data.
36 """ 36 """
37 37
38 (COL_NAME, COL_VER, COL_REV, COL_RNM, COL_SEC, COL_SUM, COL_RDEP, COL_RPROV, COL_SIZE, COL_RCP, COL_BINB, COL_INC, COL_FADE_INC, COL_FONT) = range(14) 38 (COL_NAME, COL_VER, COL_REV, COL_RNM, COL_SEC, COL_SUM, COL_RDEP, COL_RPROV, COL_SIZE, COL_RCP, COL_BINB, COL_INC, COL_FADE_INC, COL_FONT, COL_FLIST) = range(15)
39 39
40 __gsignals__ = { 40 __gsignals__ = {
41 "package-selection-changed" : (gobject.SIGNAL_RUN_LAST, 41 "package-selection-changed" : (gobject.SIGNAL_RUN_LAST,
@@ -61,6 +61,7 @@ class PackageListModel(gtk.ListStore):
61 gobject.TYPE_STRING, 61 gobject.TYPE_STRING,
62 gobject.TYPE_BOOLEAN, 62 gobject.TYPE_BOOLEAN,
63 gobject.TYPE_BOOLEAN, 63 gobject.TYPE_BOOLEAN,
64 gobject.TYPE_STRING,
64 gobject.TYPE_STRING) 65 gobject.TYPE_STRING)
65 66
66 """ 67 """
@@ -199,6 +200,7 @@ class PackageListModel(gtk.ListStore):
199 rdep = getpkgvalue(pkginfo, 'RDEPENDS', pkg, "") 200 rdep = getpkgvalue(pkginfo, 'RDEPENDS', pkg, "")
200 rrec = getpkgvalue(pkginfo, 'RRECOMMENDS', pkg, "") 201 rrec = getpkgvalue(pkginfo, 'RRECOMMENDS', pkg, "")
201 rprov = getpkgvalue(pkginfo, 'RPROVIDES', pkg, "") 202 rprov = getpkgvalue(pkginfo, 'RPROVIDES', pkg, "")
203 files_list = getpkgvalue(pkginfo, 'FILES_INFO', pkg, "")
202 for i in rprov.split(): 204 for i in rprov.split():
203 self.rprov_pkg[i] = pkg 205 self.rprov_pkg[i] = pkg
204 206
@@ -218,7 +220,7 @@ class PackageListModel(gtk.ListStore):
218 self.COL_RDEP, rdep + ' ' + rrec, 220 self.COL_RDEP, rdep + ' ' + rrec,
219 self.COL_RPROV, rprov, self.COL_SIZE, size, 221 self.COL_RPROV, rprov, self.COL_SIZE, size,
220 self.COL_RCP, recipe, self.COL_BINB, "", 222 self.COL_RCP, recipe, self.COL_BINB, "",
221 self.COL_INC, False, self.COL_FONT, '10') 223 self.COL_INC, False, self.COL_FONT, '10', self.COL_FLIST, files_list)
222 224
223 self.pn_path = {} 225 self.pn_path = {}
224 it = self.get_iter_first() 226 it = self.get_iter_first()