Commit graph

21409 commits

Author SHA1 Message Date
Jonas Ådahl
6087c0397b display: Add 'is_preferred()' mode getter 2022-06-27 14:06:16 +00:00
Luming Zh
588e721472 Update Chinese (China) translation 2022-06-26 23:34:06 +00:00
Aleksandr Melman
fcf9a970df Update Russian translation 2022-06-25 18:24:49 +00:00
Piotr Drąg
5d89ef3723 Update POTFILES.in 2022-06-25 12:46:57 +02:00
Quentin PAGÈS
0c35f298ee Update Occitan translation 2022-06-24 20:23:51 +00:00
Rūdolfs Mazurs
733478920d Update Latvian translation 2022-06-24 19:15:03 +00:00
Asier Sarasua Garmendia
dce8c31f05 Update Basque translation 2022-06-22 19:17:16 +00:00
Hugo Carvalho
1e372ae0af Update Portuguese translation 2022-06-22 13:32:47 +00:00
Daniel Mustieles
914657e405 Updated Spanish translation 2022-06-22 11:51:41 +02:00
Yuri Chornoivan
599bb9fe4a Update Ukrainian translation 2022-06-21 06:39:45 +00:00
Lubomir Rintel
dad011062b wwan: do not insist SIM ID being present
It is perfectly possible for mm_sim_dup_identifier() to return NULL if
the SIM ID wasn't provided by the modem for any reason, leading to an
assertion failure:

  (gnome-control-center:910641): cc-wwan-data-CRITICAL **: 12:43:51.573:
    cc_wwan_data_set_default_apn: assertion 'self->sim_id != NULL' failed

Handle the NULL SIM ID gracefully.
2022-06-20 23:48:31 +00:00
Christian Glombek
0fbe2ada5a network/ce: Provide error tooltip in connection editor
Pass through localized libnm error messages as tooltips
to the apply button. That way, users can easily identify
configuration errors.
2022-06-20 23:37:44 +00:00
grumpey
3ca850b257 Add support for multiple file selection
fix formatting
2022-06-20 23:25:44 +00:00
Maximiliano Sandoval R
96e0db8ba0 wifi-panel: Have all widgets with the same margins
As it was, the two listboxes had different sizes. Unfortunately, the different
panels have different sizes now.
2022-06-20 23:16:19 +00:00
Lukáš Tyrychtr
e39de651a2 Fix formatting 2022-06-20 23:04:56 +00:00
Lukáš Tyrychtr
bd74296222 We don't need the declaration after all 2022-06-20 23:04:56 +00:00
Lukáš Tyrychtr
e68e93dc64 Fix submodule 2022-06-20 23:04:56 +00:00
Lukáš Tyrychtr
2148e23d97 Printer panel a11y fixes 2022-06-20 23:04:56 +00:00
Aurimas Černius
6c34dc5089 Updated Lithuanian translation 2022-06-20 22:29:01 +03:00
Hugo Carvalho
2690daf819 Update Portuguese translation 2022-06-20 15:56:18 +00:00
Yuri Chornoivan
07f850b65a Update Ukrainian translation 2022-06-20 15:21:07 +00:00
Benjamin Berg
cfc5fdb7c6 shell: Deactivate old panel before creating new one
We need to cancel internal operations before starting to create a new
panel, otherwise panels might be creating the same object for the cache
in parallel and this is not supported by the object cache.

The alternative to this would be to handle this inside the object
store to allow parallel creation of the same key.

Fixes: #1685
2022-06-20 03:18:30 +00:00
Robert Ancell
4159a5ca68 network: Replace deprecated nm_client_wireless_set_enabled 2022-06-20 02:29:39 +00:00
Robert Ancell
6911110111 network: Replace deprecated nm_client_deactivate_connection 2022-06-20 02:29:39 +00:00
Robert Ancell
a793e49acd wwan: Replace deprecated nm_device_disconnect 2022-06-20 02:29:39 +00:00
Robert Ancell
c23c56a0a1 network: Replace deprecated nm_device_disconnect 2022-06-20 02:29:39 +00:00
Pablo Correa Gómez
bb4acf75ef user-accounts: run-passwd: Redirect stderr to stdout in the child
The previous code was prone to race conditions if the child already
started writing to stdout before the dup2 call happened. This has
been detected in postmarketOS[1] and I also reproduced it in Alpine
Linux. Since passwd writes to stderr and linux-pam to stdout, the
redirection was needed. However, linux-pam was failing with
"Conversation error" since an fprintf(stdout, ...) call wasn't
able to write to an already-closed stdout.

