summaryrefslogtreecommitdiff
path: root/capplets/mouse
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-28 20:16:00 +0100
committerStefano Karapetsas <[email protected]>2014-01-28 20:16:00 +0100
commita3c69729467538e2821f0a27efbf0a8477d35791 (patch)
tree2f2add9b2477b400fef28613d6661ec2f6f8a414 /capplets/mouse
parentee511ba9f042c64be34af0f7d8123391605a34c3 (diff)
parent38f7a4c66ec15897c05eb0f3577aaca4cb1b884d (diff)
downloadmate-control-center-a3c69729467538e2821f0a27efbf0a8477d35791.tar.bz2
mate-control-center-a3c69729467538e2821f0a27efbf0a8477d35791.tar.xz
Merge branch 'master' of github.com:mate-desktop/mate-control-center
Diffstat (limited to 'capplets/mouse')
-rw-r--r--capplets/mouse/mate-mouse-properties.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/capplets/mouse/mate-mouse-properties.c b/capplets/mouse/mate-mouse-properties.c
index cf5c9deb..38e17530 100644
--- a/capplets/mouse/mate-mouse-properties.c
+++ b/capplets/mouse/mate-mouse-properties.c
@@ -208,11 +208,11 @@ scrollmethod_gsettings_changed_event (GSettings *settings,
GtkBuilder *dialog)
{
int scroll_method = g_settings_get_int (touchpad_settings, "scroll-method");
- gtk_toggle_button_set_active (WID ("scroll_disabled_radio"),
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (WID ("scroll_disabled_radio")),
scroll_method == 0);
- gtk_toggle_button_set_active (WID ("scroll_edge_radio"),
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (WID ("scroll_edge_radio")),
scroll_method == 1);
- gtk_toggle_button_set_active (WID ("scroll_twofinger_radio"),
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (WID ("scroll_twofinger_radio")),
scroll_method == 2);
gtk_widget_set_sensitive (WID ("horiz_scroll_toggle"),
scroll_method != 0);