diff options
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobwidget.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobwidget.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobwidget.py b/bitbake/lib/bb/ui/crumbs/hobwidget.py index 3ab30a6fce..28dc375da5 100644 --- a/bitbake/lib/bb/ui/crumbs/hobwidget.py +++ b/bitbake/lib/bb/ui/crumbs/hobwidget.py | |||
@@ -153,7 +153,12 @@ class HobViewTable (gtk.VBox): | |||
153 | # Just display the first item | 153 | # Just display the first item |
154 | if binb: | 154 | if binb: |
155 | bin = binb.split(', ') | 155 | bin = binb.split(', ') |
156 | cell.set_property('text', bin[0]) | 156 | total_no = len(bin) |
157 | if total_no > 1 and bin[0] == "User Selected": | ||
158 | present_binb = bin[1] + ' (+' + str(total_no) + ')' | ||
159 | else: | ||
160 | present_binb = bin[0] + ' (+' + str(total_no) + ')' | ||
161 | cell.set_property('text', present_binb) | ||
157 | else: | 162 | else: |
158 | cell.set_property('text', "") | 163 | cell.set_property('text', "") |
159 | return True | 164 | return True |