summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2005-04-14 17:18:40 +0000
committerChris Lumens <clumens@redhat.com>2005-04-14 17:18:40 +0000
commit190ddfbda7a1ccafa80ba1b84d74fe9fe4647592 (patch)
tree6347268ce01bd3323aceed8448fc62715ded9f68 /iw
parent2fa28eace89b5c97b3123255708ad6761f08ce37 (diff)
downloadanaconda-190ddfbda7a1ccafa80ba1b84d74fe9fe4647592.tar.gz
anaconda-190ddfbda7a1ccafa80ba1b84d74fe9fe4647592.tar.xz
anaconda-190ddfbda7a1ccafa80ba1b84d74fe9fe4647592.zip
Fix the WrappingLabel class so it actually wraps text. Cleaned up UI
elements on the bootloader configuration screen so elements no longer disappear off the bottom of the screen in certain languages (#153071, #154786).
Diffstat (limited to 'iw')
-rw-r--r--iw/blpasswidget.py9
-rw-r--r--iw/bootloader_main_gui.py11
-rw-r--r--iw/examine_gui.py4
-rw-r--r--iw/osbootwidget.py5
4 files changed, 7 insertions, 22 deletions
diff --git a/iw/blpasswidget.py b/iw/blpasswidget.py
index 985cf6cbf..a1b823982 100644
--- a/iw/blpasswidget.py
+++ b/iw/blpasswidget.py
@@ -52,14 +52,11 @@ class BootloaderPasswordWidget:
self.setPassLabel()
box = gtk.HBox(False, 5)
- box.pack_start(self.usePassCb)
- box.pack_start(self.passButton)
+ box.pack_start(self.usePassCb, False)
+ box.pack_start(self.passButton, False)
vbox.pack_start(box, False)
- alignment = gtk.Alignment()
- alignment.set(0.1, 0, 0, 0)
- alignment.add(vbox)
- self.widget = alignment
+ self.widget = vbox
def getWidget(self):
return self.widget
diff --git a/iw/bootloader_main_gui.py b/iw/bootloader_main_gui.py
index 5d411ac8d..5a4c76252 100644
--- a/iw/bootloader_main_gui.py
+++ b/iw/bootloader_main_gui.py
@@ -171,7 +171,8 @@ class MainBootloaderWindow(InstallWindow):
self.usePass = 0
self.password = None
- thebox = gtk.VBox (False, 10)
+ thebox = gtk.VBox (False, 5)
+ thebox.set_border_width(10)
spacer = gtk.Label("")
spacer.set_size_request(10, 1)
thebox.pack_start(spacer, False)
@@ -205,11 +206,7 @@ class MainBootloaderWindow(InstallWindow):
hbox.pack_start(button, False)
button.connect("clicked", self.changeBootloaderCallback)
- alignment = gtk.Alignment()
- alignment.set(0.1, 0, 0, 0)
- alignment.add(hbox)
-
- thebox.pack_start(alignment, False)
+ thebox.pack_start(hbox, False)
spacer = gtk.Label("")
spacer.set_size_request(10, 1)
@@ -242,5 +239,3 @@ class MainBootloaderWindow(InstallWindow):
self.updateBootLoaderLabel()
return thebox
-
-
diff --git a/iw/examine_gui.py b/iw/examine_gui.py
index 286c3bdae..7a7505306 100644
--- a/iw/examine_gui.py
+++ b/iw/examine_gui.py
@@ -161,10 +161,6 @@ class UpgradeExamineWindow (InstallWindow):
# hack indent it
upbox = gtk.HBox(False)
- crackhbox = gtk.HBox(False)
- crackhbox.set_size_request(70, -1)
-
- upbox.pack_start(crackhbox, False, False)
# upbox.pack_start(upboxtmp, True, True)
upbox.pack_start(upboxtmp, False, False)
diff --git a/iw/osbootwidget.py b/iw/osbootwidget.py
index af8bc8e65..2a0b0108d 100644
--- a/iw/osbootwidget.py
+++ b/iw/osbootwidget.py
@@ -108,10 +108,7 @@ class OSBootWidget:
self.vbox.pack_start(box, False)
- alignment = gtk.Alignment()
- alignment.set(0.1, 0, 0, 0)
- alignment.add(self.vbox)
- self.widget = alignment
+ self.widget = self.vbox
def setIllegalChars(self):
# illegal characters for boot loader labels