summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/hobwidget.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-13 12:56:51 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-16 23:32:40 +0100
commit31e34f26df41be7ebe3e1d60fd0be6b088261e69 (patch)
tree2452e510108db2553d00fc139fa44ea2c17170db /bitbake/lib/bb/ui/crumbs/hobwidget.py
parent455f06497ebb589ab93c02322fbd0628a31ead73 (diff)
downloadpoky-31e34f26df41be7ebe3e1d60fd0be6b088261e69.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: 024d7889c31be500d658b819891aec2a7e3c7c0d) 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.py8
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
284class HobButton(BaseHobButton): 284class 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)