Felipe Borges
e03000bd73
universal-access: Add "animations" to desktop file keywords
...
In commit a825ded085
we added the option
to enable/disable animations in the desktop as an accessibility feature.
Adding the keyword makes it possible to find the Accessibility
settings while searching for "animations" in the shell or in
gnome-control-center.
Fixes #1620
2022-02-04 17:23:56 +00:00
Jakub Steiner
13376ecb8b
Add individual app icons
2022-01-31 14:08:22 +00:00
Georges Basile Stavracas Neto
bc686f7b14
accessibility: Add go-next-symbolic icon to various rows
...
See https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1587
2022-01-21 16:13:21 +00:00
Georges Basile Stavracas Neto
0ab20af9ba
panels: Switch to CcPanel content
...
Start porting panels to the new panel format. This commit
temporarily makes panels have two titlebar, which will be
fixed soon.
2022-01-20 02:23:42 +00:00
Jan Beich
37b29c32cb
meson: drop unused argument for i18n.merge_file()
...
Ignored in Meson < 0.60.0, deprecated since 0.60.1 and fatal since 0.61.0.
panels/applications/meson.build:10:5: ERROR: Function does not take positional arguments.
panels/background/meson.build:10:5: ERROR: Function does not take positional arguments.
panels/camera/meson.build:10:5: ERROR: Function does not take positional arguments.
[...]
2022-01-07 17:22:43 +00:00
Christopher Davis
0af1937d4d
universal-access: Inline Sound Keys dialog
...
This can also be replaced with a simple switch
in an AdwActionRow.
2022-01-05 22:06:37 +00:00
Christopher Davis
f4b0ac5318
universal-access: Inline Screen Reader dialog
...
The dialog can easily be replaced by an
AdwActionRow with a switch and a subtitle.
2022-01-05 22:06:37 +00:00
Christopher Davis
9982f30008
cc-ua-panel: Remove custom listboxes
...
No longer needed now that all rows handle
activation.
2022-01-05 22:06:37 +00:00
Christopher Davis
997fadf8fb
cc-ua-panel: Handle row activation on individual rows
...
The custom listboxes serve another purpose: to handle
row activation. Instead of using a custom listbox, we
can simply listen to the `activated` signal on the
rows that don't have a switch.
2022-01-05 22:06:37 +00:00
Christopher Davis
02b9f29c44
cc-ua-panel: Use AdwActionRow for all rows
...
AdwActionRow simplifies activation handling for
switches, provides consistent styling and sizing,
and mnemonic handling.
2022-01-05 22:06:37 +00:00
Christopher Davis
a58fa42e1d
cc-ua-panel: Use AdwPreferencesPage/AdwPreferencesGroup
...
The individual groups still use their own listboxes,
as the custom rows they use won't be added to
AdwPreferencesGroup's list.
See https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.PreferencesGroup.html#adwpreferencesgroup-as-gtkbuildable
2022-01-05 22:06:37 +00:00
Christopher Davis
6a525c861e
cc-ua-panel: Remove custom keynav handling
...
We were using this to move between groups and scroll
the page, but that's not necessary. All we need
to do is set `scroll-to-focus` on our GtkViewport.
This commit removes the keynav-failed callback
and all associated plumbing.
2022-01-05 22:06:37 +00:00
Alexander Mikhaylenko
f89976ff54
ua: Stop setting high contrast WM theme
...
That key is deprecated.
2021-12-20 19:51:46 +00:00
Alexander Mikhaylenko
c1f8e93636
ua: Use the new high contrast key
...
Keep setting gtk theme, but use the new boolean as the source of truth.
2021-12-20 19:51:46 +00:00
Christopher Davis
981a8cea7b
panels: Use .boxed-list
instead of .content
...
The `.content` style class is deprecated in favor
of the `.boxed-list` style class, which is named
after the design pattern it's used for.
2021-12-16 12:52:44 -08:00
Georges Basile Stavracas Neto
9995a3bb79
universal-access: Port to GTK4
...
This was quite a huge port, but fortunately it mostly involved
removing tons of deprecated widgets (without replacement; just
drop them) and adjusting packing properties.
2021-12-14 22:34:21 -03:00
Felipe Borges
a825ded085
universal-access: Add "Enable Animations" option
...
Fixes #1388
2021-07-28 19:12:12 +02:00
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