summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2008-02-21 17:03:30 -0500
committerJeremy Katz <katzj@redhat.com>2008-02-22 13:14:11 -0500
commit413784295ed7fe77c5d5da8d1fb89d3d74f65109 (patch)
tree54722471b2f9b24972fb874df14f6dd58ec17882 /iw
parent868e108e3fb80887532a9876e468f0d7b35886e4 (diff)
downloadanaconda-413784295ed7fe77c5d5da8d1fb89d3d74f65109.tar.gz
anaconda-413784295ed7fe77c5d5da8d1fb89d3d74f65109.tar.xz
anaconda-413784295ed7fe77c5d5da8d1fb89d3d74f65109.zip
Use a tooltip instead of a long bit of text that most people don't read
Diffstat (limited to 'iw')
-rw-r--r--iw/blpasswidget.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/iw/blpasswidget.py b/iw/blpasswidget.py
index 2846ee7ed..80932bde6 100644
--- a/iw/blpasswidget.py
+++ b/iw/blpasswidget.py
@@ -36,14 +36,14 @@ class BootloaderPasswordWidget:
usePass = 0
self.password = None
- vbox = gtk.VBox(False, 5)
+ vbox = gtk.VBox(False, 6)
- label = gui.WrappingLabel(_("A boot loader password prevents users from changing options passed to the kernel. For greater system security, it is recommended that you set a password."))
- label.set_alignment(0.0, 0.5)
- vbox.pack_start(label, False)
+ t = gtk.Tooltips()
+ t.enable()
# password widgets + callback
self.usePassCb = gtk.CheckButton(_("_Use a boot loader password"))
+ t.set_tip(self.usePassCb, _("A boot loader password prevents users from changing kernel options, increasing security."))
self.passButton = gtk.Button("No password")
if usePass:
self.usePassCb.set_active(True)
@@ -55,7 +55,7 @@ class BootloaderPasswordWidget:
self.passButton.connect("clicked", self.passButtonCallback)
self.setPassLabel()
- box = gtk.HBox(False, 5)
+ box = gtk.HBox(False, 12)
box.pack_start(self.usePassCb, False)
box.pack_start(self.passButton, False)
vbox.pack_start(box, False)