From 31880fa4ee2c7513d15204aec3c997a9084c9a0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bro=C4=8Dko?= Date: Wed, 16 May 2018 15:03:07 +0200 Subject: appearance: add buttons-have-icons switch --- capplets/appearance/appearance-ui.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'capplets/appearance/appearance-ui.c') diff --git a/capplets/appearance/appearance-ui.c b/capplets/appearance/appearance-ui.c index 86c61fdb..6bb59953 100644 --- a/capplets/appearance/appearance-ui.c +++ b/capplets/appearance/appearance-ui.c @@ -104,4 +104,11 @@ ui_init (AppearanceData *data) set_have_icons (data, g_settings_get_boolean (data->interface_settings, MENU_ICONS_KEY)); + + widget = appearance_capplet_get_widget(data, "button_icons_toggle"); + g_settings_bind (data->interface_settings, + BUTTON_ICONS_KEY, + G_OBJECT (widget), + "active", + G_SETTINGS_BIND_DEFAULT); } -- cgit v1.2.1