Commit graph

29 commits

Author SHA1 Message Date
Felipe Borges
ba74864b61 cc-panel: Require explicit "subpage" widget child type for subpages
Require the use of <child type="subpage"> for when an AdwNavigationPage
is expected to be added to CcPanel.navigation.

This way we can avoid programming errors when a child widget is wrongly
packed in the navigation view.

See also https://gitlab.gnome.org/GNOME/gnome-control-center/-/wikis/shell/CcPanel#child-packing

Co-authored-by: Matthijs Velsink <mvelsink@gnome.org>
2024-05-17 09:18:00 +00:00
Felipe Borges
3f273bee0b privacy: Use CcPanel.navigation rather than own navigation-view 2024-05-17 09:18:00 +00:00
Sam Hewitt
20b52298d8 privacy: Use org.gnome.Settings namespace for symbolic icons 2024-04-29 11:01:18 -02:30
Felipe Borges
5bdb890675 build, privacy: Make Location settings build conditional
Considering the retirement of Mozilla Location Service, most
laptop/desktop users will rely on weaker network based location
sources.

Let's make the Location settings a build option, disabled by default.
-Dlocation-services=enabled

See #2959
2024-04-04 13:52:10 +02:00
Felipe Borges
1a54cbf15a privacy: Remove Microphone page
See commit f46fbd18.

This panel can't really be useful at this point since there's no
portal for apps to access microphones.

See #2848
Fixes #2958
2024-03-28 15:56:55 +01:00
Felipe Borges
5323020102 privacy: Fix Thunderbolt page tag name
The main panel was looking for a page with tag "bolt" when the panel
is actually using the "thunderbolt" tag.

Fixes #2973
2024-03-25 11:19:43 +01:00
Automeris naranja
963c598cce privacy: Update subpage tags in the main page
Each page had its AdwNavigationPage tag updated in [1],
but the tags in the Privacy panel main page weren't
updated, which made all the subpages fail to open.

[1] 917248d7bf
2024-03-12 17:41:23 -03:00
Sam Hewitt
a5f6efaddb Update and clean up symbolic icon assets
- refresh the symbolic icons to sync some style changes and update the source sheet
- rename assets for the privacy subpanel's symbolic icons
- delete deprecated/unused symbolic icons
- add new icon for system panel
- add new icon for remote desktop so it isn't using displays icons
2024-02-10 16:17:35 +00:00
Will Thompson
f46fbd18a6 privacy: Hide non-functional microphone panel
There is currently no portal through which applications can request
access to the microphone. So all applications either access the
PulseAudio/Pipewire socket directly (which cannot be controlled by this
panel) or do not access the microphone (in which case they do not appear
here).

Hide the panel until such a portal exists. Remove the “microphone”
keyword from the panel's desktop file, used for in-app and desktop
search results.

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2848
2024-01-22 09:20:41 +00:00
Automeris naranja
df080da61d privacy: Rename "Location Services" page to "Location"
As per latest mockups:
753704dbe4/location-services/location-services.png

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/2125#note_1961390
2024-01-09 12:59:31 +00:00
Bart Gravendeel
cacc2b5bef Remove use-underline property from all CCListRows 2024-01-04 10:11:35 +00:00
Felipe Borges
99459f879a privacy: Rename visible name to "Privacy & Security"
Fixes #2742
2023-11-16 08:45:51 +00:00
Alice Mikhaylenko
4680f362f3 Port to AdwNavigationSplitView 2023-08-25 08:00:43 +00:00
Marco Melorio
49f037595d privacy-panel: Improve subpage row descriptions 2023-08-06 14:11:08 +00:00
Marco Melorio
a2f65a0471 privacy-panel: Group the subpage rows 2023-08-06 14:11:08 +00:00
Marco Melorio
5c75c03b52 privacy: Add thunderbolt page
The UI file is not formatted on purpose to facilitate the review. It
will be reformatted in a later commit.
2023-08-03 08:42:10 +00:00
Marco Melorio
71349d80d9 privacy: Add device security page
The UI file is not formatted on purpose to facilitate the review. It
will be reformatted in a later commit.
2023-08-03 08:42:10 +00:00
Marco Melorio
8ea49662d6 privacy: Add microphone page
The UI file is not formatted on purpose to facilitate the review. It
will be reformatted in a later commit.
2023-08-03 08:42:10 +00:00
Marco Melorio
4eefc51dd2 privacy: Add camera page
The UI file is not formatted on purpose to facilitate the review. It
will be reformatted in a later commit.
2023-08-03 08:42:10 +00:00
Marco Melorio
6dac508732 privacy: Add location page
The UI file is not formatted on purpose to facilitate the review. It
will be reformatted in a later commit.
2023-08-03 08:42:10 +00:00
Marco Melorio
ef58f0e097 privacy: Add diagnostics page
The UI file is not formatted on purpose to facilitate the review. It
will be reformatted in a later commit.
2023-08-03 08:42:10 +00:00
Marco Melorio
c94afe06a8 privacy: Add usage page
The UI file is not formatted on purpose to facilitate the review. It
will be reformatted in a later commit.
2023-08-03 08:42:10 +00:00
Marco Melorio
b2eaa54d7d privacy: Add screen lock page
The UI file is not formatted on purpose to facilitate the review. It
will be reformatted in a later commit.
2023-08-03 08:42:10 +00:00
Marco Melorio
81dd3de928 panels: Add empty Privacy panel with navigation
It will be filled in later commits.
2023-08-03 08:42:10 +00:00
Matthias Clasen
a4bdc37760 Remove the privacy panel
It has been turned into a herd of panels.
2019-11-07 14:40:07 +13:00
Bastien Nocera
f9d0dc9795 privacy: Rename "Show Notifications" label
To be clearer.

https://bugzilla.gnome.org/show_bug.cgi?id=743307
2019-03-29 17:12:20 +00:00
Matthias Clasen
2950debe18
privacy: handle microphone and camera
This is just adding switches for these new settings
to the panel, no changes to the design.
2019-01-07 10:59:30 -02:00
Adrien Plazas
7437ac1fd1 privacy: Use a HdyColumn
This better adapts the panel's size to the window's size, allowing it to
look good on both large and narrow windows.
2018-11-29 00:48:16 +00:00
Robert Ancell
33c91ce738 privacy: Use GtkTemplate
Switch from GtkBuilder to using GtkTemplate.
Rename widget IDs to be more readable.
Drop widget IDs that are not used.
Move code into the .ui file that can be.
2018-10-18 01:01:07 +00:00
Renamed from panels/privacy/privacy.ui (Browse further)