diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-13 14:11:02 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-16 23:32:41 +0100 |
commit | 3a6ae48e51607d4c31319bc60e2a96dbec856147 (patch) | |
tree | 5501b7eab4413169151b3d6e1b4632f947162f4a /bitbake/lib/bb/ui/crumbs/progress.py | |
parent | 31e34f26df41be7ebe3e1d60fd0be6b088261e69 (diff) | |
download | poky-3a6ae48e51607d4c31319bc60e2a96dbec856147.tar.gz |
bitbake: google/image-writer: Drop since bitrotting and no longer used
The upgrade to python3 is the final nail in the coffin for image-writer
and the goggle UI. Neither seem used or recieve patches and are based
on old versions of GTK+ so drop them, and the remaining crumbs support
pieces.
(Bitbake rev: 9113cd439c5151ac2a8bfc99b9f6eb212f79d561)
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 | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/progress.py b/bitbake/lib/bb/ui/crumbs/progress.py deleted file mode 100644 index 1d28a111b3..0000000000 --- a/bitbake/lib/bb/ui/crumbs/progress.py +++ /dev/null | |||
@@ -1,23 +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 set_text(self, msg): | ||
15 | self.progress.set_text(msg) | ||
16 | |||
17 | def update(self, x, y): | ||
18 | self.progress.set_fraction(float(x)/float(y)) | ||
19 | self.progress.set_text("%2d %%" % (x*100/y)) | ||
20 | |||
21 | def pulse(self): | ||
22 | self.progress.set_text("Loading...") | ||
23 | self.progress.pulse() | ||