Commit graph

22824 commits

Author SHA1 Message Date
Emin Tufan Çetin
4c165cdf54 Update Turkish translation 2023-09-02 11:56:06 +00:00
Felipe Borges
4522098556 Use g_printerr to message that we only support GNOME environments
Instea of g_messages that only gets shown when debug messages are
enabled.

Fixes #2532
2023-09-01 09:56:21 +00:00
Alan Mortensen
39670a13ca Update Danish translation 2023-09-01 06:34:20 +00:00
Aurimas Černius
7847f70490 Update Lithuanian translation 2023-08-31 20:04:25 +00:00
Daniel Rusek
55c425df8c Update Czech translation 2023-08-31 19:12:00 +00:00
Felipe Borges
21dfe16df6 shell: Drop two leftover/unused variables
These were made useless by commit 754536cc97
2023-08-30 10:52:37 +02:00
Nelson Benítez León
2b3c157c07 shell: fix panel centering on CcPanelList
the calculation to center the panel row
was failing when the panel list was not
scrolled to the top.

Fix it by taking the distance from the
row to the CcPanelList, instead of the
GtkScrolledWindow that contains it.

Part of issue #2506
2023-08-30 08:49:12 +00:00
Nelson Benítez León
3f3409cbc1 shell: restrict panel centering to specific cases
commit 02302c9b08 implemented vertical centering of
the panel being activated, but we should restrict
that to only happen when the activation is from the
Search view or from the set_active_panel_from_id()
CcShell iface, which covers the case of panel activated
from commandline parameter or from other panels, but
does not include activating panels manually by mouse
or keyboard which is the problematic case explained
in issue #2506

Closes #2506
2023-08-30 08:49:12 +00:00
Michael Catanzaro
be535df39b Don't warn about failure to apply changes on inactive device
If the NMDevice is not active (i.e. if we are editing a connection that
is not active) then don't warn when failing to reapply changes to the
device. That's expected and not something we should warn about.

We could perhaps not even try, but the device could become inactive
between the time of our check and this error, so better ignore the error
regardless.
2023-08-30 08:44:55 +00:00
Michael Catanzaro
60b4956c05 network: don't try to update device if it doesn't exist
All of the following code assumes that self->device is valid, so we need
to skip over it. It's confusing, but this is a multipurpose dialog and
self->device is optional when creating the dialog. E.g. when modifying
VPN configuration, we update just the configuration, not an NMDevice.
2023-08-30 08:44:55 +00:00
Michael Catanzaro
3f6737dbf7 network: fix criticals when updating connection
If the operation is cancelled (because the dialog was closed, because
the Apply button was pressed), then trying to make further use of the
source_object is a use after free, which is bad. At first I tried to fix
this by simply avoiding the use after free when the operation is
canceled, but then I realized it is ridiculous to always try committing
connection changes when closing the dialog, then immediately cancel the
operation by destroying the dialog.

So instead I've decided to not pass the cancellable along to these
operations, and instead ref the dialog to keep it alive until the
operations complete. Instead, let's just hide the window.

This commit also removes an inaccurate comment /* Leave the editor open
*/ placed right before the call to the function that hides the editor.
There's no need to leave the editor open when updating the device fails.
The connection properties at least are still saved.

Fixes #2618
2023-08-30 08:44:55 +00:00
Kukuh Syafaat
b81f927bea Update Indonesian translation 2023-08-30 07:06:54 +00:00
Philipp Kiemle
6b564eab05 Update German translation 2023-08-29 17:53:11 +00:00
Jonas Dreßler
0af051e8fe bluetooth: Remove a leftover debug message
This g_message() slipped in when implementing commit 769142784c, remove
it.
2023-08-29 18:09:30 +02:00
Boyuan Yang
a02f66d3e6 Update Chinese (China) translation 2023-08-29 15:00:55 +00:00
Hendrik Müller
8f6ef3a6ef wifi: Hide QR Code button for unsupported security
QR codes for Wi-Fi networks can only be generated for Wi-Fi networks
that have one of these security settings:
- no security
- WEP security
- WPA security

This is why the button to show these QR codes should only be visible
if the Wi-Fi network in question has one of these security settings.
2023-08-29 14:30:06 +02:00
Michael Catanzaro
2030ec9327 keyboard: fix error in previous commit
I used the wrong value here.

