Commit graph

21617 commits

Author SHA1 Message Date
Daniel Mustieles
b3f6a5a9cf Updated Spanish translation 2022-08-29 10:58:27 +02:00
Luming Zh
1e07dfc650 Update Chinese (China) translation 2022-08-28 14:51:50 +00:00
Goran Vidović
a29276bf01 Update Croatian translation 2022-08-26 10:42:28 +00:00
Goran Vidović
2ea1ca7f7c Update Croatian translation 2022-08-26 10:41:25 +00:00
Jordi Mas
af1bc40908 Update Catalan translation 2022-08-26 10:22:27 +02:00
Kukuh Syafaat
0cd72feb98 Update Indonesian translation 2022-08-26 02:03:42 +00:00
Yuri Chornoivan
8f264cc4cb Update Ukrainian translation 2022-08-25 20:15:50 +00:00
Matthias Clasen
920302bb52 background: Allow all images
The code was filtering with a small list of known
image mimetypes, needlessly. Just allow any
image/* mimetypes.

Fixes: #2036
2022-08-25 17:06:12 +00:00
Richard Hughes
12352f8c1a firmware-security: Move the workaround for UEFI Secure Boot lower
This fixes the toplevel security level to correctly show failed.
2022-08-25 14:37:14 +00:00
Felipe Borges
ff904208cb sound: Fix sound alert selection
The mapping between sounds and the UI elements was wrong.

Fixes #2026
2022-08-25 16:08:24 +02:00
Goran Vidović
381b5f51e9 Update Croatian translation 2022-08-25 13:23:37 +00:00
Nart Tlisha
1268ad7274 Update Abkhazian translation 2022-08-25 10:24:04 +00:00
Danial Behzadi
0e8e4ff976 Update Persian translation 2022-08-25 10:13:46 +00:00
Hugo Carvalho
47f7367d9d Update Portuguese translation 2022-08-24 20:53:56 +00:00
Kate Hsuan
0245329949 firmware-security: Hide the panel when chassis type is an empty string
When requesting the chassis type through systemd-hostnamed, it sometimes
returns an empty string "" not the "vm" to present the virtual machine.
Since this panel will not be shown in the VM environment, if systemd-hostnamed
returns an empty string or "vm", the panel will be hidden.

Signed-off-by: Kate Hsuan <hpa@redhat.com>
2022-08-24 14:39:33 +00:00
Matt Turner
b6c6f5c165 build: Use GNOME module post_install() 2022-08-24 14:36:39 +00:00
Richard Hughes
be3d9752bc firmware-security: Handle platforms that do not have a valid set of HSI tests
This affects aarch64 and older AMD devices.

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2014
2022-08-24 14:39:58 +01:00
Richard Hughes
941fdeaa05 firmware-security: Only show events that have changed value 2022-08-24 14:27:59 +01:00
Fran Dieguez
52c56c1393 Update Galician translation 2022-08-24 11:43:48 +00:00
Felipe Borges
37921f8a46 display: Fix primary monitor selection issue with AdwComboRow
We were connecting to the selected-index property when AdwComboRow
actually has a selected-item property. This is the same as
issue #2025

Fixes #2028
2022-08-24 11:18:35 +02:00
sunflowerskater
53ff717b4d printers: Use the same sentence for "Add Printer" in button and empty-state
Change the add printer button text, from the empty state section, to "Add Printer..."
(previously was "Add a Printer...") so it gets consistent with the add printer button
from the headerbar (in Printers panel) and with other buttons in Settings that end with
ellipsis, such as the "Add Picture..." from the Appearance panel, which doesn't have the
article also.
2022-08-24 08:46:55 +00:00
Daniel Mustieles
83b6df42d3 Updated Spanish translation 2022-08-24 08:22:34 +02:00
Kukuh Syafaat
981e153afd Update Indonesian translation 2022-08-24 04:54:04 +00:00
Goran Vidović
9d3eeae93c Update Croatian translation 2022-08-23 18:25:18 +00:00
Hugo Carvalho
918a60797f Update Portuguese translation 2022-08-23 16:49:33 +00:00
Felipe Borges
3a31e34514 power: Fix "Power Button Behavior" setting now applying
The AdwComboRow widget has a selected-item property, while we were
connecting to selected-index (which doesn't exist.

It is likely that selected-index existed in the past in libhandy
or libadwaita and this is a regression during the port to GTK4.

Fixes #2025
2022-08-23 15:26:46 +00:00
Felipe Borges
37f5cbe6af power: Fix blank-screen settings not applying
The AdwComboRow widget has a selected-item property, while we were
connecting to selected-index (which doesn't exist.

It is likely that selected-index existed in the past in libhandy
or libadwaita and this is a regression during the port to GTK4.

Fixes #2025
2022-08-23 15:26:46 +00:00
Yuri Chornoivan
9abcf928c3 Update Ukrainian translation 2022-08-23 14:40:25 +00:00
Danial Behzadi
3653a2f512 Update Persian translation 2022-08-23 11:06:07 +00:00
Jake Dane
1ae4d99421 network: Fix 802.1x TLS file chooser filters
If on the Security tab in the connection editor one selected 802.1x
with TLS authentication, the 3 file chooser dialogs there didn't
let one select any file. This was because allowed extensions were
passed to gtk_file_filter_add_suffix () with the leading dot but that
function expects them without the leading dot.

This could be fixed in the code by skipping over the dot but as per
discussion on !1433 it is preferable to use mime types instead. The
code is changed to use mime types for the file chooser dialog filter
and for checking a file is of the right type.

Fixes #2022.
2022-08-23 10:28:19 +00:00
Hugo Carvalho
6885a787ee Update Portuguese translation 2022-08-22 21:44:31 +00:00
Sebastian Keller
7f6dc4511f tests: Add test for keyboard shortcut normalization
This tests if the shortcuts generated from an event are in the format
that the shell expects.
2022-08-22 12:49:13 +00:00
Sebastian Keller
bad61a2229 keyboard: Handle shift shortcut modifier the same way as the shell does
The way shortcuts in mutter/gnome-shell work is that it looks up the
keycode that generates the shortcut keyval at the lowest shift level and
then checks if all the modifiers match. This does not work for shortcuts
that for example include "dollar" to represent "<Shift>4", because on
some keyboards/layout there is a separate dollar key key with its own
keycode. This would be at a lower shift level than "<Shift>4".

By always translating such shortcuts to "<Shift>number", we make sure
the resulting shortcut will work in the shell and is closer to what the
user likely intended the shortcut to be, because numbers are usually
assigned to things that can be enumerated, such as workspaces or
favorite applications.

This also special cases the num-row key on layouts such as AZERTY, where
the number is the shifted keyval, to always prefer the number. Due to
the way the shell interprets these shortcuts, they still work and by
always using numbers they work across different layouts.

This change also fixes that pressing "<Shift><Super>4" was turned into
"<Shift><Super>dollar", which effectively included the "<Shift>" twice.

Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1528
2022-08-22 12:49:13 +00:00
Sebastian Keller
986a37ff6c keyboard: Split out function to normalize keyval and modifier mask
This will allow it to be tested in a unit test in an upcoming commit.
2022-08-22 12:49:13 +00:00
Aleksandr Melman
9d7379139f Update Russian translation 2022-08-22 11:35:53 +00:00
Kukuh Syafaat
e2af7d0803 Update Indonesian translation 2022-08-22 10:10:12 +00:00
Sabri Ünal
2b66ca051d Update Turkish translation 2022-08-22 01:57:42 +00:00
Luming Zh
0cb71a11d0 Update Chinese (China) translation 2022-08-21 17:03:22 +00:00
Fran Dieguez
f4928d019e Update Galician translation 2022-08-21 15:07:59 +00:00
Fran Dieguez
d54a95b5e7 Update Galician translation 2022-08-21 14:50:56 +00:00
Goran Vidović
5d344d4b0a Update Croatian translation 2022-08-20 21:48:36 +00:00
Pablo Correa Gómez
b9a684dc1d region: fix warning of uninitialized variables
../panels/region/cc-region-panel.c: In function 'set_restart_notification_visible':
../panels/region/cc-region-panel.c:131:17: warning: 'current_locale' may be used uninitialized [-Wmaybe-uninitialized]
  131 |                 uselocale (current_locale);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
../panels/region/cc-region-panel.c:115:18: note: 'current_locale' was declared here
  115 |         locale_t current_locale;
      |                  ^~~~~~~~~~~~~~
../panels/region/cc-region-panel.c:130:34: warning: 'new_locale' may be used uninitialized [-Wmaybe-uninitialized]
  130 |         if (locale && new_locale != (locale_t) 0) {
      |                       ~~~~~~~~~~~^~~~~~~~~~~~~~~
../panels/region/cc-region-panel.c:114:18: note: 'new_locale' was declared here
  114 |         locale_t new_locale;
      |                  ^~~~~~~~~~
2022-08-20 20:47:35 +00:00
Pablo Correa Gómez
7846e57bfe region: fix possibly unused variable
../panels/region/cc-format-preview.c: In function 'update_format_examples':
../panels/region/cc-format-preview.c:70:16: warning: unused variable 'fmt' [-Wunused-variable]
   70 |   const gchar *fmt;
      |                ^~~
2022-08-20 20:47:35 +00:00
Pablo Correa Gómez
32b5e5dcb3 region: fix permissions_acquired always returning FALSE 2022-08-20 20:47:35 +00:00
Pablo Correa Gómez
18eea16ff3 keyboard: fix permission_acquired always returning FALSE 2022-08-20 20:47:35 +00:00
Yuri Chornoivan
451acd06e3 Update Ukrainian translation 2022-08-20 18:34:22 +00:00
Марко Костић
25ffe130c7 Update Serbian translation 2022-08-20 13:21:00 +00:00
Danial Behzadi
7b699747f7 Update Persian translation 2022-08-20 12:53:10 +00:00
Piotr Drąg
1aa9e87ff8 Update POTFILES.in 2022-08-20 14:20:09 +02:00
Jordi Mas
1e158a3099 Update Catalan translation 2022-08-20 08:50:08 +02:00