diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-13 12:56:51 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-02 08:24:03 +0100 |
commit | 685628ebc459dd1a09ce0dafc88a159aaaead732 (patch) | |
tree | 8fa28f9a912df01444f75fda3ee20a33a0923ac2 /bitbake/lib/bb/ui/crumbs/hobwidget.py | |
parent | e80a8c25dca1178bf31840c4672cc4ca1ca7ce18 (diff) | |
download | poky-685628ebc459dd1a09ce0dafc88a159aaaead732.tar.gz |
bitbake: image-writer/goggle: Disable pygtkcompat problems
Disable the problematic gtk usage for use with pygtkcompat. The following
commit removes these tools/UIs entirely but we may as well leave this
piece in the history in case anyone does want a starting point for reusing
them.
(Bitbake rev: c53c7418d392452450352ca2175667dbdbd92401)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobwidget.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobwidget.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobwidget.py b/bitbake/lib/bb/ui/crumbs/hobwidget.py index 1f51a3cf7f..3f6138b277 100644 --- a/bitbake/lib/bb/ui/crumbs/hobwidget.py +++ b/bitbake/lib/bb/ui/crumbs/hobwidget.py | |||
@@ -273,13 +273,13 @@ class BaseHobButton(gtk.Button): | |||
273 | style = button.get_style() | 273 | style = button.get_style() |
274 | style = gtk.rc_get_style_by_paths(gtk.settings_get_default(), 'gtk-button', 'gtk-button', gobject.TYPE_NONE) | 274 | style = gtk.rc_get_style_by_paths(gtk.settings_get_default(), 'gtk-button', 'gtk-button', gobject.TYPE_NONE) |
275 | 275 | ||
276 | button.set_flags(gtk.CAN_DEFAULT) | 276 | #FIXME button.set_flags(gtk.CAN_DEFAULT) |
277 | button.grab_default() | 277 | button.grab_default() |
278 | 278 | ||
279 | # label = "<span size='x-large'><b>%s</b></span>" % gobject.markup_escape_text(button.get_label()) | 279 | # label = "<span size='x-large'><b>%s</b></span>" % gobject.markup_escape_text(button.get_label()) |
280 | label = button.get_label() | 280 | label = button.get_label() |
281 | button.set_label(label) | 281 | button.set_label(label) |
282 | button.child.set_use_markup(True) | 282 | #FIXME button.child.set_use_markup(True) |
283 | 283 | ||
284 | class HobButton(BaseHobButton): | 284 | class HobButton(BaseHobButton): |
285 | """ | 285 | """ |
@@ -399,8 +399,8 @@ class HobInfoButton(gtk.EventBox): | |||
399 | self.dialog = PropertyDialog(title = '', | 399 | self.dialog = PropertyDialog(title = '', |
400 | parent = self.my_parent, | 400 | parent = self.my_parent, |
401 | information = self.tip_markup, | 401 | information = self.tip_markup, |
402 | flags = gtk.DIALOG_DESTROY_WITH_PARENT | 402 | flags = gtk.DIALOG_DESTROY_WITH_PARENT) |
403 | | gtk.DIALOG_NO_SEPARATOR) | 403 | #FMXIE | gtk.DIALOG_NO_SEPARATOR |
404 | 404 | ||
405 | button = self.dialog.add_button("Close", gtk.RESPONSE_CANCEL) | 405 | button = self.dialog.add_button("Close", gtk.RESPONSE_CANCEL) |
406 | HobAltButton.style_button(button) | 406 | HobAltButton.style_button(button) |