summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/ui/hob.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py
index b60ca2f323..a8bbd735a9 100644
--- a/bitbake/lib/bb/ui/hob.py
+++ b/bitbake/lib/bb/ui/hob.py
@@ -282,6 +282,7 @@ class MainWindow (gtk.Window):
282 dialog.destroy() 282 dialog.destroy()
283 if response == gtk.RESPONSE_OK: 283 if response == gtk.RESPONSE_OK:
284 self.reset_build() 284 self.reset_build()
285 self.search.set_text("")
285 return 286 return
286 287
287 def reset_build(self): 288 def reset_build(self):
@@ -576,12 +577,12 @@ class MainWindow (gtk.Window):
576 577
577 hb = gtk.HBox(False, 0) 578 hb = gtk.HBox(False, 0)
578 hb.show() 579 hb.show()
579 search = gtk.Entry() 580 self.search = gtk.Entry()
580 search.set_icon_from_stock(gtk.ENTRY_ICON_SECONDARY, "gtk-clear") 581 self.search.set_icon_from_stock(gtk.ENTRY_ICON_SECONDARY, "gtk-clear")
581 search.connect("icon-release", self.search_entry_clear_cb) 582 self.search.connect("icon-release", self.search_entry_clear_cb)
582 search.show() 583 self.search.show()
583 self.pkgsaz_tree.set_search_entry(search) 584 self.pkgsaz_tree.set_search_entry(self.search)
584 hb.pack_end(search, False, False, 0) 585 hb.pack_end(self.search, False, False, 0)
585 label = gtk.Label("Search packages:") 586 label = gtk.Label("Search packages:")
586 label.show() 587 label.show()
587 hb.pack_end(label, False, False, 6) 588 hb.pack_end(label, False, False, 6)