[master 2/2] Disable button icons on stock GTK buttons (#579701).

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

 



---
 gui.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/gui.py b/gui.py
index ce6d071..8bcb5b5 100755
--- a/gui.py
+++ b/gui.py
@@ -1448,6 +1448,10 @@ class InstallControlWindow:
         self.mainxml = gtk.glade.XML(findGladeFile("anaconda.glade"),
                                      domain="anaconda")
 
+    def setup_theme(self):
+        settings = gtk.settings_get_default()
+        settings.set_long_property("gtk-button-images", 0, "gui.py:setup_theme")
+
     def setup_window (self, window_reload):
         self.setLtR()
 
@@ -1472,6 +1476,7 @@ class InstallControlWindow:
         rootPopBusyCursor()
         
     def run (self, runres):
+        self.setup_theme()
         self.setup_window(False)
         gtk.main()
             
-- 
1.6.6

_______________________________________________
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