diff options
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobwidget.py | 10 |
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 | ||
541 | class HobWarpCellRendererText(gtk.CellRendererText): | 535 | class HobWarpCellRendererText(gtk.CellRendererText): |
542 | def __init__(self, col_number): | 536 | def __init__(self, col_number): |