The GtkBox>GtkListBoxRow>GtkListBox hierarchy is unnecessary, also
remove the GtkSeparator from the GtkListBox and move it into the GtkBox,
so the width matches that of the GtkListBox (it missed 2px on either
side before).
https://bugzilla.gnome.org/show_bug.cgi?id=764503
Since we don't support the synaptics driver anymore we shouldn't show
the touchpad section in that case. In addition, emit a warning so that
this system mis-configuration is easier to diagnose.
https://bugzilla.gnome.org/show_bug.cgi?id=764257
The two-finger scroll method will be enabled in all cases
(see bgo#759304). When a touchpad without two-finger scrolling
support but with edge scrolling support is available, show the
switch.
Also bump the required gsettings-desktop-schemas version for
the new key.
https://bugzilla.gnome.org/show_bug.cgi?id=759307
Fixes the situation where you unplug a touchpad device which
supports two-finger-scrolling and plug in another one with
edge-scrolling only, we would have two switches. These entries
are mutually exclusive.
https://bugzilla.gnome.org/show_bug.cgi?id=756863
Two finger scroll toggle should be sensitive if at least one of the
devices support it. g-s-d is responsible to set edge-scroll for the
devices which don't support double touch.
https://bugzilla.gnome.org/show_bug.cgi?id=745601
Most peripherals settings have been moved to
gsettings-desktop-schemas.
There are some semantic differences:
* pointer and touchpad speed is now a single value in the [-1..1]
range (from "unaccelerated" to "fast"). A value of 0 is the default;
* touchpad enabled is now an enum which can be enabled, disabled or
disabled-on-external-mouse. This patch keeps the same UI so the last
value is the same as disabled in the UI and can't be set for now;
* disable while typing is now always enabled so the checkbox has been
removed;
* horizontal scrolling is always enabled when two finger scroll is
disabled. It wasn't in the UI but we no longer need to set it since
it doesn't exist anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=743194
On touchscreen machine, if the trackpad was previously disabled using mouse
which isn't present now, there is no way to enable it. It now shows the slider
when trackpad is disable or if mouse/touchscreen is present.
Fixes bug #703946
Reverts part of 109b369199
Good idea in principle, albeit the hardware gets in our way. In
synaptics 1.4 two-finger emulation was enabled by default on devices
that reported finger width but had to since revert this. The hardware
doesn't really separate width and pressure, so a hard tap off a finger
gives a high width, a wide finger gives a high pressure on light
touches. We got spurious right-click presses when two-finger
emulation was enabled.
Now we have the control-center providing a checkbox for two-finger
emulation but it doesn't enable emulation, which to the users appears as if
two-finger scrolling is broken
(https://bugzilla.redhat.com/show_bug.cgi?id=738123).
We now disable the checkbox again for hardware that doesn't do two-fingers.
it's not reliable and we're likely to see further bugs when the spurious right
clicks take effect
https://bugzilla.gnome.org/show_bug.cgi?id=661963