From patchwork Sun Apr 1 12:14:14 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [bitbake-devel,06/10] Hob: Remove the recipe/task type for multilib Date: Sun, 01 Apr 2012 12:14:14 -0000 From: Dongxiao Xu X-Patchwork-Id: 25017 Message-Id: <6429ae88b0fca67fe5bacb121edb0ace5b2ec87a.1333269705.git.dongxiao.xu@intel.com> To: bitbake-devel@lists.openembedded.org We will not display multilib recipes and tasks in separate tabs, therefore remove the specific types. Signed-off-by: Dongxiao Xu --- lib/bb/ui/crumbs/hoblistmodel.py | 10 ++-------- 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/lib/bb/ui/crumbs/hoblistmodel.py b/lib/bb/ui/crumbs/hoblistmodel.py index a09c7c7..6a829e2 100644 --- a/lib/bb/ui/crumbs/hoblistmodel.py +++ b/lib/bb/ui/crumbs/hoblistmodel.py @@ -530,10 +530,7 @@ class RecipeListModel(gtk.ListStore): depends = event_model["depends"].get(item, []) + event_model["rdepends-pn"].get(item, []) if ('task-' in name): - if ('lib32-' in name or 'lib64-' in name): - atype = 'mltask' - else: - atype = 'task' + atype = 'task' elif ('image.bbclass' in " ".join(inherits)): if name != "hob-image": atype = 'image' @@ -543,10 +540,7 @@ class RecipeListModel(gtk.ListStore): elif (name == 'dummy-image' or name == 'dummy-toolchain'): atype = 'dummy' else: - if ('lib32-' in name or 'lib64-' in name): - atype = 'mlrecipe' - else: - atype = 'recipe' + atype = 'recipe' self.set(self.append(), self.COL_NAME, item, self.COL_DESC, desc, self.COL_LIC, lic, self.COL_GROUP, group,