summaryrefslogtreecommitdiff
path: root/capplets/appearance/appearance-ui.c
diff options
context:
space:
mode:
authorErik Bročko <[email protected]>2018-05-16 15:03:07 +0200
committerraveit65 <[email protected]>2018-05-21 11:58:25 +0200
commit31880fa4ee2c7513d15204aec3c997a9084c9a0c (patch)
tree1493338242452674c91b7ddaff8914202bdef50e /capplets/appearance/appearance-ui.c
parentaf2107768071aac20a7fcd347d5f6201758163be (diff)
downloadmate-control-center-31880fa4ee2c7513d15204aec3c997a9084c9a0c.tar.bz2
mate-control-center-31880fa4ee2c7513d15204aec3c997a9084c9a0c.tar.xz
appearance: add buttons-have-icons switch
Diffstat (limited to 'capplets/appearance/appearance-ui.c')
-rw-r--r--capplets/appearance/appearance-ui.c7
1 files changed, 7 insertions, 0 deletions
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);
}