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:
parent
4a9b35a38a
commit
6079d7ff70
@ -336,6 +336,7 @@ class Activity(Window, Gtk.Container):
|
|||||||
settings = Gtk.Settings.get_default()
|
settings = Gtk.Settings.get_default()
|
||||||
settings.set_property('gtk-theme-name', sugar_theme)
|
settings.set_property('gtk-theme-name', sugar_theme)
|
||||||
settings.set_property('gtk-icon-theme-name', 'sugar')
|
settings.set_property('gtk-icon-theme-name', 'sugar')
|
||||||
|
settings.set_property('gtk-button-images', True)
|
||||||
settings.set_property('gtk-font-name',
|
settings.set_property('gtk-font-name',
|
||||||
'%s %f' % (style.FONT_FACE, style.FONT_SIZE))
|
'%s %f' % (style.FONT_FACE, style.FONT_SIZE))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user