diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2012-03-13 17:10:26 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-15 10:35:17 +0000 |
commit | ea8a7a82da8fa1fa3ff89877fa31dad33407d734 (patch) | |
tree | 630dbc72caa876b00f6addfd415b68688c7280ab /bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |
parent | a957dbd0a92642362757a9af3660f693851d9b5c (diff) | |
download | poky-ea8a7a82da8fa1fa3ff89877fa31dad33407d734.tar.gz |
Hob: Add stop button for parsing progress
Add a Stop button to allow user to quit the parsing process.
(Bitbake rev: a1936ff544f21cde0765f24dc9b0af126ca98752)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobeventhandler.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py index cd257548e4..790e2ef819 100644 --- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py +++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |||
@@ -371,6 +371,9 @@ class HobHandler(gobject.GObject): | |||
371 | self.commands_async = [] | 371 | self.commands_async = [] |
372 | self.building = False | 372 | self.building = False |
373 | 373 | ||
374 | def cancel_parse(self): | ||
375 | self.server.runCommand(["stateStop"]) | ||
376 | |||
374 | def cancel_build(self, force=False): | 377 | def cancel_build(self, force=False): |
375 | if force: | 378 | if force: |
376 | # Force the cooker to stop as quickly as possible | 379 | # Force the cooker to stop as quickly as possible |