summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheEvilSkeleton <theevilskeleton@riseup.net>2022-12-19 21:40:02 -0500
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2023-01-09 19:17:16 +0000
commitadc440f793519691d149443956cc88e1d9d00711 (patch)
tree5ee58c6e76e553d9e85d62e974cb5eccc2f4cd4d
parent2208b9c301ff83d2b3c1ba42d8b0cfabef61582b (diff)
downloadgnome-control-center-adc440f793519691d149443956cc88e1d9d00711.tar.gz
mouse: Set rows as activatable widgets
-rw-r--r--panels/mouse/cc-mouse-panel.ui6
1 files changed, 6 insertions, 0 deletions
diff --git a/panels/mouse/cc-mouse-panel.ui b/panels/mouse/cc-mouse-panel.ui
index 4954e1884..529f79d39 100644
--- a/panels/mouse/cc-mouse-panel.ui
+++ b/panels/mouse/cc-mouse-panel.ui
@@ -80,6 +80,7 @@
<object class="AdwActionRow" id="mouse_natural_scrolling_row">
<property name="title" translatable="yes" comments="Translators: This switch reverses the scrolling direction for mices. The term used comes from OS X so use the same translation if possible.">Natural Scrolling</property>
<property name="subtitle" translatable="yes">Scrolling moves the content, not the view.</property>
+ <property name="activatable-widget">mouse_natural_scrolling_switch</property>
<child>
<object class="GtkSwitch" id="mouse_natural_scrolling_switch">
<property name="valign">center</property>
@@ -96,6 +97,7 @@
<child>
<object class="AdwActionRow" id="touchpad_toggle_row">
<property name="title" translatable="yes">Touchpad</property>
+ <property name="activatable-widget">touchpad_toggle_switch</property>
<child>
<object class="GtkSwitch" id="touchpad_toggle_switch">
<property name="valign">center</property>
@@ -107,6 +109,7 @@
<object class="AdwActionRow" id="touchpad_natural_scrolling_row">
<property name="title" translatable="yes" comments="Translators: This switch reverses the scrolling direction for touchpads. The term used comes from OS X so use the same translation if possible. ">Natural Scrolling</property>
<property name="subtitle" translatable="yes">Scrolling moves the content, not the view.</property>
+ <property name="activatable-widget">touchpad_natural_scrolling_switch</property>
<child>
<object class="GtkSwitch" id="touchpad_natural_scrolling_switch">
<property name="valign">center</property>
@@ -134,6 +137,7 @@
<object class="AdwActionRow" id="tap_to_click_row">
<property name="visible">False</property>
<property name="title" translatable="yes">Tap to Click</property>
+ <property name="activatable-widget">tap_to_click_switch</property>
<child>
<object class="GtkSwitch" id="tap_to_click_switch">
<property name="valign">center</property>
@@ -145,6 +149,7 @@
<object class="AdwActionRow" id="two_finger_scrolling_row">
<property name="visible">False</property>
<property name="title" translatable="yes">Two-finger Scrolling</property>
+ <property name="activatable-widget">two_finger_scrolling_switch</property>
<child>
<object class="GtkSwitch" id="two_finger_scrolling_switch">
<property name="valign">center</property>
@@ -157,6 +162,7 @@
<object class="AdwActionRow" id="edge_scrolling_row">
<property name="visible">False</property>
<property name="title" translatable="yes">Edge Scrolling</property>
+ <property name="activatable-widget">edge_scrolling_switch</property>
<child>
<object class="GtkSwitch" id="edge_scrolling_switch">
<property name="valign">center</property>