diff options
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobwidget.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobwidget.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobwidget.py b/bitbake/lib/bb/ui/crumbs/hobwidget.py index edb85db683..a7e5538b18 100644 --- a/bitbake/lib/bb/ui/crumbs/hobwidget.py +++ b/bitbake/lib/bb/ui/crumbs/hobwidget.py | |||
@@ -241,7 +241,7 @@ class HobAltButton(gtk.Button): | |||
241 | """ | 241 | """ |
242 | @staticmethod | 242 | @staticmethod |
243 | def desensitise_on_state_change_cb(button, state): | 243 | def desensitise_on_state_change_cb(button, state): |
244 | if button.get_state() == gtk.STATE_INSENSITIVE: | 244 | if not button.get_property("sensitive"): |
245 | HobAltButton.set_text(button, False) | 245 | HobAltButton.set_text(button, False) |
246 | else: | 246 | else: |
247 | HobAltButton.set_text(button, True) | 247 | HobAltButton.set_text(button, True) |