Commit graph

23737 commits

Author SHA1 Message Date
Automeris naranja
ffca5a1a35 enterprise-login-dialog: Prevent buttons from being sensitive incorrectly
"Add" and "Enroll" buttons can still be sensitive without
calling main_page_validate() and enroll_page_validate()
respectively. Add an assertion check in both cases to
prevent these buttons being sensitive incorrectly.

Co-authored-by: Matthijs Velsink <mvelsink@gnome.org>
2024-04-15 14:56:54 +02:00
Xiaoguang Wang
97c0d13a3a datetime: Avoid emitting the time-changed signal
When setting the widget value, don’t emit the time-changed signal.

Fixes #2943
2024-04-15 14:56:11 +02:00
Athmane MOKRAOUI
e76c39fe2c Update Kabyle translation 2024-04-14 09:09:56 +00:00
Daniel Rusek
119d2b8987 Update Czech translation 2024-04-11 21:10:27 +00:00
Changwoo Ryu
a5e7bffac1 Update Korean translation 2024-04-11 11:49:58 +00:00
Juliano de Souza Camargo
478cd98829 Update Brazilian Portuguese translation 2024-04-09 13:14:06 +00:00
Sabri Ünal
d581d4fb77 Update Turkish translation 2024-04-09 11:11:18 +00:00
Changwoo Ryu
20d770a1a9 Update Korean translation 2024-04-09 00:27:30 +00:00
Jürgen Benvenuti
551a44d440 Update German translation 2024-04-08 19:14:58 +00:00
Boyuan Yang
d4dda788f8 Update Chinese (China) translation 2024-04-08 17:00:45 +00:00
Alexandre Franke
323b2364ed Update French translation 2024-04-08 12:49:17 +00:00
Jordi Mas i Hernandez
232991becc Update Catalan translation 2024-04-07 11:43:32 +00:00
Jiri Grönroos
0f375818f3 Update Finnish translation 2024-04-06 14:20:44 +00:00
Yaron Shahrabani
469e68ab92 Update Hebrew translation 2024-04-06 13:21:06 +00:00
Anders Jonsson
852506f2fc Update Swedish translation 2024-04-06 13:02:16 +00:00
Piotr Drąg
8d369d620a Update Polish translation 2024-04-06 12:42:47 +02:00
Daniel Rusek
154c006c02 Update Czech translation 2024-04-05 23:00:46 +00:00
Danial Behzadi
cedfd9b88c Update Persian translation 2024-04-05 12:42:29 +00:00
Asier Sarasua Garmendia
80db877a98 Update Basque translation 2024-04-05 10:19:10 +00:00
Asier Sarasua Garmendia
62319e8a01 Update Basque translation 2024-04-05 08:44:07 +00:00
Martin
230e113e90 Update Slovenian translation 2024-04-04 22:09:19 +00:00
Yuri Chornoivan
2456eb2ccb Update Ukrainian translation 2024-04-04 18:58:03 +00:00
Ekaterine Papava
43ac520bed Update Georgian translation 2024-04-04 18:48:05 +00:00
Artur S0
b91249721b Update Russian translation 2024-04-04 16:06:07 +00:00
Felipe Borges
b46f21d424 privacy, help: Link to "Screen Lock" documentation
When in the "Screen Lock" page, hitting F1 or going for Help should
open help:gnome-help/privacy-screen-lock
2024-04-04 13:47:59 +02:00
Felipe Borges
f4a1f9e9c3 privacy, help: Fix broken link to "Location Services" docs
The subpage tag name AND the correspondent docs page name were wrong.
2024-04-04 13:47:49 +02:00
Felipe Borges
7a9f5a3056 privacy, help: Remove links to pages without correspondent docs 2024-04-04 13:46:24 +02:00
Felipe Borges
a4074198a3 privacy, help: Default to opening "Privacy Settings" help page
When in the main page or in a subpage without docs, the Help link
should open the "Privacy Settings" page at help:gnome-help/privacy
2024-04-04 13:46:15 +02:00
Matthijs Velsink
8b8f0645db network: Add stable-ssid support for cloned-mac
NetworkManager 1.46.0 added support for "stable-ssid" for cloned mac,
which generates a stable MAC address based on SSID for each network.

This got accepted as the new default for Fedora 40, see
https://fedoraproject.org/wiki/Changes/StableSSIDMACAddress and
https://pagure.io/fesco/issue/3135.

However, there is no support for the connection editor for this value,
meaning if "stable-ssid" is set, changes to a WiFi network can't be
applied.