This problem is fixed by setting the redirection in the child setup
function and ignoring the stderr pipe. It also fixes a leak, where
the stderr fd was simply ignored and never closed.

[1] https://gitlab.com/postmarketOS/pmaports/-/issues/1449
2022-06-20 01:33:36 +00:00
Amy
0f60cad6bd network: fix line break issues
Commit 5e0fc5c1 ("network: prevent crash by disconnecting device")
introduced two new line breaks after the final call of
remove_wifi_device. Those line breaks are unnecessary, as pointed out by
Robert (@robert.ancell). They should be removed for the MR to be merged.

This patch removes those line breaks, which should allow for !1359 to be
properly merged.
2022-06-20 01:24:25 +00:00
Amy
fd76bfb71e network: prevent crash by disconnecting device
When a device is registered with add_wifi_device, a corresponding signal
is registered for events. The associated remove_wifi_device clears the
associated pages, but does not disconnect the signal. This causes the
assertion NET_IS_DEVICE_WIFI to fail.

This patch corrects this error, resolving #1889 as per the suggested fix
from Benjamin (@bberg).
2022-06-20 01:24:25 +00:00
Maximiliano Sandoval R
2252ee27b4 connection-editor: Set default height to 600
If the dialog cannot be resized might as well be big enough to not
require scrolling on a big enough screen.
2022-06-20 00:30:58 +00:00
David Bauer
533b698f60 network: implement handling for OWE TM
Implement handling for OWE-TM networks.

 * Correctly display encryption type when connected to a OWE-TM network
   with an open profile (Previously showed as WPA2
 * Mask out hidden transition SSID when connected to the OWE-TM network
 * Don't display OWE-TM network with lock icon

Signed-off-by: David Bauer <mail@david-bauer.net>
2022-06-19 23:53:24 +00:00
Lukáš Tyrychtr
8cd39513be Fix a typo 2022-06-19 23:25:30 +00:00
Lukáš Tyrychtr
ca04a2b550 Add a few missing labels in the wacom settings 2022-06-19 23:25:30 +00:00
Lukáš Tyrychtr
fa10fcfe5e Add a11y labels for close notification buttons in the thunderbolt panel 2022-06-19 23:13:51 +00:00
Lukáš Tyrychtr
ab852ca63c Make the presentation of the main panel list a little bit nicer by adding an a11y label 2022-06-19 23:02:54 +00:00
Maximiliano Sandoval R
3a96f428ca ce-page-details: Do not set children for CheckBtn
This widget does not support adding arbitrary children, a warning was
issued when it was disposed for still having children.
2022-06-19 22:17:18 +00:00
Lukáš Tyrychtr
c6fe35a310 Fix a missing a11y tag 2022-06-19 22:01:45 +00:00
Lukáš Tyrychtr
840024b685 Make the universal panel more accessible by adding some a11y described by relations and a few labels 2022-06-19 22:01:45 +00:00
Christian Glombek
1e06a0e0dd network/ce: Fix address label ids on ip4-page
In 861d762ce5,
the address labels on the IPv4 page were renamed, however the corresponding
change was not made in the respective .ui file, which results in a crash upon
construction of the page. This change fixes that.
2022-06-19 21:50:23 +00:00
Lukáš Tyrychtr
87ef7e25f6 Add a few missing a11y labels to the users panel 2022-06-19 21:41:09 +00:00
Lukáš Tyrychtr
06b6614e9b Improve accessibility of the wwan settings panel 2022-06-19 21:04:48 +00:00
Quentin PAGÈS
01eb0e9ae1 Update Occitan translation 2022-06-19 18:03:35 +00:00
Aleksandr Melman
cbf345069c Update Russian translation 2022-06-18 21:24:02 +00:00
Jordi Mas
35ac91e00f Update Catalan translation 2022-06-17 15:55:40 +02:00
Yuri Chornoivan
9ca6a7ab2c Update Ukrainian translation 2022-06-17 13:17:22 +00:00
Hugo Carvalho
f0b9dae503 Update Portuguese translation 2022-06-17 11:05:34 +00:00
Piotr Drąg
1e6e77e07d Update POTFILES.in 2022-06-17 12:54:54 +02:00
Yuri Chornoivan
3375e87448 Update Ukrainian translation 2022-06-17 05:25:14 +00:00
Lukáš Tyrychtr
98fcce2202 Add missing a11y labels 2022-06-17 02:01:33 +00:00
Robert Ancell
2536f946eb color: Remove dead code
This code was disabled as part of the GTK4 port (d00cc39)
2022-06-17 01:42:12 +00:00