mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 03:49:32 +02:00
bitbake: Hob: change view of 'recipes' and 'packages' tables as ui design
changed the order of task tables, cancel the 'description' column, add the binb total number indicator, and so on [YOCTO 2195] (Bitbake rev: 6dc3263d60a6d35f9eebfcdbc2665201ee40b953) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a32f551c96
commit
95ae927dfc
@@ -153,7 +153,12 @@ class HobViewTable (gtk.VBox):
|
||||
# Just display the first item
|
||||
if binb:
|
||||
bin = binb.split(', ')
|
||||
cell.set_property('text', bin[0])
|
||||
total_no = len(bin)
|
||||
if total_no > 1 and bin[0] == "User Selected":
|
||||
present_binb = bin[1] + ' (+' + str(total_no) + ')'
|
||||
else:
|
||||
present_binb = bin[0] + ' (+' + str(total_no) + ')'
|
||||
cell.set_property('text', present_binb)
|
||||
else:
|
||||
cell.set_property('text', "")
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user