diff options
author | Mike Fulbright <msf@redhat.com> | 2003-10-08 22:07:34 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2003-10-08 22:07:34 +0000 |
commit | f2bce8a32886c9db161cff5589d8754e4bff7068 (patch) | |
tree | 54a0bf155230983d494c2f2db90a1ef53a8d29f7 | |
parent | 4589fa0a711d0603d7246fce1b893e28d3ec3359 (diff) | |
download | anaconda-f2bce8a32886c9db161cff5589d8754e4bff7068.tar.gz anaconda-f2bce8a32886c9db161cff5589d8754e4bff7068.tar.xz anaconda-f2bce8a32886c9db161cff5589d8754e4bff7068.zip |
enable and fix http download status message
-rw-r--r-- | iw/progress_gui.py | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/iw/progress_gui.py b/iw/progress_gui.py index 497544d88..22e8b2237 100644 --- a/iw/progress_gui.py +++ b/iw/progress_gui.py @@ -178,9 +178,9 @@ class InstallProgressWindow_NEW (InstallWindow): return if state == "downloading": - self.pkgstatus = N_("Downloading %s") + msgstr = N_("Downloading %s") % (amount,) else: - self.pkgstatus = state + msgstr = state self.pkgstatus.set_text(msgstr) self.processEvents() @@ -369,14 +369,9 @@ class InstallProgressWindow_NEW (InstallWindow): statusflag = 1 break - # FIXME: including the status makes the rnotes different sizes which - # is bad. temporarily disable download status for now - statusflag = 0 - if statusflag: statusTable = gtk.Table (2, 2, gtk.FALSE) self.pkgstatus = gtk.Label("") - vbox.pack_start(statusTable, gtk.FALSE, gtk.FALSE) statusTable.attach (gtk.Label(_("Status: ")), 0, 1, 0, 1, gtk.SHRINK) statusTable.attach (self.pkgstatus, 1, 2, 0, 1, gtk.FILL, gtk.FILL, ypadding=2) vbox.pack_start (statusTable, gtk.FALSE, gtk.FALSE) @@ -420,6 +415,7 @@ class InstallProgressWindow (InstallWindow): msgstr = _("Downloading - %s") % (amount,) else: msgstr = state + self.pkgstatus.set_text(msgstr) self.processEvents() @@ -714,7 +710,6 @@ class InstallProgressWindow (InstallWindow): box = gtk.EventBox() self.adpix = pix box.modify_bg(gtk.STATE_NORMAL, box.get_style().white) -# self.adpix.set_alignment (0, 0) box.add(self.adpix) self.adbox = box frame.add (box) |