Fix this by adding support for "stable-ssid". Essentially based on
network-manager-applet!143
(network-manager-applet@202149c0843510a944afe2257cf56fbb7b4d2ef9).

Closes #2852
2024-04-04 13:43:55 +02:00
Felipe Borges
021fce8c91 datetime: Don't show Auto Timezone setting without location services
If built with location-services disabled (default), we keep the auto
timezone toggle hidden and we forcibly disable the auto-timezone
setting. org.gnome.desktop.datetime automatic-timezone

If built with the location-services option enabled, we show the
auto-timezone toggle.

See #2959
2024-04-04 09:18:06 +02:00
Felipe Borges
a773c61b64 build, privacy: Make Location settings build conditional
Considering the retirement of Mozilla Location Service, most
laptop/desktop users will rely on weaker network based location
sources.

Let's make the Location settings a build option, disabled by default.
-Dlocation-services=enabled

See #2959
2024-04-04 09:18:06 +02:00
Nathan Follens
234d82de8a Update Dutch translation 2024-03-31 10:06:07 +00:00
Daniel Rusek
4d9a80b59a Update Czech translation 2024-03-30 10:00:20 +00:00
Athmane MOKRAOUI
acc0539425 Update Kabyle translation 2024-03-29 22:54:00 +00:00
Athmane MOKRAOUI
8ccdb63a37 Update Kabyle translation 2024-03-28 10:47:32 +00:00
Jordi Mas i Hernandez
1e52831079 Update Catalan translation 2024-03-28 09:22:47 +00:00
Juliano de Souza Camargo
bea4ab810a Update Brazilian Portuguese translation 2024-03-27 21:53:27 +00:00
Felipe Borges
005f40dcfa 46.0.1 2024-03-27 14:50:56 +01:00
Felipe Borges
b823be5614 shell, window: Handle old panel arguments in System
The System panel subpages used to be CcPanels. They still have
their own desktop file so that they can be findable in Search.

A future goal is to decouple our Search model from our panel list
model, so that we can better handle panel subpages and other more
grained search results.

Fixes #2930
Fixes #2974
2024-03-27 14:40:00 +01:00
Felipe Borges
08644a7402 shell, panel-list: Avoid accessing a negative array index
As the list of panels doesn't match the list of items in the model.
2024-03-27 14:39:51 +01:00
Felipe Borges
6127c08fa3 system, datetime: Don't set datetime when auto time sync is enabled
The timedate1_call will fail because network time synchronization is enabled:

GDBus.Error:org.freedesktop.timedate1.AutomaticTimeSyncEnabled: Automatic time synchronization is enabled

Let's not set_time when NTP is not available, neither set time by
accident at the widget construction stage. When widgets signals are connected
in the UI file their respective callback was getting called. By moving
the signal connection to callbacks to the widget's _init method we
avoid the unwanted callback call.

Fixes #2945
2024-03-27 14:22:53 +01:00
Felipe Borges
544c146ea8 common: Check for valid GDateTime object before comparing
Avoids the critical below at runtime
11:14:36.7796                   **[873815]:CRITICAL: cc_util_get_smart_date: assertion 'date != NULL' failed
11:14:36.7802                   **[873815]:CRITICAL: cc_util_get_smart_date: assertion 'date != NULL' failed

Which comes from the location panel passing a NULL date object.

\#0  _g_log_abort (breakpoint=1) at ../shell/cc-log.c:72
        debugger_present = 1
\#1  0x000000000045c3c4 in cc_log_write
    (log_level=10, log_domain=0x7ffff7d592eb "GLib", log_message=0x234c400 "g_date_time_difference: assertion 'begin != NULL' failed", fields=0x7fffffffd740, n_fields=4, user_data=0x0)
    at ../shell/cc-log.c:315
        log_str = 0x234b8d0
        stream = 0x7ffff5dbb4e0 <_IO_2_1_stderr_>
        can_color = 1
\#2  0x000000000045c4f5 in cc_log_handler (log_level=G_LOG_LEVEL_CRITICAL, fields=0x7fffffffd740, n_fields=4, user_data=0x0) at ../shell/cc-log.c:348
        log_domain = 0x7ffff7d592eb "GLib"
        log_message = 0x234c400 "g_date_time_difference: assertion 'begin != NULL' failed"
