diff options
author | Joshua Lock <josh@linux.intel.com> | 2011-07-28 14:15:35 -0700 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2011-07-28 15:27:52 -0700 |
commit | 7b977ff222d4a318efabd0ca5f37fa03b9acb996 (patch) | |
tree | 623c422070c4ea89d3316c8e2b66a582a7f1223d /lib | |
parent | b1b02d523c6281615b72255774ed455b4cae4847 (diff) | |
download | bitbake-contrib-7b977ff222d4a318efabd0ca5f37fa03b9acb996.tar.gz |
hob: unset busy cursor on exit
Prevent the busy cursor being shown after hob exits if quit is called
whilst the busy cursor is set.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bb/ui/hob.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/bb/ui/hob.py b/lib/bb/ui/hob.py index 305559f24..750ab28b3 100644 --- a/lib/bb/ui/hob.py +++ b/lib/bb/ui/hob.py @@ -110,6 +110,11 @@ class MainWindow (gtk.Window): rep = self.model.get_build_rep() rep.writeRecipe(self.save_path, self.model) + # Prevent the busy cursor being shown after hob exits if quit is called + # whilst the busy cursor is set + self.set_busy_cursor(False) + + gtk.main_quit() gtk.main_quit() def scroll_tv_cb(self, model, path, it, view): |