Robert Ancell
41d98fdf3f
mouse: Move callbacks into .ui file
2018-05-31 09:13:47 +12:00
Robert Ancell
a7e84dcf2e
mouse: Use GtkTemplate
2018-05-29 00:36:30 +00:00
Robert Ancell
38bbaeb8fa
mouse: Replace GObject boilerplace with G_DECLARE_TYPE
2018-05-28 23:47:59 +00:00
Benjamin Berg
c2f601a9d4
Move common panel code from shell/ to panel/common
...
This creates a new static library called libwidget which the shell links
against.
2018-04-17 15:26:59 +02:00
Robert Ancell
d9f0b737ac
mouse: Use g_auto for variables
...
https://bugzilla.gnome.org/show_bug.cgi?id=792808
2018-01-23 00:59:53 -02:00
Bastien Nocera
cf5c17b692
mouse: Add debug output for touchpad disable switch
...
See https://bugzilla.gnome.org/show_bug.cgi?id=779290
2017-03-01 13:00:33 +01:00
Felipe Borges
6b3233359c
mouse: Set min-content-height on the scrolled window
...
Set a minimum content height of 490px for the panel when the
allocated height is smaller than 490px.
490 is an estimated value for the panels to properly fit on netbook
screens. See https://wiki.gnome.org/Design/SystemSettings#Notes
This also drops the max-content-height limit for the scrolled window,
as it is no longer necessary.
https://bugzilla.gnome.org/show_bug.cgi?id=771743
2016-10-24 13:30:10 +02:00
Bastien Nocera
61e00d0172
mouse: Don't allow two-finger and edge scrolling at the same time
...
As done when changing the setting manually.
https://bugzilla.gnome.org/show_bug.cgi?id=761461
2016-07-27 17:40:30 +02:00
Bastien Nocera
f01277fb48
mouse: Offer a separate option for edge scrolling
...
When a touchpad supports it. When the option is set, it will
automatically disable two-finger scrolling.
The scrolling method used by each individual touchpad is implemented in
mutter, not here.
https://bugzilla.gnome.org/show_bug.cgi?id=761461
2016-07-27 17:40:30 +02:00
Timm Bäder
9a43229ec2
mouse panel: Remove superfluous GtkListBoxRow
...
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
2016-04-06 10:56:05 +02:00
Rui Matos
a7da5a2727
mouse: Detect and warn if we're running on the synaptics driver
...
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
2016-04-05 21:04:57 +02:00
Rui Matos
0bc4b21bb2
mouse: Consolidate touchpad section visibility code
...
Do it all in a single place. No functional changes.
https://bugzilla.gnome.org/show_bug.cgi?id=764257
2016-04-05 21:04:57 +02:00
Rui Matos
8f7e99a034
mouse: Rename touchpad capabilities check API
...
It's not about synaptics anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=764257
2016-04-05 21:04:57 +02:00
Felipe Borges
1ea4452b0a
mouse: fix panel labels alignment
...
Also removed shadow_type duplicates on GtkFrames UI file.
https://bugzilla.gnome.org/show_bug.cgi?id=761762
2016-02-10 11:10:08 +01:00
Felipe Borges
07c6c4d3f7
mouse: Remove the two-finger scroll switch
...
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
2015-12-15 14:48:05 +01:00
Bastien Nocera
752ed5c443
mouse: Make touchpad settings unsensitive when disabled
...
Rather than hiding all the settings.
https://bugzilla.gnome.org/show_bug.cgi?id=756863
2015-11-02 16:06:27 +01:00
Bastien Nocera
f945dabbe8
mouse: Style fixes
...
Fix grammar and coding style in a couple of places.
2015-11-02 16:06:27 +01:00
Bastien Nocera
3d95415965
mouse: Remove default value marks on scales
...
They weren't that helpful.
https://bugzilla.gnome.org/show_bug.cgi?id=756863
2015-10-28 13:35:18 +01:00
Bastien Nocera
1a76afe8ad
mouse: Use GtkGesture to handle secondary button
...
Instead of hacking the release signal.
https://bugzilla.gnome.org/show_bug.cgi?id=756863
2015-10-28 13:26:24 +01:00
Bastien Nocera
1d952001f5
mouse: Change UI when mouse handedness when setting changes
...
This simplifies the way that we keep the settings and the UI in sync.
https://bugzilla.gnome.org/show_bug.cgi?id=756863
2015-10-28 13:01:18 +01:00
Felipe Borges
40b769bd08
mouse: make the scale cursors point to the bottom to match the mockups
...
https://wiki.gnome.org/Design/SystemSettings/Mouse#Tentative_Design
https://bugzilla.gnome.org/show_bug.cgi?id=756863
2015-10-27 16:27:43 +01:00
Felipe Borges
beb8e9a945
mouse: handle better the visibility of scroll-method entries
...
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
2015-10-27 16:27:43 +01:00
Felipe Borges
ad1c44fbad
mouse: align the speed sliders in the same size group
...
https://bugzilla.gnome.org/show_bug.cgi?id=756863
2015-10-27 16:27:43 +01:00
Felipe Borges
c1318c634f
mouse: decouple Natural Scrolling for mice and touchpads
...
Now each kind of device has its own entry.
https://bugzilla.gnome.org/show_bug.cgi?id=756863
2015-10-27 16:27:42 +01:00
Felipe Borges
1896fafef6
mouse: port panel to the new design
...
https://wiki.gnome.org/Design/SystemSettings/Mouse
https://bugzilla.gnome.org/show_bug.cgi?id=756863
2015-10-23 14:16:09 +02:00
Felipe Borges
5cd231fd59
mouse: decouple the scroll-methods detection code from the UI file
...
https://bugzilla.gnome.org/show_bug.cgi?id=756863
2015-10-22 13:57:08 +02:00
Ondrej Holy
f290d71e9a
mouse: Adapt to changes in gsd-input-helper
...
Redundant code can be removed from mouse panel thanks to changes
in gsd-input-helper.
https://bugzilla.gnome.org/show_bug.cgi?id=749818
2015-07-02 15:51:04 +02:00
Ondrej Holy
b1f3f3e458
mouse: Fix tap-to-click toggle sensitivity with libinput
...
Set tap_to_click_toggle sensitive if there is any device which supports
tapping.
https://bugzilla.gnome.org/show_bug.cgi?id=745601
2015-04-15 15:33:44 +02:00
Ondrej Holy
155d440623
mouse: Fix sensitivity of two-finger toggle with libinput
...
Check "libinput Scroll Methods Available" and set two_finger_scroll_toggle
sensitivity appropriately. Many libinput devices don't have edge scroll,
see http://who-t.blogspot.cz/2015/03/why-libinput-doesnt-support-edge.html
Allow changing scroll methods only if both two-finger and edge scroll is
supported.
https://bugzilla.gnome.org/show_bug.cgi?id=745601
2015-04-15 15:18:54 +02:00
Ondrej Holy
2f84534388
mouse: Fix checking capabilities for multiple devices
...
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
2015-04-15 15:18:54 +02:00
Rui Matos
0ae0f4abe4
mouse: Use GsdDeviceManager to check for device type presence
...
This allows us to work on non-X11 backends.
https://bugzilla.gnome.org/show_bug.cgi?id=743266
2015-01-21 14:26:00 +01:00
Rui Matos
d341f77756
mouse: Check synaptics capabilities only on X11
...
On other backends we don't have a way to check for synaptics
capabilities so we just show all the touchpad knobs there.
https://bugzilla.gnome.org/show_bug.cgi?id=743266
2015-01-21 14:26:00 +01:00
Rui Matos
f5eb204741
mouse: Switch to new peripherals settings schema
...
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
2015-01-20 15:02:06 +01:00
Ondrej Holy
2640a9dfd7
mouse: avoid using deprecated GtkAlignment and GtkMisc
...
https://bugzilla.gnome.org/show_bug.cgi?id=736013
2014-10-31 08:53:25 +01:00
Daniel Mustieles
2c5951819d
Updated FSF's address
2014-01-29 11:27:38 +01:00
Rui Matos
98ec15a5d5
mouse: Remove unused toplevel windows from .ui files
...
https://bugzilla.gnome.org/show_bug.cgi?id=708286
2013-10-01 10:05:02 +02:00
Ondrej Holy
da911dce3c
mouse: remove unnecessary acceleration value setting
...
The acceleration value is set twice, because binding already exists.
https://bugzilla.gnome.org/show_bug.cgi?id=708241
2013-09-27 16:09:11 +02:00
Ondrej Holy
1fc4a0c6b6
mouse: do not reset mouse speed when unset
...
https://bugzilla.gnome.org/show_bug.cgi?id=708241
2013-09-27 16:08:41 +02:00
Srinivasa Ragavan
e0fb22e384
Fix the build break due to the last cherrypicking.
2013-07-10 19:06:34 +05:30
Srinivasa Ragavan
d855a80bf6
mouse: show enable trackpad slider button even if mouse is not present.
...
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
2013-07-10 18:51:44 +05:30
Ondrej Holy
af812426de
mouse: Mouse preferences as a proper widget
...
https://bugzilla.gnome.org/show_bug.cgi?id=695902
2013-05-24 15:12:22 +02:00
Ondrej Holy
59467033f1
mouse: Restore mouse and touchpad pointer speed
...
https://bugzilla.gnome.org/show_bug.cgi?id=699015
2013-05-02 16:28:51 +02:00
Ondrej Holy
81e210d0dc
mouse: Enable horizontal scrolling when changing scroll method
...
https://bugzilla.gnome.org/show_bug.cgi?id=687509
2013-04-04 14:55:55 +02:00
Ondrej Holy
5b2818c482
mouse: Don't show touchpad disable button when there isn't mouse
...
https://bugzilla.gnome.org/show_bug.cgi?id=685583
2012-10-11 17:17:31 +02:00
Ondrej Holy
3e5cdb6fce
mouse: Switch left/right radios according text direction.
...
https://bugzilla.gnome.org/show_bug.cgi?id=669961
2012-08-28 12:05:51 +01:00
Ondrej Holy
278c89fdce
mouse: Show mouse section only if mouse is present
...
https://bugzilla.gnome.org/show_bug.cgi?id=677206
2012-08-20 19:21:00 +01:00
Ondrej Holy
7929e550f1
mouse: Add natural scroll toggle
...
https://bugzilla.gnome.org/show_bug.cgi?id=677206
2012-08-20 19:21:00 +01:00
Ondrej Holy
9f76e89661
mouse: Sensitivity and acceleration sliders merge
...
https://bugzilla.gnome.org/show_bug.cgi?id=677206
2012-08-20 19:20:59 +01:00
Ondrej Holy
a6262b0ad4
mouse: Reorganize widgets according to mockup
...
https://bugzilla.gnome.org/show_bug.cgi?id=677206
2012-08-20 19:20:59 +01:00
Bastien Nocera
6baadbf827
mouse: Remove dead code
2012-08-18 18:11:31 +01:00