diff options
| author | Joshua Lock <josh@linux.intel.com> | 2011-05-10 17:07:56 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-16 20:48:34 +0100 |
| commit | 5251d9d9a5644aa463a9e40c6291562a44ca0c82 (patch) | |
| tree | dd0e53d63391674d0673d704626a08a80a263abe /bitbake/lib/bb/ui/crumbs/runningbuild.py | |
| parent | aa721aa065ffdb5eef3f0e3ed87160f72a2d7182 (diff) | |
| download | poky-5251d9d9a5644aa463a9e40c6291562a44ca0c82.tar.gz | |
bitbake/ui: Fix Gtk+ GUI's after recent cache changes
(Bitbake rev: 2bc8f405ec552ae0f1a79790569b2d044a35d3ba)
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/runningbuild.py')
| -rw-r--r-- | bitbake/lib/bb/ui/crumbs/runningbuild.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/runningbuild.py b/bitbake/lib/bb/ui/crumbs/runningbuild.py index 4703e6d844..70fd57effc 100644 --- a/bitbake/lib/bb/ui/crumbs/runningbuild.py +++ b/bitbake/lib/bb/ui/crumbs/runningbuild.py | |||
| @@ -234,6 +234,8 @@ class RunningBuild (gobject.GObject): | |||
| 234 | pbar.update(self.progress_total, self.progress_total) | 234 | pbar.update(self.progress_total, self.progress_total) |
| 235 | 235 | ||
| 236 | elif isinstance(event, bb.event.ParseStarted) and pbar: | 236 | elif isinstance(event, bb.event.ParseStarted) and pbar: |
| 237 | if event.total == 0: | ||
| 238 | return | ||
| 237 | pbar.set_title("Processing recipes") | 239 | pbar.set_title("Processing recipes") |
| 238 | self.progress_total = event.total | 240 | self.progress_total = event.total |
| 239 | pbar.update(0, self.progress_total) | 241 | pbar.update(0, self.progress_total) |
| @@ -308,4 +310,4 @@ class RunningBuildTreeView (gtk.TreeView): | |||
| 308 | 310 | ||
| 309 | clipboard = gtk.clipboard_get() | 311 | clipboard = gtk.clipboard_get() |
| 310 | clipboard.set_text(paste_url) | 312 | clipboard.set_text(paste_url) |
| 311 | clipboard.store() \ No newline at end of file | 313 | clipboard.store() |
