From ade2a27179c2036e87a38fa619cb17b6b2ff1f52 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Thu, 28 Jul 2011 14:15:35 -0700 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/hob.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bitbake/lib') diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py index 305559f24e..750ab28b31 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): -- cgit v1.2.3-54-g00ecf