diff options
author | Joshua Lock <josh@linux.intel.com> | 2012-04-04 16:07:45 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-11 00:04:41 +0100 |
commit | b2fb7ddedda5bbd72498af58313f104f2a206356 (patch) | |
tree | 7ca5c63f2f8e9c71c19642cbf50aa247ebbcb74e /bitbake | |
parent | 0d5e808777cfe007d879e3b31a3e6f2e533f104c (diff) | |
download | ast2050-yocto-poky-b2fb7ddedda5bbd72498af58313f104f2a206356.zip ast2050-yocto-poky-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.py | 2 |
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 69e059b..4db3018 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): self.button = gtk.Button() self.button.set_image(img) self.button.connect("clicked", self._dismiss_cb) - self.button.set_can_default(True) + self.button.set_flags(gtk.CAN_DEFAULT) self.button.grab_focus() self.button.show() vbox = gtk.VBox(False, 0) |