Commit graph

23036 commits

Author SHA1 Message Date
Asier Sarasua Garmendia
9d7c785ae5 Update Basque translation
(cherry picked from commit 80772d947b)
2023-11-05 08:05:42 +00:00
Ngọc Quân Trần
0e55daa12e Update Vietnamese translation
(cherry picked from commit 1307efed3a)
2023-11-05 02:29:27 +00:00
Daniel Rusek
7e646b56a1 Update Czech translation 2023-11-05 01:48:19 +00:00
Daniel Rusek
78a2841a57 Update Czech translation 2023-11-05 00:06:19 +00:00
Daniel Rusek
8c13f497ca Update Czech translation 2023-11-04 23:54:19 +00:00
Piotr Drąg
afde1d37ef Update POTFILES.in 2023-11-04 12:45:56 +01:00
Artur S0
0f1479262b Update Russian translation 2023-11-04 02:12:19 +00:00
Felipe Borges
79f1b84964 system: Show page summaries as row subtitles in the main page
Per mockups in
https://gitlab.gnome.org/Teams/Design/settings-mockups/-/raw/master/system/system-panel.png

This adds a thin abstract CcSystemPage object with a "summary" property.

Each CcListRow::subtitle is binded to its corresponded
CcSystemPage::summary.

See #2241
2023-11-02 12:15:11 +00:00
Gotam Gorabh
3bb233b50a system: Add 'Date Time' panel to system panel
Adds Date Time panel to the system panel as a page.

https://gitlab.gnome.org/Teams/Design/settings-mockups/-/blob/master/system/system-panel.png

See #2241
2023-11-02 12:15:11 +00:00
Felipe Borges
fb13e45aba system: Add "About" page 2023-11-02 12:15:11 +00:00
Gotam Gorabh
34fcaa0654 system: Add 'Remote Desktop' panel to system panel
See #2241
2023-11-02 12:15:11 +00:00
Gotam Gorabh
72973b9a8a system: Add 'Region Language' panel to system panel
Adding Region & Language page to the system panel.

https://gitlab.gnome.org/Teams/Design/settings-mockups/-/blob/master/system/system-panel.png

See #2241
2023-11-02 12:15:11 +00:00
Gotam Gorabh
5a92981056 system: Add new Sytem panel
This is the basic panel structure which will contain the
pages for the "System" panel, per mockups in
https://gitlab.gnome.org/Teams/Design/settings-mockups/-/blob/master/system/system-panel.png

See #2241
2023-11-02 12:15:11 +00:00
Felipe Borges
e95645187d wifi: Close "Saved Wi-Fi Networks" dialog on Escape key 2023-11-02 11:22:18 +01:00
Felipe Borges
8172f638e0 network: Show "Undo" toast when forgetting network in "Saved Wi-Fi Networks"
Fixes #2670
2023-11-02 11:22:18 +01:00
Automeris naranja
85d802c356 wifi-connection-row: Add a11y label to the forget network button 2023-11-02 11:22:18 +01:00
Automeris naranja
ca740fd9e4 wifi-connection-row: Make the forget network button to show only an icon
This button has the icon_name and the label properties simultaneously.
These properties are conflicting each other, making the button to show only a label.

This change removes the label, so the button will only show an icon.

Reference: https://gitlab.gnome.org/Teams/Design/settings-mockups/-/blob/master/network/wifi-settings.png

