Commit f0aefa86 authored by Rui Matos's avatar Rui Matos

widgets: Use selected font on font selector buttons

https://bugzilla.gnome.org/show_bug.cgi?id=757806
parent 3e6654bc
......@@ -289,6 +289,7 @@ class GSettingsFontButtonTweak(Gtk.Box, _GSettingsTweak, _DependableMixin):
_GSettingsTweak.__init__(self, name, schema_name, key_name, **options)
w = Gtk.FontButton()
w.set_use_font(True)
self.settings.bind(key_name, w, "font-name", Gio.SettingsBindFlags.DEFAULT)
build_label_beside_widget(name, w, hbox=self)
self.widget_for_size_group = w
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment