summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiming An <limingx.l.an@intel.com>2012-04-16 18:09:48 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-16 12:56:25 +0100
commit5326847ef821c382aac26b474ab0e35939c463b7 (patch)
tree4f7737c7a50bb4ef6dcb0ca56f46857633dce578
parente966ae128a1dc924e7260c5b9889c6dedbd26c73 (diff)
downloadpoky-5326847ef821c382aac26b474ab0e35939c463b7.tar.gz
poky-5326847ef821c382aac26b474ab0e35939c463b7.tar.bz2
poky-5326847ef821c382aac26b474ab0e35939c463b7.zip
Hob: fixed a little view issue about package selection page
In package selection page, treeview cell data callback function not cover the 'else' case, so parent item will render the pervious value. (Bitbake rev: 98694c1dbc276cc151f393db67bfd43442da28ba) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobwidget.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobwidget.py b/bitbake/lib/bb/ui/crumbs/hobwidget.py
index 490de4a6b1..751b3e0a2e 100644
--- a/bitbake/lib/bb/ui/crumbs/hobwidget.py
+++ b/bitbake/lib/bb/ui/crumbs/hobwidget.py
@@ -174,7 +174,8 @@ class HobViewTable (gtk.VBox):
if binb:
bin = binb.split(', ')
cell.set_property('text', bin[0])
-
+ else:
+ cell.set_property('text', "")
return True
def set_model(self, tree_model):