summaryrefslogtreecommitdiffstats
path: root/iw/congrats_gui.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-07-18 19:54:18 +0000
committerMike Fulbright <msf@redhat.com>2002-07-18 19:54:18 +0000
commit06dee2ddffcde51c54f109bfc083ca8dc901890b (patch)
treec436b5926bdc594a1dce6f30bfa288d93f070e14 /iw/congrats_gui.py
parent8eb580d2921d45d2286530289a29647f2308f4d3 (diff)
downloadanaconda-06dee2ddffcde51c54f109bfc083ca8dc901890b.tar.gz
anaconda-06dee2ddffcde51c54f109bfc083ca8dc901890b.tar.xz
anaconda-06dee2ddffcde51c54f109bfc083ca8dc901890b.zip
fix congrats screen
Diffstat (limited to 'iw/congrats_gui.py')
-rw-r--r--iw/congrats_gui.py14
1 files changed, 4 insertions, 10 deletions
diff --git a/iw/congrats_gui.py b/iw/congrats_gui.py
index 486b82471..50cc9dd36 100644
--- a/iw/congrats_gui.py
+++ b/iw/congrats_gui.py
@@ -12,6 +12,7 @@
#
import gtk
+import gui
from iw_gui import *
from rhpl.translate import _, N_
from constants import *
@@ -42,7 +43,7 @@ class CongratulationWindow (InstallWindow):
a.add (pix)
a.set (0.5, 0.5, 1.0, 1.0)
a.set_size_request(200, -1)
- hbox.pack_start (a, gtk.FALSE)
+ hbox.pack_start (a, gtk.FALSE, gtk.FALSE, 36)
if iutil.getArch() != "ia64":
bootstr = _("If you created a boot diskette to boot the "
@@ -51,7 +52,7 @@ class CongratulationWindow (InstallWindow):
bootstr = ""
- label = gtk.Label(
+ label = gui.WrappingLabel(
_("Congratulations, the installation is complete.\n\n"
"Remove any installation media (diskettes or CD-ROMs) used during the "
"installation."
@@ -68,14 +69,7 @@ class CongratulationWindow (InstallWindow):
"To register the product for support, visit:\n"
"\thttp://www.redhat.com/apps/activate/\n\n"
"Click 'Exit' to reboot the system.") % (bootstr,))
-
- label.set_line_wrap (gtk.TRUE)
- label.set_size_request(500, -1)
- label.set_alignment (0.0, 0.5)
- box = gtk.VBox (gtk.FALSE, 10)
- box.pack_start (label, gtk.TRUE, gtk.TRUE, 0)
-
- hbox.pack_start (box, gtk.TRUE, gtk.TRUE)
+ hbox.pack_start (label, gtk.TRUE, gtk.TRUE)
return hbox