Commit graph

248 commits

Author SHA1 Message Date
Carlos Garnacho
d7db0faa4e universal-access: Look up double-click setting in the right schema
This was changed in commit 006d0e6a63, and wrongly made to look on the
wrong schema. Fix it up so double-click setting lookup happens on
org.gnome.desktop.peripherals.mouse.

Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1256
2021-02-18 16:08:53 +01:00
Carlos Garnacho
006d0e6a63 universal-access: Update to g-s-d mouse schema changes
The settings used here moved to the org.gnome.desktop.peripherals.mouse
schema, out of g-s-d. Stop referencing this unused schema.
2021-01-27 13:38:34 +01:00
Robert Ancell
012e9cae25 universal-access: Use modern packing tags in CcZoomOptionsDialog 2020-11-11 20:01:55 +00:00
Robert Ancell
c13a276abd universal-access: Remove unused tags in CcZoomOptionsDialog .ui file 2020-11-11 20:01:55 +00:00
Robert Ancell
99d7097548 universal-access: Rename widgets to standard names and use standard types 2020-11-11 20:01:55 +00:00
Robert Ancell
4ac698eabd universal-access: Split pointing dialog into its own widget 2020-11-11 20:01:55 +00:00
Robert Ancell
0bd133489d universal-access: Split typing dialog into its own widget 2020-11-11 20:01:55 +00:00
Robert Ancell
2f4058d7e9 universal-access: Split cursor blinking dialog into its own widget 2020-11-11 20:01:55 +00:00
Robert Ancell
31102bd256 universal-access: Split repeat keys dialog into its own widget 2020-11-11 20:01:55 +00:00
Robert Ancell
9aaee503c9 universal-access: Split visual alerts dialog into its own widget 2020-11-11 20:01:55 +00:00
Robert Ancell
828a2bee45 universal-access: Split sound keys dialog into its own widget 2020-11-11 20:01:55 +00:00
Robert Ancell
9a6631a31d universal-access: Split screen reader dialog into its own widget 2020-11-11 20:01:55 +00:00
Robert Ancell
12a19878a6 universal-access: Split cursor size dialog into its own widget 2020-11-11 20:01:55 +00:00
Robert Ancell
accf1b82a0 universal-access: Launch zoom options dialog modally 2020-11-11 20:01:55 +00:00
Robert Ancell
a27be44a1d universal-access: Set dialog parent externally 2020-11-11 20:01:55 +00:00
Robert Ancell
88b9b2a149 universal-access: Rename ZoomOptions to standard CcZoomOptionsDialog 2020-11-11 20:01:54 +00:00
Robert Ancell
3e489cc650 universal-access: Simplify row activation code.
The existing code used three methods for working out how each row worked.
2020-11-11 20:01:54 +00:00
Lionir Deadman
fc3de80fc7 Add back "Universal Access" keyword to allow for old users to still find their way to it.
This was mentioned here : https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/795#note_872863
2020-08-11 22:25:58 +00:00
Yuri Chornoivan
e7050ab6f4 Fix minor typos 2020-07-20 10:38:09 +03:00
Adrien Plazas
f06379e30c Replace HdyColumn by HdyClamp
In libhandy 1, HdyClamp replaces HdyColumn. This stops setting values
when they match HdyClamp's defaults.
2020-07-20 08:04:28 +02:00
lionirdeadman
146ddd9739 Rename Universal to Accessibility
Fixes #867
Don't touch parts which are not visible
to the user as to avoid regressions
2020-07-19 21:59:22 +00:00
Robert Ancell
6ae9710a50 universal-access: Connect signals with g_signal_connect_object in swapped form 2020-03-30 16:18:49 +13:00
Georges Basile Stavracas Neto
64756d6b08 region, universal-access: Move to the Details section
They need to have their desktop files updated too.
2020-01-06 15:15:30 +00:00
Felipe Borges
ca291402bc universal-access: Add "Locate Pointer" option
Since [0] and [1], "locate pointer" is now in Mutter and works
well under Wayland and X11.

Once activated, the mouse pointer can be located on the screen
by pressing the Ctrl key. Pressing Ctrl will cause an animation
to appear briefly at the location of your pointer.

[0] https://gitlab.gnome.org/GNOME/mutter/merge_requests/453
[1] https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/413

