summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristiana Voicu <cristiana.voicu@intel.com>2012-09-27 17:12:59 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-27 16:40:37 +0100
commit2cc5f517224cee8e2dd2b045a277423ce66ec886 (patch)
tree462e0b5c3e715e70b2fb8c870567d884b8f8f2fb
parenta78f9ded7896432b107f34c0bb608b389fdb676a (diff)
downloadbitbake-2cc5f517224cee8e2dd2b045a277423ce66ec886.tar.gz
hob/recipeselectionpage: recipes should not be shown brought in by themselves
[YOCTO #3107] Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/ui/crumbs/hoblistmodel.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bb/ui/crumbs/hoblistmodel.py b/lib/bb/ui/crumbs/hoblistmodel.py
index 15894d378..fe58adfbc 100644
--- a/lib/bb/ui/crumbs/hoblistmodel.py
+++ b/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):