summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-07-28 14:15:35 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-02 22:31:42 +0100
commitade2a27179c2036e87a38fa619cb17b6b2ff1f52 (patch)
tree610a2eb1a010dcd5113c196191ff33cfacb635f9
parent639e9d948151f9dce18acead251f1083e30c8cb7 (diff)
downloadast2050-yocto-poky-ade2a27179c2036e87a38fa619cb17b6b2ff1f52.zip
ast2050-yocto-poky-ade2a27179c2036e87a38fa619cb17b6b2ff1f52.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. (Bitbake rev: 7b977ff222d4a318efabd0ca5f37fa03b9acb996) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/ui/hob.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py
index 305559f..750ab28 100644
--- a/bitbake/lib/bb/ui/hob.py
+++ b/bitbake/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):
OpenPOWER on IntegriCloud