Fixes #586
2019-12-17 23:03:31 +00:00
Robert Ancell
0d096f4c52 universal-access: Update visual alert label to match behaviour change in Mutter
Fixes #403
2019-12-17 22:22:57 +00:00
Felipe Borges
733a638a16 universal-access: Make rows and its elements reachable via keyboard 2019-11-15 13:49:54 +01:00
Robert Ancell
97985a664e Remove unused GNOMELOCALEDIR defines 2019-09-09 21:45:53 +00:00
Robert Ancell
a760707291 universal-access: Fix compile warning
Introduced in 38897a751b
2019-08-13 10:40:59 +12:00
Mohammed Sadiq
d697d96020 universal-access: Use HdyColumn to center align panel
and avoid the GtkBox hack
2019-07-22 20:44:04 +00:00
Mohammed Sadiq
38897a751b universal-access: Free zoom options dialog right
Use gtk_widget_destroy() instead of g_clear_object().
Otherwise, it results in segfault on dispose()
2019-07-15 04:40:42 +00:00
Robert Ancell
3351e91e34 universal-access: Don't use widget names for GSettings keys
The widget were renamed in 6cd94618 and this setting was broken.

Fixes #555
2019-06-04 14:03:11 +12:00
Robert Ancell
ffaeb56b55 universal-access: Fix leaks checking settings 2019-06-04 13:49:32 +12:00
Robert Ancell
9bc429ce64 universal-access: Fix duplicate settings call
This would leak the value of the first setting.
2019-06-04 13:49:03 +12:00
Jeremy Bicha
ae75ebcafb universal-access: Reverse Repeat Keys Speed direction
Since the gsettings is for the repeat-interval but the
GUI is for Speed, we need to reverse the mapped direction.

We have to turn off the fill indicator (has_origin) for Speed
since it fills the right side instead of the left. We turn
off the indicator for Delay to match.

Closes: https://gitlab.gnome.org/GNOME/gnome-control-center/issues/311
2019-01-10 11:58:42 +00:00
Jeremy Bicha
0f92ffb01a universal-access: Remove redundant label-for relations
The appropriate relation is already set with the mnemonic_widget property.

In particular, this also fixes an issue where a screenreader would
emit "Crosshairs" every time a new tab was entered in the Zoom dialog
because of some incorrect labelled-by relations.
2019-01-10 11:46:34 +00:00
Jeremy Bicha
7cac185494 universal-access: add search keywords
Closes: https://gitlab.gnome.org/GNOME/gnome-control-center/issues/1
2019-01-05 12:43:14 +00:00
Robert Ancell
59cc518c3e universal-access: Make .ui filename match the .c filename 2018-11-12 16:41:01 +00:00
Robert Ancell
24d495d0f5 universal-access: Don't use gtk_widget_show_all
It is removed in GTK+ 4
2018-10-11 22:21:34 +00:00
Robert Ancell
014e572e9b universal-access: Use GtkTemplate 2018-06-11 14:11:47 +00:00
Robert Ancell
3f9337da4e universal-access: Use g_auto for variables 2018-06-03 01:31:26 +00:00
Robert Ancell
6b2ed3a4bc universal-access: Replace ifdefs with #pragma once 2018-05-30 23:33:25 +00:00
Robert Ancell
85eeebb5c5 universal-access: Replace GObject boilerplace with G_DECLARE_TYPE 2018-05-30 23:33:25 +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
Georges Basile Stavracas Neto
cf163ef0df universal-access: Use transient-for display
This prevents us from triggering a warning.
2018-03-16 02:07:17 -03:00
Georges Basile Stavracas Neto
a5b766f7f0 universal-access: Move widget setup code to constructed()
This is in preparation for using the transient-for window to
retrieve the GdkMonitor.
2018-03-16 02:06:28 -03:00
Georges Basile Stavracas Neto
6cd9461807 universal-access: Turn ZoomOptions into a template class
This commit turns the ZoomOptions into a template class that
subclasses GtkDialog.

This is also a follow-up from commit c82deede1 where we started
using the non-deprecated GdkMonitor API.
2018-03-16 02:01:38 -03:00
Georges Basile Stavracas Neto
c82deede1c universal-access: Port to GdkMonitor API
This removes the last deprecation warning of the Universal
Access panel by porting the GdkScreen API usage to the
GdkMonitor API.
2018-03-07 12:10:22 -03:00
Georges Basile Stavracas Neto
cec979ae0c universal-access: Replace GtkHScale
Following the previous commit, this one replaces GtkHScale
by GtkScale. No GtkVScale was found in Universal Access
panel (or any other panel).
2018-03-07 11:56:26 -03:00
Georges Basile Stavracas Neto
86413dc6d5 universal-access: Replace GtkHBox and GtkVBox
We can simply use a GtkBox and set the orientation property.
Since this property defaults to 'horizontal', we actually
only need to set it when replacing GtkVBox.
2018-03-07 11:50:07 -03:00
Piotr Drąg
7265bd53a0 Add translator comments to .desktop files
Icons are confusing translators, and gettext
is unlikely to get fixed any time soon.
2018-02-23 18:49:35 +01:00