| Submitter | Joshua Lock |
|---|---|
| Date | April 5, 2012, 6:29 p.m. |
| Message ID | <b089f5f450d0a89b68795584debe2fbee5dc8fc9.1333650445.git.josh@linux.intel.com> |
| Download | mbox | patch |
| Permalink | /patch/25233/ |
| State | Accepted |
| Commit | 2b6ce54cdc23c5fc1325e42634287134f55aacbf |
| Headers | show |
Comments
Patch
diff --git a/lib/bb/ui/crumbs/persistenttooltip.py b/lib/bb/ui/crumbs/persistenttooltip.py index 69e059b..4db3018 100644 --- a/lib/bb/ui/crumbs/persistenttooltip.py +++ b/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)
CentOS 6.x doesn't ship with new enough pygtk for this API. Signed-off-by: Joshua Lock <josh@linux.intel.com> --- lib/bb/ui/crumbs/persistenttooltip.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)