Commit graph

131 commits

Author SHA1 Message Date
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
Cosimo Cecchi
77a26f95f1 mouse: remove unused code
https://bugzilla.gnome.org/show_bug.cgi?id=691132
2013-01-04 20:34:38 +01:00
Bastien Nocera
e419ee7d4e panels: Remove unused X-GNOME-Settings-Panel key 2012-12-11 17:09:04 +01:00
Bastien Nocera
3686cf7eb8 shell: Make all control-center plugins static
This makes loading faster, with less I/O, avoids unnecessary
code duplication (around 1k lines shaved), and ensures that
all the panels link and work appropriately.

By the same token, it will stop external panels from being
created, and loaded.

https://bugzilla.gnome.org/show_bug.cgi?id=690036
2012-12-11 17:07:39 +01:00
Cosimo Cecchi
8bf26a0b91 mouse: don't add the header widget in an idle
Add it in constructed() instead, since we need the value of the
construct-only shell property in order for it to work.

https://bugzilla.gnome.org/show_bug.cgi?id=687863
2012-11-07 12:32:06 -05: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
Piotr Drąg
b61b4b2a64 mouse: Improve contexts for ambiguous strings
https://bugzilla.gnome.org/show_bug.cgi?id=684336
2012-10-09 10:17:52 +02:00
Bastien Nocera
3d7e215024 mouse: Reset test area to the bottom at every try
This prevents window resizes from making the first visit to the
mouse test area one that doesn't scroll all the way to the bottom.

1. Open System Settings
2. Open a panel that's smaller than the mouse one (eg. Background)
3. Back to overview
4. Open Mouse panel, click on test button

https://bugzilla.gnome.org/show_bug.cgi?id=684817
2012-09-26 22:55:18 +02:00
Matthias Clasen
7ef84e87e9 mouse: Fix accessible labels for switches in mouse panel
Setting mnemonic-widget on the labels makes orca read out meaningful
text for the switches.
https://bugzilla.gnome.org/show_bug.cgi?id=683703
2012-09-13 06:42:38 -04:00
Florian Müllner
eee381abdd mouse: Add penta-click test in addition to double-click
Clicking anything five times should obviously bring up an image (by
Jakub Steiner) of a five-legged goat :-)

https://bugzilla.gnome.org/show_bug.cgi?id=682492
2012-09-05 19:41:48 +01:00
Ondrej Holy
936c188bf0 mouse: Widget allocated size fallback
https://bugzilla.gnome.org/show_bug.cgi?id=579135
2012-08-30 11:11:55 +01:00
Ondrej Holy
1f68f46d74 mouse: Reset timeouts id to zero
https://bugzilla.gnome.org/show_bug.cgi?id=579135
2012-08-30 11:11:55 +01:00