Partially fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2661
2023-11-02 11:19:46 +01:00
Sam Hewitt
b244370368 display: Use tabular numbers for monitor-label; de-duplicate css 2023-11-02 10:05:21 +00:00
Maximiliano Sandoval R
c9b74488ff applications-panel: Use list model for app list 2023-11-02 10:03:17 +00:00
Maximiliano Sandoval R
e2b4896287 applications-panel: Don't use placeholder widget
Instead use a stack. GtkListBox::plaholder-widget is not supported by
the boxed-list style.
2023-11-02 10:03:17 +00:00
Maximiliano Sandoval R
f6c59dc064 applications-panel: Use gtk_list_box_append 2023-11-02 10:03:17 +00:00
Maximiliano Sandoval R
fddcf33de7 applications-panel: Use gtk_list_box_remove_all
Added in gtk 4.12.
2023-11-02 10:03:17 +00:00
Andy Holmes
6832d721c1 online-accounts: free window handle when unexporting
When unexporting the window handle be sure to free the string as well.
2023-11-02 10:02:35 +00:00
Andy Holmes
30c65ceaed online-accounts: free list-providers leak
Unref variants after using the goa-helper to list providers.
2023-11-02 10:02:35 +00:00
Andy Holmes
d3b0272f13 online-accounts: fix null pointer de-reference
Ensure goa_account_call_remove() isn't called on a NULL pointer.
2023-11-02 09:52:08 +00:00
Andy Holmes
038e8de089
online-accounts: fix leak in goa-helper
Drop reference to GMainLoop after running the helper to list all
providers.
2023-10-30 10:38:38 -07:00
Automeris naranja
2a0d22b0f5 removable-media-settings: Fix Disable Autostart row subtitle
"Never prompt or start programs on media insertion" was renamed
to "Never prompt or start apps on media insertion" in https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1637.
This was part of initiative https://gitlab.gnome.org/Teams/Design/initiatives/-/issues/123

However, https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/989 reverted this change.
Rename this string to "Never prompt or start apps on media insertion" again.

More info: https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1539#note_1613855
2023-10-30 13:53:40 +00:00
Sabri Ünal
c4337844e8 Update Turkish translation 2023-10-29 08:18:14 +00:00
Quentin PAGÈS
d24dabdaf2 Update Occitan translation 2023-10-28 11:59:20 +00:00
Felipe Borges
8fe3688c6f Post-release version bump 2023-10-27 17:22:02 +02:00
Michael Catanzaro
88f9c7991c network: fix sensitivity of DNS and route configuration widgets
When the IP method is "disabled" or "shared" then everything else is
supposed to be insensitive. This currently fails if you toggle between
the two, because it's implemented using property bindings that are just
not smart enough to handle this task. Handle sensitivity only in
method_changed() to avoid this.

Additionally, not all of the widgets are being consistently
disabled/enabled when appropriate. E.g. when the method is "local" then
only the DNS entry, route entries, and default route checkboxes become
insensitive, leaving the other widgets, including notably the Automatic
switches, sensitive. They should all become insensitive, as when the
method is "disabled" or "shared." Fix this by organizing all the related
widgets into boxes and setting the sensitivity of the entire box. (Note
the strategy followed here does not exactly match nm-connection-editor,
which always allows editing addresses. We only allow that in Manual
mode. I'm not sure if this is advisable or not, so won't touch that.)

Finally, the Automatic DNS and Automatic Routes toggles should only be
sensitive when the method is "Automatic".
2023-10-27 12:56:27 +00:00
Michael Catanzaro
0e8d8e7407 network: warn user if both automatic and manual DNS is configured
If you manually configure a DNS server, you probably don't want to also
receive DNS from DHCP. Warn the user about this.

This is a softer replacement for the fix from:

https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1914

which we found in #2617 broke imported Wireguard connections.
2023-10-27 12:56:27 +00:00
Michael Catanzaro
48d0aed598 network: unset DNS entry errors when entry is empty
When the entry is initially empty, there is no error. If you enter
anything and then delete it, the entry is left in the error state. Empty
should not be an error.
2023-10-27 12:56:27 +00:00
Michael Catanzaro
08bff2ee18 Revert "network: Disable DNS entry if the automatic option is enabled"
This reverts commit 8a4a80b7b2.

This is a manual revert, because the code changed considerably in
a2b9620b1b. Anyway, although this seemed
like a good idea, problem is it clobbers the original state of the
connection without any explicit user action if the connection is
configured to use both manual and auto DNS. And this happens in practice
for imported Wireguard connections, which uselessly have auto DNS
enabled due to this NetworkManager bug:

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1399

