From 3a6ae48e51607d4c31319bc60e2a96dbec856147 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 13 May 2016 14:11:02 +0100 Subject: 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 --- bitbake/lib/bb/ui/crumbs/progress.py | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 bitbake/lib/bb/ui/crumbs/progress.py (limited to 'bitbake/lib/bb/ui/crumbs/progress.py') 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 @@ -import gtk - -class ProgressBar(gtk.Dialog): - def __init__(self, parent): - - gtk.Dialog.__init__(self, flags=(gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT)) - self.set_title("Parsing metadata, please wait...") - self.set_default_size(500, 0) - self.set_transient_for(parent) - self.progress = gtk.ProgressBar() - self.vbox.pack_start(self.progress) - self.show_all() - - def set_text(self, msg): - self.progress.set_text(msg) - - def update(self, x, y): - self.progress.set_fraction(float(x)/float(y)) - self.progress.set_text("%2d %%" % (x*100/y)) - - def pulse(self): - self.progress.set_text("Loading...") - self.progress.pulse() -- cgit v1.2.3-54-g00ecf