summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
authorLiming An <limingx.l.an@intel.com>2012-03-20 18:51:54 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-20 15:21:35 +0000
commitf1c35a6ad39eaf8efbf20dab1441f52613bb860b (patch)
tree637bbe225fd872539d7f31c8d6223dc3a51c8f47 /bitbake/lib/bb
parent89a5428cc11b8166ad04b79bf847198c4f594f90 (diff)
downloadpoky-f1c35a6ad39eaf8efbf20dab1441f52613bb860b.tar.gz
Hob: fixed the tabbar search entry retaining focus when user has clicked off it issue
Add reset focus code to fixed the search entry retaining focus issue (From Poky rev: 75969f92af4b0aae25dcaa3321f835dd729f4bf9) (Bitbake rev: 0531730b255f41b2804bcd322e10c52cbf13537a) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobwidget.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobwidget.py b/bitbake/lib/bb/ui/crumbs/hobwidget.py
index 0bb83d78f5..4b0a0cf808 100644
--- a/bitbake/lib/bb/ui/crumbs/hobwidget.py
+++ b/bitbake/lib/bb/ui/crumbs/hobwidget.py
@@ -344,6 +344,7 @@ class HobTabBar(gtk.DrawingArea):
344 and (child["y"] < y) and (y < child["y"] + self.tab_height): 344 and (child["y"] < y) and (y < child["y"] + self.tab_height):
345 self.current_child = child 345 self.current_child = child
346 result = True 346 result = True
347 self.grab_focus()
347 break 348 break
348 349
349 # check the blank area is focus in or not 350 # check the blank area is focus in or not