From 31e34f26df41be7ebe3e1d60fd0be6b088261e69 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 13 May 2016 12:56:51 +0100 Subject: 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 --- bitbake/lib/bb/ui/crumbs/hobwidget.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bitbake/lib/bb/ui/crumbs/hobwidget.py') 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): style = button.get_style() style = gtk.rc_get_style_by_paths(gtk.settings_get_default(), 'gtk-button', 'gtk-button', gobject.TYPE_NONE) - button.set_flags(gtk.CAN_DEFAULT) + #FIXME button.set_flags(gtk.CAN_DEFAULT) button.grab_default() # label = "%s" % gobject.markup_escape_text(button.get_label()) label = button.get_label() button.set_label(label) - button.child.set_use_markup(True) + #FIXME button.child.set_use_markup(True) class HobButton(BaseHobButton): """ @@ -399,8 +399,8 @@ class HobInfoButton(gtk.EventBox): self.dialog = PropertyDialog(title = '', parent = self.my_parent, information = self.tip_markup, - flags = gtk.DIALOG_DESTROY_WITH_PARENT - | gtk.DIALOG_NO_SEPARATOR) + flags = gtk.DIALOG_DESTROY_WITH_PARENT) + #FMXIE | gtk.DIALOG_NO_SEPARATOR button = self.dialog.add_button("Close", gtk.RESPONSE_CANCEL) HobAltButton.style_button(button) -- cgit v1.2.3-54-g00ecf