summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorLiming An <limingx.l.an@intel.com>2012-06-01 18:40:58 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-08 12:13:14 +0100
commitc8c8d75f234121172117c42106f7840472a9ce66 (patch)
tree9be6caba5f1e47cb047bfab62c8c22150dd039f6 /bitbake
parent6ac1545453b3ff24422c9d2eea17996c041fb483 (diff)
downloadpoky-c8c8d75f234121172117c42106f7840472a9ce66.tar.gz
Hob: fix entry of recipe page can't be edited in case after clicked clear button
cancel some inviable code and fixed this issue (Bitbake rev: d2e2c917e4a93ec7fd344a2c703d526ce7b690cf) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobwidget.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobwidget.py b/bitbake/lib/bb/ui/crumbs/hobwidget.py
index bd9e2e28e9..afcd5b8c7a 100644
--- a/bitbake/lib/bb/ui/crumbs/hobwidget.py
+++ b/bitbake/lib/bb/ui/crumbs/hobwidget.py
@@ -529,14 +529,8 @@ class HobNotebook(gtk.Notebook):
529 self.reset_entry(search) 529 self.reset_entry(search)
530 530
531 def set_search_entry_clear_cb(self, search, icon_pos, event): 531 def set_search_entry_clear_cb(self, search, icon_pos, event):
532 self.reset_entry(search) 532 if search.get_editable() == True:
533 533 search.set_text("")
534 def set_page(self, title):
535 for child in self.tabbar.children:
536 if child["title"] == title:
537 self.tabbar.current_child = child
538 self.tabbar.grab_focus()
539 self.notebook.set_current_page(child["toggled_page"])
540 534
541class HobWarpCellRendererText(gtk.CellRendererText): 535class HobWarpCellRendererText(gtk.CellRendererText):
542 def __init__(self, col_number): 536 def __init__(self, col_number):