Commit graph

126 commits

Author SHA1 Message Date
Bastien Nocera
701de89ef3 bluetooth: Use the new Bluetooth UI library
Which only exports the Settings widget and nothing else.

See https://gitlab.gnome.org/GNOME/gnome-bluetooth/-/merge_requests/103
2022-01-19 13:46:43 +01:00
Bastien Nocera
84e0db96fa build: Bump g-s-d req for new GSettings key
Commit 1144db552e added new UI which
required a GSettings key that's only available in more recent versions
of gnome-settings-daemon. Require the first stable version which
included this key.

Closes: #1450
2022-01-10 19:44:24 +01:00
Bastien Nocera
6234e16712 build: Fix Bluetooth panel build
API version got bumped, see:
https://gitlab.gnome.org/GNOME/gnome-bluetooth/-/merge_requests/92
2022-01-05 11:02:45 +01:00
Bastien Nocera
d8719a627e build: Bump required gsettings-desktop-schemas version
For the colour scheme option.
2022-01-05 11:02:45 +01:00
Georges Basile Stavracas Neto
efbad6eb50 network: Port to GTK4
Boy this was hard.

To ease the pain of porting wireless-security to GTK4, add
a new WsFileChooserButton class that mimics the behavior of
a button that triggers a filechooser, as per the migration
guide suggests.

There were lots of GtkGrids, so the diff is particularly
horrendous. Sorry.

This needs serious testing before landing.
2021-12-14 22:34:21 -03:00
Georges Basile Stavracas Neto
d00cc3929e [WIP] color: Port to GTK4
This is very rough still. The calibration code
is entirely untested.
2021-12-14 22:34:21 -03:00
Georges Basile Stavracas Neto
d9d670328b background: Port to GTK4
CcBackgroundPreview required some layout changes, but
overall a pretty easy port.
2021-12-14 22:34:21 -03:00
Georges Basile Stavracas Neto
2b11900b0c bluetooth: Port to GTK4
This needs libgnome-bluetooth-2.0, which was recently merged.
2021-12-14 22:34:21 -03:00
Georges Basile Stavracas Neto
59bdf81028 common: Port to GTK4
This is only the bare minimum to make everything under panels/common
build. Since these widgets are used by the main window, port them
first.

CcTimeEntry was particularly hard to port. That's because GtkEntry
is a final class now. Overall, though, I'm happy with how it turned
out to be - much cleaner, less code, more obvious.
2021-12-14 22:34:21 -03:00
Georges Basile Stavracas Neto
5ca53a0a78 Drop Cheese dependency
Cheese is not ready for GTK4, and probably won't ever be, so just
drop the dependency. We'll reimplement webcam support using PipeWire
later.
2021-12-14 22:34:21 -03:00
Georges Basile Stavracas Neto
5303a977b1 Switch to GTK4 & libadwaita
Nothing builds now.
2021-12-14 22:34:21 -03:00
Georges Basile Stavracas Neto
f41ab920b3 Disable all panels and tests
We'll start the transition by disabling all panels and tests, so that
we can go through them one by one, which should make the review process
significantly less painful.
2021-12-14 22:34:21 -03:00
Bastien Nocera
76e7f6b80e build: Check for polkit supplementary files
Which are shipped in newer versions of polkit, as well as backported in
older versions of Ubuntu, rather than hardcoding a newer version of
polkit and expecting newcomers to know to downgrade the version
requirement.

Fixes: 9ebcd17236
2021-10-20 14:25:30 +00:00
Bastien Nocera
53f493e326 Revert "build: Bump build-dependency on polkit"
This reverts commit 9ebcd17236.
2021-10-20 14:25:30 +00:00
Georges Basile Stavracas Neto
a318fd544c Post-release version bump 2021-09-17 17:52:35 -03:00
Georges Basile Stavracas Neto
2d99f8661f Post-release version bump 2021-09-05 19:38:39 -03:00
Nishal Kulkarni
7054d8b050 display: deprecation fix
Change g_memdup to g_memdup2 in display.

https://discourse.gnome.org/t/port-your-module-from-g-memdup-to-g-memdup2-now/5538
2021-08-15 11:29:19 +00:00
Georges Basile Stavracas Neto
71533005ea Post-release version bump 2021-08-13 19:21:04 -03:00
Mohammed Sadiq
dc840f0aec wwan: Add new panel for modem management
The panel supports 2G/3G/4G GSM/LTE modems. CDMA2000 Modems are not supported.
If a supported modem is present, the panel will be shown and the modem will be
handled, else, network-panel shall manage the modem as it did in the past.

If more than one modem with data enabled is present, the user is allowed to set
priority of one SIM over the other (the priority is for SIM, not modem).

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/issues/132
2021-08-13 19:25:41 +00:00
Georges Basile Stavracas Neto
9c8f097a38 Post-release version bump 2021-07-29 19:29:11 -03:00
Eric
4383f020e7 Switch to g_get_os_info to read os_release
As described in #1346, GLib 2.64 includes a g_get_os_info() function,
providing access to keys from /etc/os-release. This commit replaces calls to
gnome-control-center's custom parser (in panels/common/cc-os-release.c)
with calls to this new function, and deletes the custom parser code.

