summaryrefslogtreecommitdiff
path: root/capplets
diff options
context:
space:
mode:
Diffstat (limited to 'capplets')
-rw-r--r--capplets/mouse/mate-mouse-properties.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/capplets/mouse/mate-mouse-properties.c b/capplets/mouse/mate-mouse-properties.c
index 6b0f3bf2..a6a7b626 100644
--- a/capplets/mouse/mate-mouse-properties.c
+++ b/capplets/mouse/mate-mouse-properties.c
@@ -204,12 +204,14 @@ scrollmethod_gsettings_changed_event (GSettings *settings,
GtkBuilder *dialog)
{
int scroll_method = g_settings_get_int (touchpad_settings, "scroll-method");
- gtk_widget_set_sensitive (WID ("scroll_disabled_radio"),
+ gtk_toggle_button_set_active (WID ("scroll_disabled_radio"),
scroll_method == 0);
- gtk_widget_set_sensitive (WID ("scroll_edge_radio"),
+ gtk_toggle_button_set_active (WID ("scroll_edge_radio"),
scroll_method == 1);
- gtk_widget_set_sensitive (WID ("scroll_twofinger_radio"),
+ gtk_toggle_button_set_active (WID ("scroll_twofinger_radio"),
scroll_method == 2);
+ gtk_widget_set_sensitive (WID ("horiz_scroll_toggle"),
+ scroll_method != 0);
}
static void