FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 04-27-2010, 10:06 AM
Ales Kozumplik
 
Default Disable button icons on stock GTK buttons (#579701).

---
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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 07:29 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org