Commit graph

23882 commits

Author SHA1 Message Date
Automeris naranja
3e7eedcb98 input-chooser: Port to AdwPreferencesPage/Group 2024-04-02 16:21:47 +00:00
Automeris naranja
5b55700eec input-chooser: Port to AdwDialog 2024-04-02 16:21:47 +00:00
Automeris naranja
38e5092b1a firmware-security-help-dialog: Port to AdwDialog 2024-04-02 18:13:42 +02:00
Automeris naranja
b126b05247 firmware-security-dialog: Port to AdwDialog 2024-04-02 18:12:34 +02:00
Automeris naranja
a588f23002 firmware-security-boot-dialog: Port to AdwDialog 2024-04-02 18:11:47 +02:00
Automeris naranja
d31f8aeea6 volume-levels-window: Port to AdwDialog 2024-04-02 16:09:35 +00:00
Automeris naranja
e40880f7cb output-test-window: Port to AdwDialog 2024-04-02 16:09:35 +00:00
Automeris naranja
88a964fe15 alert-chooser-window: Port to AdwDialog 2024-04-02 16:09:35 +00:00
Automeris naranja
3f3327a9f3 xkb-modifier-dialog: Remove custom CSS
.xkb-option-button style class is no longer used,
so remove the custom CSS that was made for it.
2024-04-02 16:07:11 +00:00
Automeris naranja
3741baceba xkb-modifier-dialog: Port to AdwDialog 2024-04-02 16:07:11 +00:00
Automeris naranja
fef18e73b6 qr-code-dialog: Port to AdwDialog 2024-04-02 16:03:43 +00:00
Automeris naranja
17f2daaa9a users: Port "Add Enterprise User" dialog to AdwDialog 2024-04-02 16:00:56 +00:00
Automeris naranja
21bc6c5bb7 add-user-dialog: Port to AdwDialog 2024-04-02 15:16:00 +00:00
Automeris naranja
29f4fc46b0 system-details-dialog: Add top margin to "Software Information"
When the window is small, which makes the
"Hardware Information" and "Software Information"
sections to show vertically, the latter doesn't
properly separate from the first visually. Add a
top margin to fix that.
2024-04-02 15:11:40 +00:00
Automeris naranja
9ae687d827 system-details-window: Port to AdwDialog 2024-04-02 15:11:40 +00:00
kramo
8b5df52d93 appdata: Update screenshots 2024-04-02 15:06:54 +00:00
Automeris naranja
fb1d55f3b3 online-account-row: Implement the new error status design
- Add the "Error" label next to the icon
- Make the label and icon to use @error_color

Reference:
0a16d3ce2b
2024-04-02 15:02:51 +00:00
Felipe Borges
d1c3711fe6 network: Add CcWifiConnectionList.set_placeholder_text
This allows for CcWifiConnectionList to be reused in different locations
where the placeholder might differ.

For example, the main wifi connections list vs. the saved network
connections (forget dialog).

See !2384, !2397, and !2418

Fixes #2574
2024-04-02 12:09:57 +02:00
Automeris naranja
62564c623f users: Don't use another style class for the remove avatar button
The "destructive-action" style class will already make
the button to have a red background.
2024-04-02 10:07:58 +00:00
Automeris naranja
df0c3a79d5 users: Use a single CSS for the entire panel
This also fixes the ".cutout-button" style being
set in "user-accounts-dialog.css", which is wrong
because this widget is located in the main panel
and not in the add user dialog.
2024-04-02 10:07:58 +00:00
Automeris naranja
49de7620b9 power: Update some strings
Update some strings from the power profile info row:

- Update a string to follow the latest mockups[1]
- Remove periods from phrases that are written as
a complete sentence, as recommended by HIG

[1] 1bb482ed19
[2] https://developer.gnome.org/hig/guidelines/writing-style.html#periods
2024-04-02 09:56:56 +00:00
Automeris naranja
3b93511dac power-profile-info-row: Use AdwActionRow
Transforming power-profile-info-row into an
AdwActionRow helps to decrease the
power-profile-info-row.ui code considerably.

Also, make the info icon smaller and not dimmed,
like in the mockups[1].

