diff options
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/ui/hob.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py index ab6022b7dc..175e5bdf6c 100644 --- a/bitbake/lib/bb/ui/hob.py +++ b/bitbake/lib/bb/ui/hob.py | |||
@@ -76,7 +76,7 @@ class MainWindow (gtk.Window): | |||
76 | label.show() | 76 | label.show() |
77 | response = dialog.run() | 77 | response = dialog.run() |
78 | dialog.destroy() | 78 | dialog.destroy() |
79 | if not response == gtk.RESPONSE_YES: | 79 | if response == gtk.RESPONSE_YES: |
80 | self.model.reset() # NOTE: really? | 80 | self.model.reset() # NOTE: really? |
81 | self.nb.set_current_page(0) | 81 | self.nb.set_current_page(0) |
82 | return | 82 | return |
@@ -555,7 +555,6 @@ class MainWindow (gtk.Window): | |||
555 | 555 | ||
556 | def main (server, eventHandler): | 556 | def main (server, eventHandler): |
557 | gobject.threads_init() | 557 | gobject.threads_init() |
558 | gtk.gdk.threads_init() | ||
559 | 558 | ||
560 | taskmodel = TaskListModel() | 559 | taskmodel = TaskListModel() |
561 | handler = HobHandler(taskmodel, server) | 560 | handler = HobHandler(taskmodel, server) |