diff options
author | bfox <bfox> | 2001-07-27 17:13:41 +0000 |
---|---|---|
committer | bfox <bfox> | 2001-07-27 17:13:41 +0000 |
commit | 81585a2e9000e770de4e572a54da5a06fafeb5bf (patch) | |
tree | 535f1074134492fd63f2efc9a2d39a834ad48888 /iw | |
parent | 8aa076c6176efe7e7a8e7e8c45db499714f84735 (diff) | |
download | anaconda-81585a2e9000e770de4e572a54da5a06fafeb5bf.tar.gz anaconda-81585a2e9000e770de4e572a54da5a06fafeb5bf.tar.xz anaconda-81585a2e9000e770de4e572a54da5a06fafeb5bf.zip |
fixed packing problems with GtkLabel
Diffstat (limited to 'iw')
-rw-r--r-- | iw/bootloaderpassword_gui.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/iw/bootloaderpassword_gui.py b/iw/bootloaderpassword_gui.py index 6fcf7efc4..a08441ee3 100644 --- a/iw/bootloaderpassword_gui.py +++ b/iw/bootloaderpassword_gui.py @@ -47,7 +47,7 @@ class BootloaderPasswordWindow (InstallWindow): elif len (pw) < 6: self.rootStatus.set_text (_("Password is too short.")) else: - self.rootStatus.set_text (_("Passwords do not match.")) + self.rootStatus.set_text (_("Passwords do not match.asdfasdfdsafasdfdf")) self.ics.setNextEnabled (FALSE) @@ -59,7 +59,7 @@ class BootloaderPasswordWindow (InstallWindow): self.forward = lambda widget, box=box: box.focus (DIR_TAB_FORWARD) - self.passtable = GtkTable (3, 3) + self.passtable = GtkTable (2, 2) self.passtable.set_row_spacings (5) self.passtable.set_col_spacings (5) grubpassinfo = GtkLabel(_("A GRUB password prevents users from passing arbitrary options to the kernel. For highest security, we recommend setting a password, but this is not necessary for more casual users.")) @@ -95,8 +95,11 @@ class BootloaderPasswordWindow (InstallWindow): self.usegrubpasscb.connect("toggled", self.toggle) self.rootStatus = GtkLabel(_("Please enter password")) - self.passtable.attach(self.rootStatus, 1, 2, 4, 5, FILL, 0, 10) + a = GtkAlignment (0.2, 0.5) + a.add(self.rootStatus) box.pack_start(self.passtable, FALSE) + box.pack_start(a, FALSE) + return box |