Commit graph

8 commits

Author SHA1 Message Date
Christopher Davis
73d60296d1 sharing-networks: Port to AdwPreferencesGroup
Also, make the list box to be a11y-labelled.

Partial rebase of https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1239
2024-05-17 08:50:58 +00:00
Automeris naranja
7009df80d0 sharing: Fix the networks section from the File/Media Sharing dialogs
- Remove the "Networks" title from CcSharingNetworks
and only use the titles from the AdwPreferencesGroups

- Remove the margins from CcSharingNetworks,
since AdwPreferencesGroup already has margins

- Remove unused `spacing` properties

- Replace the Media Sharing GtkGrid with a GtkBox,
like in the File Sharing dialog, and separate the
networks and folders section into their own
AdwPreferencesGroups

- Remove an unnecessary GtkListBox. It was added[1]
in order to make the "Require Password" and "Password"
rows to have the boxed-list style. Since the dialogs
from Sharing panel started to use AdwPreferencesPage/Group[2],
this GtkListBox is no longer necessary.

[1] 9a15a48d
[2] 45a5a1e0

Closes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2818
2024-02-12 09:07:30 +00:00
Maximiliano Sandoval R
77acfe3ebd sharing-networks: Set seleciton-mode=none
Using other selection modes is not supported with boxed-list and we
don't make use of it.
2023-10-23 13:37:52 +00:00
Maximiliano Sandoval R
a660cfa9ff sharing-network: Remove Glade lines 2023-10-23 13:37:52 +00:00
Maximiliano Sandoval R
8e0e3487cb sharing-network: Don't use GtkFrame 2023-10-23 13:37:52 +00:00
Maximiliano Sandoval R
d3f824e422 sharing-networks: Use proper heading class 2023-10-23 13:37:52 +00:00
Georges Basile Stavracas Neto
f043ca3680 sharing: Port to GTK4
Again, it was easier to just switch some of the code to use
AdwActionRow, and that's what I've done in this commit.
2021-12-14 22:34:21 -03:00
Robert Ancell
90c7311664 sharing: Make .ui filename match the .c filename 2019-09-09 21:58:00 +00:00
Renamed from panels/sharing/networks.ui (Browse further)