Last active
August 29, 2015 14:04
-
-
Save vterron/26941770310c6556c924 to your computer and use it in GitHub Desktop.
Workaround for GTK+ bug 632538
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
import gtk | |
# Workaround for GTK+ bug 632538 | |
if gtk.gtk_version < (2, 24, 19): | |
gtk.Button() | |
settings = gtk.settings_get_default() | |
settings.props.gtk_button_images = True | |
print "Success!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gtk | |
settings = gtk.settings_get_default() | |
settings.props.gtk_button_images = True | |
print "Success!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment