Commit graph

169 commits

Author SHA1 Message Date
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
Georges Basile Stavracas Neto
1e9a948b86 3.35.91 2020-02-17 13:49:22 -03:00
Georges Basile Stavracas Neto
59d87e94a6 3.35.90 2020-02-02 13:50:17 -03:00
Robert Ancell
baed38e31c background: Fix CI build breaking on gnome-desktop API change
The change was added in feeee1c. For now we will handle the old and the new API
until this can be built.
2020-01-22 12:01:22 +13:00
Javier Jardón
feeee1c744 Adapt to new gnome-desktop API changes 2020-01-16 13:55:40 +00:00
Robert Ancell
9ebcd17236 build: Bump build-dependency on polkit
We require the .its files, which were added in Polkit 0.114.

Fixes #491
2020-01-06 15:24:51 +00:00
Robert Ancell
aa471faa4a applications: Show snap app sizes 2019-12-18 12:29:19 +13:00
Felipe Borges
3d18fa23fe meson: Require 0.51.0
The issues initially reported in #343 have been fixed in Meson, and
git tag --contains 5f00c3020073962edbeb2f3f709c27acdb09fd74 in the
Meson code base tells me that the earliest releast to include this
is 0.51.0.

Fedora 30 already shipped 0.51.2 and a few GNOME modules (such as
GNOME Builder) are already using newer versions.

https://github.com/mesonbuild/meson/commit/5f00c302

Closes #343
2019-12-17 22:03:14 +00:00