summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2012-04-04 16:07:45 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-11 00:04:41 +0100
commitb2fb7ddedda5bbd72498af58313f104f2a206356 (patch)
tree7ca5c63f2f8e9c71c19642cbf50aa247ebbcb74e /bitbake
parent0d5e808777cfe007d879e3b31a3e6f2e533f104c (diff)
downloadpoky-b2fb7ddedda5bbd72498af58313f104f2a206356.tar.gz
lib/bb/ui/crumbs/persistenttooltip: replace 2.22 API
CentOS 6.x doesn't ship with new enough pygtk for this API. (Bitbake rev: 2b6ce54cdc23c5fc1325e42634287134f55aacbf) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/crumbs/persistenttooltip.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/persistenttooltip.py b/bitbake/lib/bb/ui/crumbs/persistenttooltip.py
index 69e059b204..4db3018cc7 100644
--- a/bitbake/lib/bb/ui/crumbs/persistenttooltip.py
+++ b/bitbake/lib/bb/ui/crumbs/persistenttooltip.py
@@ -87,7 +87,7 @@ class PersistentTooltip(gtk.Window):
87 self.button = gtk.Button() 87 self.button = gtk.Button()
88 self.button.set_image(img) 88 self.button.set_image(img)
89 self.button.connect("clicked", self._dismiss_cb) 89 self.button.connect("clicked", self._dismiss_cb)
90 self.button.set_can_default(True) 90 self.button.set_flags(gtk.CAN_DEFAULT)
91 self.button.grab_focus() 91 self.button.grab_focus()
92 self.button.show() 92 self.button.show()
93 vbox = gtk.VBox(False, 0) 93 vbox = gtk.VBox(False, 0)