Received: from mga11.intel.com ([192.55.52.93]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1UL8NF-0004iX-QP for bitbake-devel@lists.openembedded.org; Thu, 28 Mar 2013 09:39:54 +0100 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 28 Mar 2013 01:22:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.84,924,1355126400"; d="scan'208";a="313050658" Received: from adinu-vostro-460.rb.intel.com ([10.237.105.146]) by fmsmga002.fm.intel.com with ESMTP; 28 Mar 2013 01:22:40 -0700 From: Andrei Dinu To: bitbake-devel@lists.openembedded.org Date: Thu, 28 Mar 2013 10:23:21 +0200 Message-Id: <1364459002-4165-6-git-send-email-andrei.adrianx.dinu@intel.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1364459002-4165-1-git-send-email-andrei.adrianx.dinu@intel.com> References: <1364459002-4165-1-git-send-email-andrei.adrianx.dinu@intel.com> Subject: [PATCH 5/6] hoblistmodel.py : passing the package information to hob X-BeenThere: bitbake-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2013 08:39:54 -0000 Added a new column to the model and also populating it with the information brought in from the packageinfo.bbclass. Signed-off-by: Andrei Dinu --- bitbake/lib/bb/ui/crumbs/hoblistmodel.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py index 9b8db23..67d40e0 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): provide filtered views of the data. """ - (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) + (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) __gsignals__ = { "package-selection-changed" : (gobject.SIGNAL_RUN_LAST, @@ -61,6 +61,7 @@ class PackageListModel(gtk.ListStore): gobject.TYPE_STRING, gobject.TYPE_BOOLEAN, gobject.TYPE_BOOLEAN, + gobject.TYPE_STRING, gobject.TYPE_STRING) """ @@ -199,6 +200,7 @@ class PackageListModel(gtk.ListStore): rdep = getpkgvalue(pkginfo, 'RDEPENDS', pkg, "") rrec = getpkgvalue(pkginfo, 'RRECOMMENDS', pkg, "") rprov = getpkgvalue(pkginfo, 'RPROVIDES', pkg, "") + files_list = getpkgvalue(pkginfo, 'FILES_INFO', pkg, "") for i in rprov.split(): self.rprov_pkg[i] = pkg @@ -218,7 +220,7 @@ class PackageListModel(gtk.ListStore): self.COL_RDEP, rdep + ' ' + rrec, self.COL_RPROV, rprov, self.COL_SIZE, size, self.COL_RCP, recipe, self.COL_BINB, "", - self.COL_INC, False, self.COL_FONT, '10') + self.COL_INC, False, self.COL_FONT, '10', self.COL_FLIST, files_list) self.pn_path = {} it = self.get_iter_first() -- 1.7.9.5