Commit graph

292 commits

Author SHA1 Message Date
Bastien Nocera
d6970f1c58 mouse: Fix right-/left-handed buttons getting out of sync
Make the two independent buttons into a group of radio buttons without
an indicator to make sure they stay in sync (one enabled, one disabled).

https://bugzilla.gnome.org/show_bug.cgi?id=756863
2015-10-28 12:20:50 +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
0fd9b483f5 mouse: make slow-to-fast in the speed sliders go from left-to-right
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
Ondrej Holy
3594f12cea mouse: remove unused graphics
Commit eee381a introduced unused graphics file double-click-gegl.png.
The file should be removed.

https://bugzilla.gnome.org/show_bug.cgi?id=746344
2015-04-14 13:57:14 +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
Carlos Garnacho
be8d68c591 Update device configuration from gnome-settings-daemon
GsdWacomDevice has been updated, dragging GsdDeviceManager as a dependency
from g-s-d, which has been added to panels/common, and compiled as a
separate static libary, which is used by the wacom and mouse modules.

gsd-input-helper.[ch] is now in such library and has been removed from
the panel directories.

https://bugzilla.gnome.org/show_bug.cgi?id=743196
2015-01-20 20:44:13 +01:00
Ondrej Holy
27428f1d19 mouse: put check buttons in one row
https://bugzilla.gnome.org/show_bug.cgi?id=743198
2015-01-20 17:28:22 +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
71aca7abdb mouse: replace deprecated stuff
https://bugzilla.gnome.org/show_bug.cgi?id=736013
2014-11-20 11:57:25 +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
Cosimo Cecchi
059ee0bb97 mouse: use resource instead of pixbuf to load SVG
This will let us load the image with appropriate scale factor when
necessary.

https://bugzilla.gnome.org/show_bug.cgi?id=733417
2014-07-22 20:06:34 -07:00
Christophe Fergeau
c67a8bf7d5 mouse: Use AM_CPPFLAGS rather than INCLUDES
This is deprecated in newer automake versions, and this causes warnings
with automake 1.14:
panels/printers/Makefile.am:3: warning: 'INCLUDES' is the old name for
AM_CPPFLAGS' (or '*_CPPFLAGS')

https://bugzilla.gnome.org/show_bug.cgi?id=732189
2014-06-25 12:32:28 +02:00
Yosef Or Boczko
2ca3540019 mouse: Use header bar in the test settings dialog
https://bugzilla.gnome.org/show_bug.cgi?id=724299
2014-04-28 17:29:17 +03:00
Ondrej Holy
0c5044609d mouse: fix touch support for the testing widget
There is delay in response to tapping without GDK_BUTTON_RELEASE_MASK.

https://bugzilla.gnome.org/show_bug.cgi?id=723294
2014-02-13 15:05:12 +01:00
Daniel Mustieles
2c5951819d Updated FSF's address 2014-01-29 11:27:38 +01:00
Yosef Or Boczko
089266fd0a mouse: Use margin-start/end instead of margin-left/right
https://bugzilla.gnome.org/show_bug.cgi?id=712661
2013-11-19 22:27:42 +02:00
Jasper St. Pierre
dd52ac9417 Add NoDisplay to all gnome-control-center panel .desktop files
These aren't apps -- they're simply launchers for gnome-control-center.
They should not be shown as apps in the UI at all.

https://bugzilla.gnome.org/show_bug.cgi?id=712246
2013-11-15 08:44:53 -05: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
Rui Matos
98719f3659 mouse: Remove unused variable
https://bugzilla.gnome.org/show_bug.cgi?id=708286
2013-10-01 10:05:02 +02:00
Yosef Or Boczko
50488b1ea0 mouse: Make the test button align better
https://bugzilla.gnome.org/show_bug.cgi?id=708000
2013-09-28 22:16:58 +03: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
Yosef Or Boczko
ca61b4dce9 mouse: Fix stretched "Test Your Settings" button 2013-08-21 20:42:09 +03:00
Ondrej Holy
86b95a81d0 mouse: Add scroll to keywords
https://bugzilla.gnome.org/show_bug.cgi?id=704673
2013-07-23 10:51:50 +02:00
Yosef Or Boczko
4678863a0f mouse: Fix the look of test button
https://bugzilla.gnome.org/show_bug.cgi?id=703769
2013-07-12 11:18:46 +03: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
Thomas Wood
a98b939e47 mouse: use a dialog window for the mouse test
This avoids using a toggle button to switch to the test area and makes the
interaction more consistent with other panels.

https://bugzilla.gnome.org/show_bug.cgi?id=702986
2013-06-25 16:29:58 +01:00
Ondrej Holy
92148a4be7 mouse: Rename "Content sticks to fingers"
...to "Natural scrolling". The previous name was a little bit
disgusting, and people didn't understand its purpose. Using the
same name as OSX means that people will either know it, or be less
afraid of testing it.

https://bugzilla.gnome.org/show_bug.cgi?id=689128
2013-06-11 16:51:02 +02:00
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
1d7f7858b2 mouse: Mouse test area as a proper widget
To avoid using global variables.
2013-05-24 15:12:17 +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
Piotr Drąg
a94cfed4b6 mouse: Better contexts for speed labels
As it turns out, some languages need different translations for
double click, mouse and touchpad speed labels.
2013-03-31 21:11:23 +02:00
Allan Day
015d68686e mouse: Update panel comments
Very few of the panel comments provide information that is very
useful. Update them to supplement the panel descriptions - this
will make the search results more helpful.

https://bugzilla.gnome.org/show_bug.cgi?id=694110
2013-02-19 10:41:43 +01:00
Ondrej Holy
67f83cdbe0 mouse: initialize click state
Fix bad state and critical error caused by reopening mouse test panel in clicked state.

https://bugzilla.gnome.org/show_bug.cgi?id=693803
2013-02-15 14:51:59 +01:00
Jeremy Bicha
bcc1cc2a5a mouse: Fix conflicting mnemonic
'Test Your Settings' and 'Disable while typing' both were set to 't'

https://bugzilla.gnome.org/show_bug.cgi?id=692767
2013-01-29 09:32:03 -05:00
Cosimo Cecchi
8d5f2908b5 panels: add --sourcedir=$(srcdir) when generating resource list
Like b8e93fb333 but for all panels.
2013-01-07 16:23:57 -05:00
Cosimo Cecchi
db5aba75a1 mouse: use a GResource for GtkBuilder UI definition and icons
https://bugzilla.gnome.org/show_bug.cgi?id=691132
2013-01-07 10:57:05 +01:00
Matthias Clasen
3d27d8caaf shell: Fittsify panels
Make it possible for panels to go all the way to the edge of the
shell. This is particularly important for panels that scroll, such
as the new power panel. All other panels are changed to compensate
for the loss of external padding.

https://bugzilla.gnome.org/show_bug.cgi?id=691229
2013-01-07 10:51:29 +01:00