Commit graph

155 commits

Author SHA1 Message Date
Bastien Nocera
727a88a3bd shell: Let libX11 initialise threads itself
Require a version of libX11 new enough that it will initialise threads
support itself.

See afcdb6fb00
2023-01-23 11:04:36 +00:00
Georges Basile Stavracas Neto
49158d2f4c Post-release version bump 2023-01-09 17:10:35 -03:00
Mohammed Sadiq
3b121805ed log: Improve logging
The 'tracing' build option is no longer needed.  And the verbosity
of logs can be set by providing '-v' multiple times.
2022-12-01 11:44:17 +00:00
Lubomir Rintel
6c26647154 network: replace wireless-security with libnma's NMAWs
panels/network/wireless-security is essentially an old fork of the part
of nm-connection-editor that is now part of libnma.

The UI elements provided by libnma adhere to the same look as the rest
of gnome-control-center for quite some time now. The functinality they
implement the same functionality and more. In particular, libnma uses
Gcr to provide Smart Card access for keys and certificates.

https://bugzilla.redhat.com/show_bug.cgi?id=1992836
2022-11-30 13:40:09 +01:00
Felipe Borges
142318eede flatpak, shell: Make desktop file honor "Devel" app_id 2022-11-24 14:16:47 +01:00
Michael Catanzaro
bc01d726f5 info-overview: never upscale the system logo
If we scale up, the logo will become blurry. We should only ever be
willing to scale down, not scale up.

Hopefully fixes #1709
2022-10-25 15:08:53 -05:00
Pablo Correa Gómez
ab7d752de9 default-apps: Show SMS and Calls conditional to modem being present
This avoids coggling the UI for those devices for which a modem
is not present, as x-scheme-handler/tel and x-scheme-hanlder/sms
are of no use in such cases
2022-10-21 14:35:40 +02: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
Georges Basile Stavracas Neto
1b4b6200a5 Post-branching version bump 2022-10-17 23:04:23 -03:00
Georges Basile Stavracas Neto
61d8c33717 Post-release version bump 2022-10-17 23:03:31 -03:00
Georges Basile Stavracas Neto
ad8c39cad7 Post-release version bump 2022-09-15 12:29:28 -03:00
Georges Basile Stavracas Neto
bfe9fd2acf 43.0 2022-09-15 12:24:47 -03:00
Michael Catanzaro
01d38c54da Prepare 43.rc 2022-09-03 10:56:23 -05:00
Matt Turner
b6c6f5c165 build: Use GNOME module post_install() 2022-08-24 14:36:39 +00:00
Felipe Borges
24f4c66dd5 build: Bump libadwaita dependency to 1.2.alpha 2022-07-26 20:11:56 +00:00
Georges Basile Stavracas Neto
577d4ba798 Post-release version bump 2022-07-09 15:20:47 -03:00
Amy
fbad193899 Update GLib dependency to 2.70
To support commit 9de5b003, the minimum GLib dependency level must be
updated to 2.70 as that release introduced g_pattern_spec_match_string.

This patch updates the GLib minimum required level in accordance.
2022-06-10 18:08:41 +00:00
Michael Catanzaro
69f51bdab0 info-overview: add build option to control distributor logo
Currently, we display a 256x256 version of the OS icon from
/etc/os-release. This is too big for my taste, and it's also not
sufficient for distros that want to display a logo that is not an icon.
For instance, because we no longer display the operating system name
immediately beneath the logo, it may be desirable to use a logo variant
that includes text. This patch adds a meson build option that
distributions can use to override the logo, and a second build option to
specify a different logo for use in dark mode.
2022-05-10 23:16:40 +00:00
Georges Basile Stavracas Neto
0bfb1e8906 Post-branching version bump
Mainline is open for business again
2022-04-26 14:16:07 -03:00
Georges Basile Stavracas Neto
a95f8ec974 Post-release version bump 2022-04-26 14:15:00 -03:00
Georges Basile Stavracas Neto
fdaecc3eac 42.1 2022-04-26 14:04:32 -03:00
Georges Basile Stavracas Neto
90b1f3657f tests: Port tests to GTK4
Port the tests, especially the interactive ones, to GTK4, and
libadwaita.
2022-03-07 19:51:26 +00:00
Georges Basile Stavracas Neto
db1f78706d Post-release version bump 2022-03-07 14:30:07 -03:00
Georges Basile Stavracas Neto
aa126bce45 42.rc 2022-03-07 14:20:22 -03:00
Jonas Ådahl
5dc4081e2c sharing/remote-desktop: Initialize username/password if not set
If no password or username was set (not even an empty one), initialize
them to something, specifically the username of the user of the session,
and a auto generated password.
2022-02-26 18:19:14 +00:00
Jonas Ådahl
3631338676 sharing: Generate RDP TLS certificates when missing
This also hooks up the certificate verification dialog to the configured
TLS certificate.
2022-02-26 18:19:14 +00:00
Bastien Nocera
cbdb489fc4 build: Check run_command() return value
As recommended by newer versions of meson:
WARNING: You should add the boolean check kwarg to the run_command call.
         It currently defaults to false,
         but it will default to true in future releases of meson.
         See also: https://github.com/mesonbuild/meson/issues/9300
2022-02-24 10:14:05 +01:00
Georges Basile Stavracas Neto
cedb115d26 42.beta 2022-02-15 17:37:52 -03:00
Christopher Davis
8347e01453 background: Use AdwPreferences{Page,Group}
Now that AdwPreferencesGroup has support for
header suffixes, we can cut out a lot of widgetry
by using it and AdwPreferencesPage directly.
2022-01-31 12:15:43 -08:00
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