[bitbake-devel] hob/hobpages: Generate the title label every time

Submitted by Constantin Musca on Oct. 2, 2012, 2:59 p.m.

Details

Message ID 1349189985-8377-1-git-send-email-constantinx.musca@intel.com
State New
Headers show

Commit Message

Constantin Musca Oct. 2, 2012, 2:59 p.m.
- the title label is destroyed at page switching (that's why we need
to generate it every time)

[YOCTO #3195]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
---
 bitbake/lib/bb/ui/crumbs/hobpages.py |    1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

diff --git a/bitbake/lib/bb/ui/crumbs/hobpages.py b/bitbake/lib/bb/ui/crumbs/hobpages.py
index 5b49764..0fd3598 100755
--- a/bitbake/lib/bb/ui/crumbs/hobpages.py
+++ b/bitbake/lib/bb/ui/crumbs/hobpages.py
@@ -62,6 +62,7 @@  class HobPage (gtk.VBox):
 
         hbox = gtk.HBox()
 
+        self.title_label = gtk.Label()
         self.title_label.set_markup("<span size='x-large'>%s</span>" % self.title)
         hbox.pack_start(self.title_label, expand=False, fill=False, padding=20)