diff options
author | David Cantrell <dcantrell@redhat.com> | 2006-01-05 20:59:48 +0000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2006-01-05 20:59:48 +0000 |
commit | 2244387937a86f09812a46781d3c98c4eef8eb45 (patch) | |
tree | 8823ef16df7ddc539df945e1e9a60cceb250613e | |
parent | 12df3589035a23d62be1b4bbbdaa558dba6ba4e8 (diff) | |
download | anaconda-2244387937a86f09812a46781d3c98c4eef8eb45.tar.gz anaconda-2244387937a86f09812a46781d3c98c4eef8eb45.tar.xz anaconda-2244387937a86f09812a46781d3c98c4eef8eb45.zip |
* iw/progress_gui.py (InstallProgressWindow_NEW.getScreen): Use a
3x2 table to align the current package info and remaining time.
Keeps the remaining time label from moving around.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | iw/progress_gui.py | 13 |
2 files changed, 10 insertions, 9 deletions
@@ -1,3 +1,9 @@ +2006-01-05 David Cantrell <dcantrell@redhat.com> + + * iw/progress_gui.py (InstallProgressWindow_NEW.getScreen): Use a + 3x2 table to align the current package info and remaining time. + Keeps the remaining time label from moving around. + 2006-01-05 Jeremy Katz <katzj@redhat.com> * scripts/mk-rescueimage.ppc: Add ppc rescue image script from diff --git a/iw/progress_gui.py b/iw/progress_gui.py index f6bcf4710..dc0199557 100644 --- a/iw/progress_gui.py +++ b/iw/progress_gui.py @@ -337,20 +337,17 @@ class InstallProgressWindow_NEW (InstallWindow): vbox.pack_start (progressTable, False) # create a table to display time remaining and package info - infoTable = gtk.Table (1, 2, False) + infoTable = gtk.Table (3, 2, False) # remaining time self.remainingTimeLabel = gtk.Label ("") self.remainingTimeLabel.set_alignment (1.0, 0.5) - infoTable.attach (self.remainingTimeLabel, 1, 2, 0, 1, xoptions=gtk.FILL, yoptions=gtk.FILL, xpadding=0, ypadding=0) - - # create table for current package info - table = gtk.Table (3, 1) + infoTable.attach (self.remainingTimeLabel, 1, 2, 0, 1) + # current package info self.curPackage = { "package" : _("Package"), "summary" : _("Summary") } i = 0 -# for key in ("package", "size", "summary"): for key in ("package", "summary"): label = gtk.Label ("") label.set_alignment (0, 0) @@ -363,11 +360,9 @@ class InstallProgressWindow_NEW (InstallWindow): fillopts = gtk.FILL self.curPackage[key] = label - table.attach (label, 0, 1, i, i+1, gtk.FILL, fillopts) + infoTable.attach (label, 0, 1, i, i+1, gtk.FILL, fillopts) i = i + 1 - infoTable.attach (table, 0, 1, 0, 1, xpadding=0, ypadding=0) - vbox.pack_start (infoTable, False) # some sort of table for status |