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