mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
6ac1545453
commit
c8c8d75f23
@@ -529,14 +529,8 @@ class HobNotebook(gtk.Notebook):
|
||||
self.reset_entry(search)
|
||||
|
||||
def set_search_entry_clear_cb(self, search, icon_pos, event):
|
||||
self.reset_entry(search)
|
||||
|
||||
def set_page(self, title):
|
||||
for child in self.tabbar.children:
|
||||
if child["title"] == title:
|
||||
self.tabbar.current_child = child
|
||||
self.tabbar.grab_focus()
|
||||
self.notebook.set_current_page(child["toggled_page"])
|
||||
if search.get_editable() == True:
|
||||
search.set_text("")
|
||||
|
||||
class HobWarpCellRendererText(gtk.CellRendererText):
|
||||
def __init__(self, col_number):
|
||||
|
||||
Reference in New Issue
Block a user