From 413784295ed7fe77c5d5da8d1fb89d3d74f65109 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Thu, 21 Feb 2008 17:03:30 -0500 Subject: Use a tooltip instead of a long bit of text that most people don't read --- iw/blpasswidget.py | 10 +++++----- 1 file 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) -- cgit