This should have been caught by an unused variable warning, but
gnome-control-center has so many build warnings that nobody will ever
notice a new one....
2023-08-28 16:41:43 -05:00
Vasil Pupkin
74f494ed63 Update Belarusian translation 2023-08-28 18:30:01 +00:00
Jürgen Benvenuti
a747ed77d2 Update German translation 2023-08-28 15:13:24 +00:00
Danial Behzadi
403083519a Update Persian translation 2023-08-28 09:39:49 +00:00
Daniel Mustieles
7772439b8d Updated Spanish translation 2023-08-28 11:27:30 +02:00
Fran Dieguez
75586379bd Update Galician translation 2023-08-28 08:22:35 +00:00
Alice Mikhaylenko
2077958140 applications: Activate the first row if uncollapsing with no selected row
This way we don't end up with "No apps".
2023-08-28 08:19:45 +00:00
Alice Mikhaylenko
1006f85223 window: Null check panel before embedding its sidebar widget 2023-08-28 08:19:45 +00:00
Alice Mikhaylenko
e7b65cbe83 network: Fix a non-translatable string 2023-08-28 08:11:41 +00:00
Fran Dieguez
728ec27346 Update Galician translation 2023-08-27 21:26:37 +00:00
Fran Dieguez
cfd3bbdd50 Update Galician translation 2023-08-27 19:28:14 +00:00
Luming Zh
2bfaa4d5c9 Update Chinese (China) translation 2023-08-27 13:40:58 +00:00
Nathan Follens
98dd93f940 Update Dutch translation
(cherry picked from commit 85fea38c3d)
2023-08-27 12:08:55 +00:00
Asier Sarasua Garmendia
0cd39d713c Update Basque translation 2023-08-27 07:34:45 +00:00
Jiri Grönroos
2fd8fdf6fe Update Finnish translation 2023-08-26 18:49:15 +00:00
Sabri Ünal
8740a655de Update Turkish translation 2023-08-26 18:33:15 +00:00
Yosef Or Boczko
3d93dd7b9e Update Hebrew translation 2023-08-26 17:57:22 +00:00
Yuri Chornoivan
9c36e9759d Update Ukrainian translation 2023-08-26 17:45:52 +00:00
Artur S0
b4e5912daf Update Russian translation 2023-08-26 15:56:08 +00:00
Quentin PAGÈS
ab1283c3cd Update Occitan translation 2023-08-26 13:14:41 +00:00
Vasil Pupkin
811c261861 Update Belarusian translation 2023-08-25 22:28:29 +00:00
Danial Behzadi
5919b3ccb5 Update Persian translation 2023-08-25 21:57:48 +00:00
Ekaterine Papava
acbe482a30 Update Georgian translation 2023-08-25 19:40:07 +00:00
Baurzhan Muftakhidinov
cdfce72fcd Update Kazakh translation 2023-08-25 15:58:59 +00:00
Piotr Drąg
10dbbacc5c Update Polish translation 2023-08-25 17:57:51 +02:00
Piotr Drąg
c9d791018b Update POTFILES.in 2023-08-25 17:54:16 +02:00
Felipe Borges
9a116acfd7 Post-release version bump 2023-08-25 11:47:03 +02:00
Felipe Borges
c065cdda5a 45.rc 2023-08-25 11:39:43 +02:00
Michael Catanzaro
8e41fbead8 keyboard: write to mru-sources setting if it has never been set before
Fedora's anaconda wants to know the current input source separately from
the configured input sources. Installing the configured input sources in
the order they are configured is good, but not good enough because only
the currently-active input source at the time the LUKS passphrase is
entered can be used to decrypt the disk post-install, so anaconda needs
a way to know what the active input source is. Currently, there is no
way to find this. For example:

 * User has English (US) input source configured by default
 * User adds Czech input source
 * User reorders Czech input source to be first in the list

In this scenario, the Czech input source is first in the list, but
English is still the currently-active input source, and there's no way
to know this. Only the mru-sources setting can indicate the active input
source, but because the active input source has never been changed,
mru-sources still has its default value.

The key to fixing this is that if mru-sources holds its default value,
then the user has never changed input sources before, and the first
input source that is previously configured is therefore the most recently
used. So we can copy the previous value of the sources setting to
mru-sources, and then applications can trust that either (a) mru-sources
will indicate the current input source, or (b) the current input source
is the first configured input source if mru-sources is empty.

https://bugzilla.redhat.com/show_bug.cgi?id=2231085
2023-08-25 09:14:57 +00:00
Jordan Petridis
c3f4974bdf build: Require setxkbmap in tests/keyboard
It's used directly in tests/keyboard/test-keyboard-shortcuts.c
2023-08-25 09:13:26 +00:00
Alice Mikhaylenko
5436dc024f printers: Make adaptive 2023-08-25 08:00:43 +00:00
Alice Mikhaylenko
79fe6067ee wacom: Ellipsize the test button 2023-08-25 08:00:43 +00:00
Alice Mikhaylenko
a24e177e3f mouse: Ellipsize the test button 2023-08-25 08:00:43 +00:00
Alice Mikhaylenko
25a866d8c6 network: Ellipsize the save/cancel buttons 2023-08-25 08:00:43 +00:00