Show icons in buttons

Gtk 3.20 recently changed the default setting so that buttons hide
their icons.  This is regression in terms of the Sugar HIG.
This commit is contained in:
Sam Parkinson 2016-06-18 13:29:56 +10:00
parent 4a9b35a38a
commit 6079d7ff70
No known key found for this signature in database
GPG Key ID: 34E268B2FA2F8B13

View File

@ -336,6 +336,7 @@ class Activity(Window, Gtk.Container):
settings = Gtk.Settings.get_default()
settings.set_property('gtk-theme-name', sugar_theme)
settings.set_property('gtk-icon-theme-name', 'sugar')
settings.set_property('gtk-button-images', True)
settings.set_property('gtk-font-name',
'%s %f' % (style.FONT_FACE, style.FONT_SIZE))