\#3  0x00007ffff7c9f534 in g_log_structured_array () at /lib64/libglib-2.0.so.0
\#4  0x00007ffff7ca4f57 in g_log_default_handler () at /lib64/libglib-2.0.so.0
\#5  0x00007ffff7c9be29 in g_logv () at /lib64/libglib-2.0.so.0
\#6  0x00007ffff7c9c193 in g_log () at /lib64/libglib-2.0.so.0
\#7  0x00007ffff7c787fa in g_date_time_difference () at /lib64/libglib-2.0.so.0
\#8  0x000000000059c186 in cc_util_get_smart_date (date=0x0) at ../panels/common/cc-util.c:124
        today = 0x2350130
        local = 0x2350100
        span = 10791504
\#9  0x00000000004f8a20 in add_location_app (self=0x1dee1c0, app_id=0x232fef0 "org.gnome.Calendar", enabled=1, last_used=459618461810) at ../panels/privacy/cc-location-page.c:209
        data = 0xffffda80
        app_info = 0x2341c50
        t = 0x0
        row = 0x2348280
        w = 0x234fe00
        icon = 0x2345310
        last_used_str = 0x0
        desktop_id = 0x7fffcc034c30 "DL\310\375\a"
\#10 0x00000000004f8db4 in update_perm_store (self=0x1dee1c0, permissions=0x7fffcc04e2c0, permissions_data=0x7fffcc04ee80) at ../panels/privacy/cc-location-page.c:282
        enabled = 1
        last_used = 459618461810
        iter = {x = {140736616260288, 2, 0, 6386038, 140736616096608, 36922576, 16, 3579507750, 140737488345904, 140737350561909, 33733184, 36922576, 140737488345936, 140737350702366, 36922576, 3278251457363369984}}
        key = 0x232fef0 "org.gnome.Calendar"
        value = 0x7fffcc04e090
\#11 0x00000000004f8f4e in on_perm_store_lookup_done (source_object=0x1e24040, res=0x202ba40, user_data=0x1dee1c0) at ../panels/privacy/cc-location-page.c:324
        error = 0x0
        ret = 0x7fffcc04eef0
        permissions = 0x7fffcc04e2c0
        permissions_data = 0x7fffcc04ee80
\#12 0x00007ffff7e9082c in g_task_return_now () at /lib64/libgio-2.0.so.0
\#13 0x00007ffff7e944c3 in g_task_return () at /lib64/libgio-2.0.so.0
\#14 0x00007ffff7efe88b in reply_cb () at /lib64/libgio-2.0.so.0
\#15 0x00007ffff7e9082c in g_task_return_now () at /lib64/libgio-2.0.so.0
\#16 0x00007ffff7e944c3 in g_task_return () at /lib64/libgio-2.0.so.0
2024-03-27 14:22:53 +01:00
Robert Ancell
e6de817031 Remove myself from the maintainers list.
I'm no longer engaged enough to be a maintainer so it's best to make that clear.
Still happy to review and be involved if others need it!
This is a great project and if you want to be more involved in GNOME I'd recommend it.
2024-03-27 14:22:53 +01:00
Felipe Borges
808bb41348 system: Load subpages on demand
Let's manually wire the row activation to the panel creation so that
we can create panels on demand.

This also makes calls to subpages directly avoid initializing the
other panels.

Fixes #2857
2024-03-27 14:22:53 +01:00
Chris Williams
c14215ea91 system/about: Make print-renderer helper log to stderr
This avoids debug logging appearing in the UI via stdout when
G_MESSAGES_DEBUG is used.

Fixes #2387
2024-03-27 14:22:53 +01:00
Felipe Borges
e1224f499e search: Prevent listbox placeholder from being treated like a row
The Search panel providers listbox has a placeholder label that is
visible when there are no listbox items.

The placeholder label is being considered in the list of children
of the listbox while estimating whether "Moving down" is allowed for
the listbox reorder feature.
2024-03-27 14:22:53 +01:00
Automeris naranja
52323e2620 universal-access: Open subpage when CcPanel.subpage is set
This allows launching the Accessibility panel subpages
from the command line.

See https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2940
2024-03-27 14:22:53 +01:00
Felipe Borges
e8b261ebfc system, remote-login: Fix header name typo
Cherry-picked from 96cf88c68f

Fixes
https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/2211#note_2061610
2024-03-25 13:23:48 +01:00
Felipe Borges
8099545f2b privacy: Fix Thunderbolt page tag name
The main panel was looking for a page with tag "bolt" when the panel
is actually using the "thunderbolt" tag.

Cherry-picked from
5323020102

Fixes #2973
2024-03-25 11:24:55 +01:00
Boyuan Yang
cfefe02c2a Update Chinese (China) translation 2024-03-22 04:02:19 +00:00