From patchwork Thu Sep 27 14:12:59 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [bitbake-devel] hob/recipeselectionpage: recipes should not be shown brought in by themselves Date: Thu, 27 Sep 2012 14:12:59 -0000 From: Cristiana Voicu X-Patchwork-Id: 37359 Message-Id: <1348755179-5257-1-git-send-email-cristiana.voicu@intel.com> To: bitbake-devel@lists.openembedded.org [YOCTO #3107] Signed-off-by: Cristiana Voicu --- bitbake/lib/bb/ui/crumbs/hoblistmodel.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py index 15894d3..fe58adf 100644 --- a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py +++ b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py @@ -672,6 +672,10 @@ class RecipeListModel(gtk.ListStore): self[dep_path][self.COL_BINB] = ', '.join(dep_bin).lstrip(', ') elif not dep_included: self.include_item(dep_path, binb=item_name, image_contents=image_contents) + dep_bin = self[item_path][self.COL_BINB].split(', ') + if self[item_path][self.COL_NAME] in dep_bin: + dep_bin.remove(self[item_path][self.COL_NAME]) + self[item_path][self.COL_BINB] = ', '.join(dep_bin).lstrip(', ') def exclude_item(self, item_path): if not self.path_included(item_path):