diff options
| author | Dongxiao Xu <dongxiao.xu@intel.com> | 2011-11-28 14:32:40 +0800 | 
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-24 18:04:27 +0000 | 
| commit | 656f9a07588cc00704825a78de9649ca4a1552b8 (patch) | |
| tree | 653c7941689599994d5876162c540fb7ee22736e /bitbake/lib/bb/ui/crumbs/progress.py | |
| parent | 14df6d53b6856ec78322b9c0ef01e26c0406fe28 (diff) | |
| download | poky-656f9a07588cc00704825a78de9649ca4a1552b8.tar.gz | |
Hob: A new implemetation (v2)
This commit implements a new design for hob
Some of the new features:
 - Friendly new designed GUI. Quick response to user actions.
 - Two step builds support package generation and image generation.
 - Support running GUI seprarately from bitbake server.
 - Recipe/package selection and deselection.
 - Accurate customization for image contents and size.
 - Progress bars showing the parsing and build status.
 - Load/save user configurations from/into templates.
(Bitbake rev: 4dacd29f9c957d20f4583330b51e5420f9c3338d)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Liming An <limingx.l.an@intel.com>
Signed-off-by: Fengxia Hua <fengxia.hua@intel.com>
Designed-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/progress.py')
| -rw-r--r-- | bitbake/lib/bb/ui/crumbs/progress.py | 20 | 
1 files changed, 0 insertions, 20 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/progress.py b/bitbake/lib/bb/ui/crumbs/progress.py deleted file mode 100644 index 0c7ad963b5..0000000000 --- a/bitbake/lib/bb/ui/crumbs/progress.py +++ /dev/null  | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | import gtk | ||
| 2 | |||
| 3 | class ProgressBar(gtk.Dialog): | ||
| 4 | def __init__(self, parent): | ||
| 5 | |||
| 6 | gtk.Dialog.__init__(self, flags=(gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT)) | ||
| 7 | self.set_title("Parsing metadata, please wait...") | ||
| 8 | self.set_default_size(500, 0) | ||
| 9 | self.set_transient_for(parent) | ||
| 10 | self.progress = gtk.ProgressBar() | ||
| 11 | self.vbox.pack_start(self.progress) | ||
| 12 | self.show_all() | ||
| 13 | |||
| 14 | def update(self, x, y): | ||
| 15 | self.progress.set_fraction(float(x)/float(y)) | ||
| 16 | self.progress.set_text("%2d %%" % (x*100/y)) | ||
| 17 | |||
| 18 | def pulse(self): | ||
| 19 | self.progress.set_text("Loading...") | ||
| 20 | self.progress.pulse() | ||
