Commit graph

23 commits

Author SHA1 Message Date
Felipe Borges
9285b0deb5 privacy: Update empty-state pages for more accurate permissions
To indicate that the permissions only apply to sandboxed applications.

See #741 (comment 1457422)
2022-12-01 09:59:21 +00:00
Allan Day
6aeda05ada privacy: Correct awkward description text
Improve phrasing, remove redundent text, and tidy up the structure.

Fixes #2155
2022-11-22 14:41:50 +00:00
Philip Withnall
055bf8feeb privacy: Mention non-sandboxed apps can always use camera/microphone/GPS
These toggles only apply to the portal system, so only restrict access
for sandboxed apps. Non-sandboxed apps (installed into `/usr/bin`) can
always access these resources on typical distributions.

In future, perhaps integration with a MAC (like SELinux) could restrict
access to the camera/microphone/GPS for non-sandboxed applications —
but we invented sandboxing to avoid having to do that, so it seems
unlikely that’s ever going to be implemented. If it is, this wording
can change again.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>

Fixes: #741
2022-11-22 13:15:01 +00:00
Jake Dane
89443fe550 desktop: Remove obsolete Bugzilla entries
The `X-GNOME-Bugzilla-*` entries were for use by bug-buddy, a GNOME 2
technology that's been gone for over a decade. These entries are
obsolete and can be removed from all desktop files.

The `X-GNOME-Settings-Panel` entry is also obsolete as far as I can
tell and only these panels had it in their desktop file: notifications,
sharing, sound and user-accounts. These entries can also be removed.

After removing the `X-GNOME-Bugzilla-*` entries, the desktop files have
no more variables in them. The meson `configure_file` step is therefor
pointless—there are no variables to configure. As such the
`*.desktop.in.in` files are renamed to `*.desktop.in` to reflect this
and `meson.build` files are modified to remove `configure_file` step.
2022-10-20 13:20:09 +00:00
Lukáš Tyrychtr
666af4ddea Add a missing label 2022-05-29 23:06:33 +00:00
Marco Trevisan (Treviño)
adffd7a2df Panels: Update Privacy panels keywords to match specific contents
Ensure we use more specialized keywords for privacy panels, without
repeating the unneeded ones.
2022-05-10 04:18:20 +00:00
Jakub Steiner
13376ecb8b Add individual app icons 2022-01-31 14:08:22 +00:00
Georges Basile Stavracas Neto
4300a4a290 panels: Use new CcPanel helpers for title widgets
This should significantly simplify these panels, by not forcing
them to override GObject.constructed all the time. Most panels
were quite straightfoward.
2022-01-20 02:23:42 +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
2f9ed9e2a6 location: Use AdwActionRow for application rows 2022-01-14 22:58:19 -08:00
Christopher Davis
cd440893d2 location: Use AdwPreferences{Page, Group} 2022-01-14 22:58:19 -08:00
Christopher Davis
9e81c4e741 location: Use AdwStatusPage 2022-01-14 20:09:11 -08: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
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
449c55be3a location: Port to GTK4
An almost trivial port too.
2021-12-14 22:34:21 -03:00
Georges Basile Stavracas Neto
b7ff6aa2d5 Revert "location: Fix permission store table/id"
This reverts commit 996e46c620.

Turns out, it was GNOME Shell who should have switched to the location table
we were using. This was done at [1], so let's revert this change for GNOME 41.

[1] https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1945
2021-08-13 12:01:16 -03:00
Ian Douglas Scott
996e46c620 location: Fix permission store table/id
Updates to match
https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/master/js/ui/status/location.js

Should fix
https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/885.
2021-07-02 19:18:21 +00:00
Guido Günther
3ac2804868 location-panel: Allow label to wrap
Otherwise the panel overflows when enabling location services.
2021-03-12 14:16:31 +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
Gunnar Hjalmarsson
05f3cb67c4 Make privacy a valid search term to find the Privacy panels 2020-04-06 23:08:22 +00:00
Robert Ancell
93b14a4339 panel: Move shared GCancellable code into panel class
Make the panel class provide a cancellable that will be cancelled when the panel
is destroyed. Panel implementations can use this and not have to mangage the
cancellable themselves. Consolidate cases where panels had multiple cancellables
that were all being used for this behaviour.
2020-02-03 09:36:24 +13:00
Robert Ancell
f1e0666eca Simplify usage of g_variant_iter_loop
Access strings via pointers, which reduces copying and the chances of leaks.
Simplify cases where string arrays were modified - no need to replace the value as it's no longer allocated.
Always complete the loop so references are freed.
2019-11-27 21:25:34 +00:00
Matthias Clasen
f92f6f5cf1 Add a location panel
This is a broken out version of the privacy panel dialog.
2019-11-07 14:40:07 +13:00