Closes #1346
2021-06-15 21:54:35 +00:00
Marco Trevisan (Treviño)
ed46af7f24 build: Depend on gsettings-desktop-schemas 40
g-c-c requires now org.gnome.desktop.peripherals schemas that have been
added on schemas 40.alpha, so let's depend on that.
2021-06-07 22:40:20 +02:00
Ian Douglas Scott
e30c6a9130 Bump libhandy to 1.2.0 2021-05-07 03:23:31 +00:00
Georges Basile Stavracas Neto
b1134f3dca Post-branching version bump
The GNOME 41 merge window is open now.
2021-04-13 08:02:52 -03:00
Georges Basile Stavracas Neto
e8fc8fd47a Post-release version bump 2021-03-20 19:08:20 -03:00
Georges Basile Stavracas Neto
bcb6b70aa9 Post-release version bump 2021-03-12 11:52:57 -03:00
Georges Basile Stavracas Neto
49aaa156ab Post-release version bump (40.rc) 2021-02-21 13:33:58 -03:00
Georges Basile Stavracas Neto
29fe60032e 40.beta 2021-02-21 13:20:10 -03:00
Philip Withnall
e8d9fc565b user-accounts: Pass --user argument to select user in malcontent-control
This eases the transition from g-c-c to malcontent-control a little.

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

Helps: https://gitlab.freedesktop.org/pwithnall/malcontent/-/issues/19
2020-10-20 12:50:48 +01:00
Georges Basile Stavracas Neto
0473ddce07 meson: Use summary instead of manually built string
It simplifies the code, and allows us to have some consistency
between projects (either inside and outside GNOME, mind you).

I took the liberty to rename and reword some of the options so
that they actually describe which ones are optional, and also
which ones are hard dependencies detected at build time.
2020-10-12 03:25:59 +00:00
Georges Basile Stavracas Neto
febfe1d63d 40.alpha
Pre-release version bump.
2020-10-03 20:01:29 -03:00
Gunnar Hjalmarsson
5aee280a29 common: Display locale @modifiers properly
Fixes GNOME/gnome-desktop#50
2020-09-21 13:13:10 +00:00
Bastien Nocera
8932e3acaa network: Depend on NetworkManager 1.24
nm_client_on_permission_change() was added in 1.24, so depend
on this version.

Closes: #1120
2020-09-16 10:11:45 -03:00
Adrien Plazas
9d69f8ca62 Bump libhandy to 1.0.0
Let's use a stable version.
2020-09-14 21:35:23 +00:00
Georges Basile Stavracas Neto
d6f3d21454 3.38.0 2020-09-12 13:23:08 -03:00
Georges Basile Stavracas Neto
2e37c9d87c build: Use non-deprecated python module to search for python 2020-09-12 13:22:33 -03:00
Georges Basile Stavracas Neto
fd795a803d 3.37.92 2020-09-05 11:56:44 -03:00
Adrien Plazas
bccbaf5e43 Bump libhandy to 0.90.0
The API is now stable.
2020-08-18 02:51:04 +00:00
Georges Basile Stavracas Neto
28cafa451e 3.37.90 2020-08-15 18:06:40 -03:00
Adrien Plazas
83c935ce7d meson: Replace libhandy-0.0 by libhandy-1
Depend on libhandy 0.84.0, and migrate to the GNOME repo.
2020-07-20 08:04:28 +02:00
Michael Catanzaro
ed15c1a2f0 Fix setting to disable IPv6
The setting to disable IPv6 did not actually work. Instead, it just
caused NetworkManager to ignore IPv6 entirely. From the libnm
documentation of NM_SETTING_IP6_CONFIG_METHOD_IGNORE: "IPv6 is not
required or is handled by some other mechanism, and NetworkManager
should not configure IPv6 for this connection." It's just the wrong enum
to use here.

I considered adding a new radio button to use the older ignore setting,
but it doesn't make a ton of sense since that setting allows IPv6 to be
configured outside NetworkManager, and what is the point of exposing
graphical configuration for that? So instead, we can have the GUI change
the value from IGNORE to DISABLED if set.

Fixes #593
2020-07-16 23:41:07 +00:00
Georges Basile Stavracas Neto
dd083e22b7 3.37.3 2020-07-07 16:49:58 -03:00
Umang Jain
dbf1b0dafb applications: Integrate with malcontent's restrictions
malcontent[1] is  parental(or admin) controlled interface which
can restrict a application's visibility and interactivity for a
standard user. Hence, if the current uid has any restrictions
on its installed applications, filter them out from the applications
panel.

Make the malcontent support enable or disable by setting it up as
a build-time meson option.

[1]: https://gitlab.freedesktop.org/pwithnall/malcontent/
2020-06-17 12:56:43 +01:00
Georges Basile Stavracas Neto
c0e0ffa267 build: Depend on gsettings-desktop-schemas 3.37.1
The 'avatar-directories' key is a 3.37.1 addition.
2020-05-07 15:06:02 +00:00
Robert Ancell
ead0ae4178 applications: Use new snapd-glib API for labelling Snap interfaces
This removes the need to put translated strings in g-c-c, and allows them to be
shared between multiple applications that use Snaps.
2020-04-16 03:59:33 +00:00
Bastien Nocera
a824eebef4 sound: Fix translation of "System Sounds"
The wrong package name got passed for the gvc subproject, so an empty
gettext package name ended up being used to look for the "System Sounds"
translation.

Pass the package name so that the translation works as expected.

Closes: #426
2020-04-02 01:27:46 +02:00
Georges Basile Stavracas Neto
10310f2ada 3.37.0 2020-03-29 19:48:09 -03:00
Robert Ancell
609b239893 3.36.1 2020-03-27 09:36:50 +13:00
Georges Basile Stavracas Neto
7720a13b0f 3.36.0 2020-03-06 22:15:10 -03:00
Georges Basile Stavracas Neto
26e9a7d11a 3.35.92 2020-02-29 15:10:44 -03:00