Additional discussion:

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1745#note_2112420

The simplest solution is to not try to prevent the user from configuring
both manual and auto DNS. Instead, let's just warn the user that this
configuration may not be intended in a follow-up commit.

Fixes #2617
2023-10-27 12:56:27 +00:00
Automeris naranja
20fe6f3895 input-list-box: Add ellipsis to add_input_row label
"Use an ellipsis (…) at the end of a label if further input or
confirmation is required from the user before the action can be carried out".

https://developer.gnome.org/hig/guidelines/writing-style.html
2023-10-27 12:55:49 +00:00
Automeris naranja
b87909e3a7 users: Tweak add_unlock_tooltip to follow HIG guidelines
This tooltip doesn't follow HIG guidelines because is too long
and doesn't use header capitalization.

https://developer.gnome.org/hig/guidelines/writing-style.html
2023-10-27 12:55:49 +00:00
velsinki
ef644deb3d network-connection-editor: Align Routes labels
Even though the routes_metric_label is in a GtkSizeGroup with the
GtkEntry for the metric, its size was set too big after adding the entry
to the size group. To fix this, add all the other labels and
corresponding entries to size groups as well. The hexpand can then be
removed as well on the labels.

Fixes #1235
2023-10-27 00:54:55 +00:00
Maximiliano Sandoval R
549496f68f
keyboard: Add back close buttons to dialogs 2023-10-26 18:00:20 +02:00
Felipe Borges
958024a7ec meson: Replace deprecated meson.{source|build}_root functions
https://mesonbuild.com/Reference-manual_builtin_meson.html#mesonbuild_root
2023-10-25 15:49:13 +02:00
Felipe Borges
952ce58079 meson: Bump meson dependency to >= 0.58
Since we are about to use meson.get_variable to replace now deprecated
meson.get_pkgconfig_variable
2023-10-25 15:49:13 +02:00
Felipe Borges
6fb324634a apps: Workaround AdwComboRow item selection at startup
Our callback handler for the AdwComboRow::selected-item property
changes gets called at startup, resulting in a slow and unnecessary
default app change.

This is a workaround to avoid calling g_app_info_set_as_default_for_type
without user input.

Fixes #2626
Fixes #2683
2023-10-25 11:23:22 +00:00
Felipe Borges
7e7f6cf5c5 build, meson: Bump GLib dep version to 2.76.6 2023-10-25 12:42:13 +02:00
Felipe Borges
9880569714 ci: Stop building GLib from the source 2023-10-25 12:42:00 +02:00
Марко Костић
f8e10afcb6 Update Serbian translation
(cherry picked from commit 076e4f46f0)
2023-10-25 06:04:28 +00:00
Jakub Steiner
d9b4903baf wacom: Update illustration style
- refresh the style to fit with the new libadwaita/gtk4 style

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1616
2023-10-24 14:38:00 +00:00
Maximiliano Sandoval R
8aaa6dd542 tz-row: Ellipsize timezone name
Otherwise the size of the window jumps while scrolling through it, since
we don't want to actually ellipsize them by default we increase a bit
the default width of the dialog, which used to be 360.
2023-10-24 14:35:14 +00:00
Maximiliano Sandoval R
d1cf51fcae tz-row: Specify encoding
Random note: Some Emacs setups won't load it as a xml without this.
2023-10-24 14:35:14 +00:00
Maximiliano Sandoval R
1db401351d tz-dialog: Set height-request to 294
This is the size of a mobile device in landscape mode.
2023-10-24 14:35:14 +00:00
Maximiliano Sandoval R
ef645563a7 tz-dialog: Allow closing with Escape
The search bar consumes escape key presses, we tell it what to do.
2023-10-24 14:35:14 +00:00
Lukáš Tyrychtr
7c14fc9ac6 network: Use better labels for the peer row
Namely use three dots for the options button as it opens a label,
and use Remove instead of Delete, as Remove is already used and has a translation.
2023-10-24 09:17:00 +00:00