[1] 1bb482ed19
2024-04-02 09:56:56 +00:00
Automeris naranja
524261c710 power: Use a single CSS file
Use a single CSS file for the entire panel.
This will make easier to set custom style
for specific widgets without having to create
a bunch of CSS files for each widget type.
2024-04-02 09:56:56 +00:00
Felipe Borges
591b655be5 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-02 09:11:31 +00:00
Felipe Borges
7d963db243 privacy, help: Fix broken link to "Location Services" docs
The subpage tag name AND the correspondent docs page name were wrong.
2024-04-02 09:11:31 +00:00
Felipe Borges
7f01aa79b3 privacy, help: Remove links to pages without correspondent docs 2024-04-02 09:11:31 +00:00
Felipe Borges
c2a7ebbd5f 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-02 09:11:31 +00:00
Quentin PAGÈS
d49bc25302 Update Occitan translation 2024-03-31 20:13:24 +00:00
Nathan Follens
e8dd694602 Update Dutch translation 2024-03-31 10:03:01 +00:00
Martin
ed40706280 Update Slovenian translation 2024-03-30 22:31:49 +00:00
Daniel Rusek
98c8aaac50 Update Czech translation 2024-03-30 09:56:16 +00:00
Athmane MOKRAOUI
8be28dec24 Update Kabyle translation
(cherry picked from commit acc0539425)
2024-03-29 22:54:09 +00:00
Felipe Borges
1a54cbf15a privacy: Remove Microphone page
See commit f46fbd18.

This panel can't really be useful at this point since there's no
portal for apps to access microphones.

See #2848
Fixes #2958
2024-03-28 15:56:55 +01:00
Athmane MOKRAOUI
cb43194267 Update Kabyle translation 2024-03-28 10:50:39 +00:00
Athmane MOKRAOUI
0c5800268a Update Kabyle translation 2024-03-28 09:45:39 +00:00
Automeris naranja
1578ebefc7 wifi: Don't show "No Wi-Fi Adapter Found" when Wi-Fi is off
Use "nm_client_wireless_hardware_get_enabled" to check if
Wi-Fi is enabled or not at the hardware level. Then, show
a different AdwStatusPage when the Wi-Fi adapter is absent
and when Wi-Fi is off.

Reference:
cfb7cae4a9

Closes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1514
2024-03-27 22:46:01 +00:00
Juliano de Souza Camargo
4c3766c63d Update Brazilian Portuguese translation
(cherry picked from commit bea4ab810a)
2024-03-27 21:53:33 +00:00
Automeris naranja
5192d9ef36 mouse-test: Make some UI tweaks to follow the latest mockups
- Use "select-mode-symbolic" in the "Clicking"
view switcher

- Ditch the border radius from the scroll test
image

- Make click-status-emblem indicator indicator
to show a more prominent green color when the
test passes

- Don't use @borders for the click-status-emblems
background color because this named color isn't
meant for backgrounds

- Make non-green click-status-emblems dimmed

Reference: 6d5e1813ca
2024-03-27 18:10:44 -03:00
Felipe Borges
bbfbfb76cb shell, window: Handle old panel cmdline 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 13:38:46 +00:00
Felipe Borges
3ff371e61c 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 13:38:46 +00:00
Felipe Borges
994a540bfc 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 13:13:13 +00:00
Felipe Borges
2cf5b90cce 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 13:13:13 +00:00
Automeris naranja
4a986072ce app-notifications-dialog: Port to AdwDialog
Also, remove the ESC shortcut, since AdwDialogs
already close with ESC by default.
2024-03-27 13:51:08 +01:00
Felipe Borges
d5bd2d1029 build: Bump libadwaita version to 1.5 2024-03-27 12:32:39 +00:00
Automeris naranja
b7c1b671a0 application: Port AdwAboutWindow to AdwAboutDialog 2024-03-27 12:23:36 +00:00
Automeris naranja
f366102d89 removable-media-settings: Port "Other Media" to AdwDialog 2024-03-27 12:20:47 +00:00
Felipe Borges
4525890c27 multitasking, accessibility: Remove spaces from desktop file keywords
Spaces are not supported in .desktop file keywords[0] as gnome-shell
splits the search term by spaces, and then prefix-matches each word separately
against the candidate keywords.

Inspired by commit 7bd8dd69cf
2024-03-27 10:24:02 +00:00
Automeris naranja
6e3f7c6055 secure-shell-page: Use "Command copied to clipboard" string
When copying the login command, a toast appear
saying "Command copied". However, these kind of toasts
usually says that the text was copied *to the clipboard*,
like the toast from System > About > System Details > Copy.
2024-03-26 20:46:35 -03:00
Martin
04751aebd6 Update Slovenian translation 2024-03-26 19:56:07 +00:00
Automeris naranja
2b1a66d7ce users: Rename "Add Enterprise User" to "Add Enterprise Login"
This button is labelled as "Add Enterprise Login" in
the mockups[1].

Also:
- Add missing mnemonic
- Add ellipsis to the button label, since it's required
when the button triggers further user interaction[2]

[1] a0e4f828ec
[2] https://developer.gnome.org/hig/guidelines/writing-style.html#ellipses
2024-03-25 15:08:29 +00:00