Commit graph

31 commits

Author SHA1 Message Date
Mohammed Sadiq
e935e581ee a11y: Update back button on panel fold change
Fixes #2154
2022-11-23 17:19:37 +05:30
Mohammed Sadiq
a25a782496 a11y: Use the new design
Fixes #1084 #1085 #1646 #1701
2022-11-21 21:49:24 +05:30
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
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
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
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
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
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
Mohammed Sadiq
d697d96020 universal-access: Use HdyColumn to center align panel
and avoid the GtkBox hack
2019-07-22 20:44:04 +00: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
Robert Ancell
59cc518c3e universal-access: Make .ui filename match the .c filename 2018-11-12 16:41:01 +00:00
Renamed from panels/universal-access/uap.ui (Browse further)