Commit graph

22274 commits

Author SHA1 Message Date
Fabio Tomat
1ec63d1cb9 Update Friulian translation
(cherry picked from commit 65438a5a0c)
2023-04-04 11:44:43 +00:00
Danial Behzadi
7d3b854681 Update Persian translation 2023-04-03 13:09:52 +00:00
velsinki
e61b270fb7 sharing: Fix network row visible name bug
In `cc_sharing_networks_new_row`, the `network_name` is not being set to
the new row, but to `self->current_row`. This is incorrect behavior,
as it leaves the new row without any title, and overwrites the title of
the current row incorrectly to the last network entry in the enabled
networks list. This fix correctly sets the name to the new row instead.

This problem is at least discussed in #2318 (point 3) and causes some
confusion in #2299 as well.
2023-04-03 08:46:36 +00:00
Pauli Virtanen
2dc7aa1206 subprojects: revert accidental libgvc downgrade yet again
Re-do the libgvc version upgrade from 8c84b9f0d3 ("subprojects: Update
libgvc"), which was accidentally reverted in cb333cd59c ("Fix
accessibility of the buttons in the test sound output dialog") without
comment.
2023-04-03 08:16:29 +00:00
Aleksandr Melman
5afb0c198c Update Russian translation 2023-04-03 07:53:18 +00:00
Yuri Chornoivan
9bcb5963ca Update Ukrainian translation 2023-04-02 06:32:01 +00:00
Automeris naranja
8f8b2a7ea8 keyboard-shortcut-dialog: Add ellipsis to the "Add Shortcut" button label
Acc. HIG, "use an ellipsis (…) at the end of a label
if further input or confirmation is required from the user".

https://developer.gnome.org/hig/guidelines/writing-style.html?highlight=ellipsis
2023-03-31 10:36:00 +00:00
Automeris naranja
1722002728 keyboards: Add "Character" keyword 2023-03-31 10:33:57 +00:00
Automeris naranja
b3e4a40630 keyboards: Add "Compose" keyword
It isn't possible to open the Keyboards panel by searching for "Compose".
Compose key is an important feature, so this change adds a "Compose" keyword to improve the discoverability of this setting.
2023-03-31 10:33:57 +00:00
Alexander Shopov
ea55d31100 Update Bulgarian translation
(cherry picked from commit 987ddeff8d)
2023-03-31 10:02:37 +00:00
Boyuan Yang
3d6c2185e6 Update Chinese (China) translation 2023-03-31 01:34:32 +00:00
Boyuan Yang
ed624f28bb Update Chinese (China) translation
(cherry picked from commit 3216328db9)
2023-03-31 01:10:34 +00:00
Alexander Shopov
92abfd6a66 Update Bulgarian translation
(cherry picked from commit c262359ef3)
2023-03-30 12:05:10 +00:00
Robert Ancell
dd06bf7c11 datetime: Fix NTP switch getting out of sync.
The state needs to be set to the state that was requested before the D-Bus call.
The existing code used the state received from D-Bus, which will be the previous state.
2023-03-30 09:19:34 +13:00
Robert Ancell
00e303998e datetime: Use g_object_bind_property to show NTP state 2023-03-30 09:17:21 +13:00
Robert Ancell
a3d99c78f6 datetime: Fix widget names and types 2023-03-29 11:04:24 +00:00
Robert Ancell
6490afd3ca Depend on snapd-glib-2 (soup3 version) 2023-03-29 02:03:49 +00:00
Maksym Hazevych
9b155f6c5c user-accounts: Set language-chooser to hide on close 2023-03-29 14:26:55 +13:00
Maksym Hazevych
08c2e69851 Resolving suggestions 2023-03-29 14:26:55 +13:00
Maksym Hazevych
81d7a8a85e Use gtk_window_present and gtk_window_close 2023-03-29 14:26:55 +13:00
Maksym Hazevych
e00f773b2f Remove unnecessary visibility change 2023-03-29 14:26:55 +13:00
Maksym Hazevych
5b988a6943 Replace all occurrences of 'gtk_widget_hide'
Replace all occurrences of 'gtk_widget_hide(smth)' with
'gtk_widget_set_visible(smth, FALSE)'.
2023-03-29 14:26:55 +13:00
Maksym Hazevych
d831e5cb48 Replace all occurrences of 'gtk_widget_show'
Replace all occurrences of 'gtk_widget_show(smth)' with
'gtk_widget_set_visible(smth, TRUE)'.
2023-03-29 14:26:55 +13:00
Marco Trevisan (Treviño)
645b6d1c8a shell/style: Add workaround to make disabled pictures are painted as such
See: https://gitlab.gnome.org/GNOME/libadwaita/-/merge_requests/814
2023-03-28 13:52:12 +00:00
Marco Trevisan (Treviño)
da0f0ec021 illustrated-row, split-row: Add widget name and css class
It's not possible to theme them right now, while it could be useful so
make them more recognizable in the widget tree.
2023-03-28 13:52:12 +00:00
Gunnar Hjalmarsson
33659beb90 region: Fix label of formats for the login screen
When system_region equals system_language, the UI should state the
country of the system_language as the selected login screen formats,
and that is not always "United States".

Fixes: GNOME/gnome-control-center#2418
2023-03-28 13:49:53 +00:00
Emad Saadat
54b97e0781 thunderbolt: Have normal page contents clamped like others
By converting the normal stack page (when thunderbolt
is present) to an AdwPreferencesPage and making all
constituent groups of widgets on the page AdwPreferenceGroups,
we can make the page's content be clamped more similarly to
other pages.
2023-03-28 13:32:50 +00:00
Lukáš Tyrychtr
ded85c5423 panels/wifi: Make the security status and signal strength read by screen readers
Before this MR, the signal level was not available at all, and the security
status only as an a11y description of an image. Now, these pieces of information
are part of the description of the item itself.
2023-03-28 08:18:27 +00:00
Emad Saadat
4a1bf373ae build-aux: Fix flatpak build manifest
By removing an errant space in the libndp url.
This prevented Settings from building using
flatpak-builder, at least on my system.
2023-03-28 08:01:25 +00:00
Emad Saadat
e4de2887df gitignore: Add flatpak-builder directory to .gitignore 2023-03-28 07:53:40 +00:00
Automeris naranja
5ec6538c4d notifications: Change "Apps" header to "App Notifications"
With this change, the header will clearly indicate that the user
will tweak app notification settings, specially when using a screen reader.

This is aligned with the following mockup:
https://gitlab.gnome.org/Teams/Design/settings-mockups/-/blob/master/notifications/notifications.png
2023-03-27 23:25:52 +00:00
Nathan Follens
a5747ded17 Update Dutch translation
(cherry picked from commit 5242d3ff69)
2023-03-26 15:11:30 +00:00
Kukuh Syafaat
4f02f4615f Update Indonesian translation 2023-03-26 06:39:29 +00:00
Piotr Drąg
085301bbcc Update POTFILES.in 2023-03-25 17:22:10 +01:00
Cyber Phantom
524ffefdea cc-wifi-connection-list: Fix incorrect styling
There should be a space before opening parenthesis.
2023-03-24 21:28:45 +05:30
Gotam Gorabh
a14a4513a2 removed dead variable 2023-03-24 08:38:03 +00:00
Gotam Gorabh
19d611ad03 user-accounts: Removed account activity window
This changes remove the account activity window or
login history as it is less used or no use.

Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2096
2023-03-24 08:38:03 +00:00
Simon Arlott
019cbc6a54 network: Increase maximum MTU value from 10000 to 65536
The maximum MTU value of 10000 is too low for USB Ethernet, which has a
maximum (for Linux USB gadgets) of 15412 bytes (although the upper limit
is the USB wMaxPacketSize which goes up to 4294967295 bytes):
  linux/drivers/usb/gadget/function/u_ether.c:#define GETHER_MAX_MTU_SIZE 15412

Multiple Intel NICs can use an MTU of 16110 bytes:
  linux/drivers/net/ethernet/intel/e1000/e1000_hw.h:#define MAX_JUMBO_FRAME_SIZE         0x3F00
  linux/drivers/net/ethernet/intel/e1000e/defines.h:#define MAX_JUMBO_FRAME_SIZE    0x3F00
  linux/drivers/net/ethernet/intel/igbvf/defines.h:#define MAX_JUMBO_FRAME_SIZE         0x3F00

The NetworkManager limit is 4294967295 bytes but this is unreasonable
in a typical enivornment because of the memory required for packets of
that size.

The maximum IPv4 and IPv6 (without using Jumbograms) packet size is 65535
bytes so increase the maximum MTU value to 65536 allow full size IP
packets to be used.

There is a corresponding change in network-manager-applet.
2023-03-24 01:47:09 +00:00
velsinki
d766a0c0c6 sharing: Disable AdwActionRow markup for networks
Network names have many allowed characters, among which `&`, `<`, and
`>`. These are problematic for Pango markup. By default, AdwActionRow
has markup enabled for its title. We could escape strings at every
`adw_preferences_row_set_title` call, but this might be easy to forget
in the future. Instead, let's disable markup altogether for these rows.
2023-03-24 00:56:03 +00:00
Mohammed Sadiq
c2e3de4086 network: proxy: Keep current mode when enabling proxy
Don't force 'automatic' proxy mode when the user enables proxy.

Closes #2401
2023-03-24 00:40:33 +00:00
Mohammed Sadiq
842438b6e1 network: proxy: Add a method to get selected proxy mode
Also replace the code with the method where it's used.
We shall use this elsewhere in the next commit
2023-03-24 00:40:33 +00:00
Cyber Phantom
ba13ca1f4a cc-wifi-connection-list: Don't show empty listbox
When there are no wifi networks, the wifi listbox is still visible as a thin line which doesn't look good.

Fix this by setting the visibility based on the number of networks.
2023-03-23 23:17:46 +00:00
Marco Trevisan (Treviño)
81c1bf437c split-row / illustrated-row: Keep track of the resources path
We pass to the setter a const char* but we don't control the ownership
of that and it may be returned later from the property getter.

While this is not causing any crash right now, going in the inspector
and try to check the property leads to some scrambled chars which seems
an indication of a memory error.

In general the string passed to these APIs could come from anywhere and
it's not guaranteed that it's always a constant string (and in fact is
not in some cases).
2023-03-23 22:58:56 +00:00
Athul Iddya
09d8ab968d network: Validate max length of hotspot SSID
Added validation for maximum length of hotspot SSID, which cannot exceed
32 bytes. As this error might be unintuitive, an error message was also
added below the entry row similar to the password entry row. The error
messages are generic as some characters can require multiple bytes and
mentioning the byte limitation might be too technical.

Fixes #1065
2023-03-23 22:36:00 +00:00
Gotam Gorabh
50eed44089 remove extra line 2023-03-23 22:15:15 +00:00
Gotam Gorabh
2906168a72 keyboard:Fix cancel button issue 2023-03-23 22:15:15 +00:00
Emilia Daria Majewska
4bfa57887b display: Removed the loop from the snapping function
In all my tests, the snapping algorithm was successful on the first pass.
2023-03-23 15:52:15 +00:00
Emilia Daria Majewska
4218aa6e4b display: Remove the monitor argument for cc_display_config_snap_output
The function tries to snap all the outputs anyway,
so might as well remove the unnecessary argument.
2023-03-23 15:52:15 +00:00
Emilia Daria Majewska
0aede82e58 display: Try snapping all the displays after a config change
This issue was originally addressed in !257 ("display snap after changes").
However it only dealt with a two-monitor setup, so the user is still
unable to rotate the middle display with three or more monitors.

This commit tries to snap the displays until all are adjacent to
another.
2023-03-23 15:52:15 +00:00
Aurimas Černius
8851b2219c Update Lithuanian translation
(cherry picked from commit 74fbf5400b)
2023-03-22 20:43:25 +00:00