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>
This commit is contained in:
Joshua Lock 2011-07-28 14:15:35 -07:00 committed by Richard Purdie
parent 639e9d9481
commit ade2a27179
1 changed files with 5 additions and 0 deletions

View File

@ -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):