Commit 6e0da92e authored by Nicolas Bruguier's avatar Nicolas Bruguier

debian/patches/fix-gnome-3.20-support.patch:

  - refresh
parent c6813be8
......@@ -40,7 +40,7 @@ Index: switchboard-plug-mouse-touchpad/src/Widgets/TouchpadSection.vala
===================================================================
--- switchboard-plug-mouse-touchpad.orig/src/Widgets/TouchpadSection.vala
+++ switchboard-plug-mouse-touchpad/src/Widgets/TouchpadSection.vala
@@ -65,11 +65,9 @@ public class MouseTouchpad.Widgets.Touch
@@ -66,11 +66,9 @@ public class MouseTouchpad.Widgets.Touch
pointer_speed_scale.add_mark (0, Gtk.PositionType.BOTTOM, null);
Plug.end_size_group.add_widget (pointer_speed_scale);
......@@ -55,7 +55,7 @@ Index: switchboard-plug-mouse-touchpad/src/Widgets/TouchpadSection.vala
var horizontal_scrolling_switch = new Gtk.Switch ();
horizontal_scrolling_switch.halign = Gtk.Align.START;
@@ -87,8 +85,8 @@ public class MouseTouchpad.Widgets.Touch
@@ -88,8 +86,8 @@ public class MouseTouchpad.Widgets.Touch
attach (new SettingLabel (_("Physical clicking:")), 0, 3, 1, 1);
attach (click_method_switch, 1, 3, 1, 1);
attach (click_method_combobox, 2, 3, 1, 1);
......@@ -66,10 +66,21 @@ Index: switchboard-plug-mouse-touchpad/src/Widgets/TouchpadSection.vala
attach (new SettingLabel (_("Natural scrolling:")), 0, 5, 1, 1);
attach (natural_scrolling_switch, 1, 5, 1, 1);
@@ -102,9 +100,9 @@ public class MouseTouchpad.Widgets.Touch
@@ -103,20 +101,9 @@ public class MouseTouchpad.Widgets.Touch
}
});
- scrolling_combobox.changed.connect (() => {
- string active_text = scrolling_combobox.get_active_id ();
- if (active_text == "disabled") {
- horizontal_scrolling_switch.sensitive = false;
- natural_scrolling_switch.sensitive = false;
- } else {
- horizontal_scrolling_switch.sensitive = true;
- natural_scrolling_switch.sensitive = true;
- }
- });
-
- touchpad_settings.bind_property ("scroll-method",
- scrolling_combobox,
- "active-id",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment