Skip to contentSkip to conversation

hob/hobpages: Generate the title label every time

PATCH New Constantin Musca 1 participant 1 message Oct 2, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hob/hobpages: Generate the title label every time

- the title label is destroyed at page switching (that's why we need to generate it every time)

[YOCTO #3195]

---
 bitbake/lib/bb/ui/crumbs/hobpages.py |    1 +
 1 file changed, 1 insertion(+)
bitbake/lib/bb/ui/crumbs/hobpages.py +1 -0
index 5b49764..0fd3598 100755
@@ -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)
 
Signature · 1 line
1.7.9.5