summaryrefslogtreecommitdiff
path: root/capplets/mouse/mate-mouse-properties.c
diff options
context:
space:
mode:
authorErik Bročko <[email protected]>2018-05-14 14:52:06 +0200
committermonsta <[email protected]>2018-05-14 15:52:06 +0300
commitacbde9510e9325b54a5508edbe19199917d44962 (patch)
treeb0d55ac6a2e696a5c5ab200747f501a50fb3990a /capplets/mouse/mate-mouse-properties.c
parent3d3bb8bb8db3f3e87abb6ba74718db9d9638c373 (diff)
downloadmate-control-center-acbde9510e9325b54a5508edbe19199917d44962.tar.bz2
mate-control-center-acbde9510e9325b54a5508edbe19199917d44962.tar.xz
mouse: add middle button emulation switch
Diffstat (limited to 'capplets/mouse/mate-mouse-properties.c')
-rw-r--r--capplets/mouse/mate-mouse-properties.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/capplets/mouse/mate-mouse-properties.c b/capplets/mouse/mate-mouse-properties.c
index 1ecb95e4..69e84a56 100644
--- a/capplets/mouse/mate-mouse-properties.c
+++ b/capplets/mouse/mate-mouse-properties.c
@@ -267,6 +267,10 @@ setup_dialog (GtkBuilder *dialog)
g_settings_bind (mouse_settings, "locate-pointer", WID ("locate_pointer_toggle"),
"active", G_SETTINGS_BIND_DEFAULT);
+ /* Middle Button Emulation */
+ g_settings_bind (mouse_settings, "middle-button-enabled", WID ("middle_button_emulation_toggle"),
+ "active", G_SETTINGS_BIND_DEFAULT);
+
/* Double-click time */
g_settings_bind (mouse_settings, DOUBLE_CLICK_KEY,
gtk_range_get_adjustment (GTK_RANGE (WID ("delay_scale"))), "value",