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

login
register
mail settings
Submitter Constantin Musca
Date Oct. 2, 2012, 2:59 p.m.
Message ID <1349189985-8377-1-git-send-email-constantinx.musca@intel.com>
Download mbox | patch
Permalink /patch/37621/
State New
Headers show

Comments

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

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)