[PATCH] Use the new GTK Tooltip API (#517389).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 iw/blpasswidget.py |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/iw/blpasswidget.py b/iw/blpasswidget.py
index e9f7a89..d1a72a8 100644
--- a/iw/blpasswidget.py
+++ b/iw/blpasswidget.py
@@ -39,13 +39,10 @@ class BootloaderPasswordWidget:
             self.password = None
         
         vbox = gtk.VBox(False, 6)
-        
-        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.usePassCb.set_tooltip_text(_("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)
-- 
1.6.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux