Commit graph

21372 commits

Author SHA1 Message Date
Hugo Carvalho
03f08faf81 Update Portuguese translation 2022-05-27 22:47:43 +00:00
Jan Tojnar
c9448f76c2 region: Fix critical when changing language
Changing user’s language resets the formats (region) by passing `NULL` to `update_region`.
However, updating the region calls `maybe_notify`, whose callback `maybe_notify_finish`
tries to parse the `mnd->target_locale` (the `NULL`), producing a critical:

    GLib-CRITICAL **: g_regex_match_full: assertion 'string != NULL' failed

Since updating the language itself already triggers the notification check,
let’s just skip calling `maybe_notify` here in that case.
2022-05-26 19:05:16 +00:00
Jan Tojnar
7c4428eb59 region: Fix creating rows for locales without country
When creating a language row for Esperanto (eo.UTF-8), gnome-desktop throws a critical:

    gnome_get_country_from_code: assertion 'code != NULL' failed
2022-05-26 19:05:16 +00:00
Lukáš Tyrychtr
eece14f1cd Add a missing a11y label to the search box in the country selection dialog 2022-05-25 23:43:28 +00:00
Robert Ancell
99f27e802f applications: Update snap permissions code to recent changes
Fixes #1845
2022-05-25 23:02:46 +00:00
Yuri Chornoivan
edbc075eb0 Update Ukrainian translation 2022-05-25 18:27:29 +00:00
Georges Basile Stavracas Neto
261545b6cb keyboard: Set mnemonics to header buttons
Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1863
2022-05-25 16:41:28 +00:00
Boyuan Yang
b2a3da4927 Update Chinese (China) translation 2022-05-25 16:36:17 +00:00
Felipe Borges
e5dbc0dcc1 appearance: Add "Appearance" keyword to desktop file
With the panel getting renamed from "Background" to "Appearance", users
like myself will start getting accustomed to search for the new term
instead.
2022-05-25 10:09:06 +00:00
Christian Kirbach
aef272e3fa Update German translation
(cherry picked from commit 3b9e94a03f)
2022-05-24 08:40:23 +00:00
Quentin PAGÈS
3088c5f673 Update Occitan translation 2022-05-23 16:56:40 +00:00
Aleksandr Melman
a7287ebecb Update Russian translation 2022-05-23 12:24:26 +00:00
Pawan Chitrakar
de40b25790 Update Nepali translation
(cherry picked from commit 79c2c4578b)
2022-05-22 08:07:34 +00:00
Asier Sarasua Garmendia
2641f68fcc Update Basque translation 2022-05-19 19:57:02 +00:00
Lukáš Tyrychtr
9c54390320 Add missing a11y labels and fix accessibility related markup in UI files in the search panel 2022-05-19 12:05:01 +00:00
Daniel Mustieles
05dc74f120 Updated Spanish translation 2022-05-19 10:35:23 +02:00
Hugo Carvalho
2dd2d2acab Update Portuguese translation 2022-05-18 14:32:21 +00:00
Danial Behzadi
4d8bdd5d52 Update Persian translation 2022-05-18 09:40:58 +00:00
Yuri Chornoivan
f6e6ff30a3 Update Ukrainian translation 2022-05-18 06:24:43 +00:00
Jonas Ådahl
fc984e90a1 display: Show infobar if night light isn't supported
This may be the case on e.g. fully remote / headless sessions, or as of
now, when using the NVIDIA driver to run a Wayland session.

Closes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1659
2022-05-17 12:32:48 +02:00
Jonas Ådahl
44293e9db2 display: Add 'NightLightSupported' property support 2022-05-17 12:31:07 +02:00
Robert Ancell
fc1b750f19 applications: Fix CcInfoRow having the wrong parent.
Introduced in 9e38b89752
2022-05-17 12:14:56 +12:00
Changwoo Ryu
afb59388c9 Update Korean translation
(cherry picked from commit a23cd79762)
2022-05-16 12:08:27 +00:00
Fran Dieguez
5137225383 Update Galician translation 2022-05-16 07:59:04 +00:00
Danial Behzadi
bfa06d0978 Update Persian translation 2022-05-16 07:46:03 +00:00
Yuri Chornoivan
a8db661166 Update Ukrainian translation 2022-05-16 07:23:42 +00:00
Robert Ancell
64768de705 keyboard: Fix typo in a11y label 2022-05-16 10:05:29 +12:00
Piotr Drąg
c09c25805b Update POTFILES.in 2022-05-15 13:36:12 +02:00
Felipe Borges
44fdf9a492 sharing: Let GtkWindowControls add its own buttons
On the Verify Encryption dialog we were adding a GtkWindowControls
widget with a button child. This is a misunderstanding of the behavior
of GtkWindowControls, which adds its own buttons to the window.

Let's remove our custom close-button and its callback, since the
previous commit disabled this codepath for hiding the dialog.
2022-05-13 13:18:01 +02:00
Felipe Borges
a701ab0b8b sharing: Set Verify Encryption dialog to "hide-on-close"
This way GtkWindow handles the hiding of the dialog instead of the
callback of the close-button.

Fixes #1832
2022-05-13 13:18:01 +02:00
Ritik Bhandari
46e8eafa92 user-accounts: Fixed typo from "organisation" to "organization" 2022-05-12 23:11:00 +00:00
Ritik Bhandari
8320d17825 region: Fixed typo from "formats is.." to "formats are" 2022-05-12 23:11:00 +00:00
Adrien Plazas
d548309f34 info-overview-panel: Use the external link icon for the updates link
This makes it explicit it opens another application to perform the
action.
2022-05-12 23:04:51 +00:00
Cheng-Chia Tseng
f2402869bb Update Chinese (Taiwan) translation
(cherry picked from commit 4ed667e4e5)
2022-05-12 07:10:40 +00:00
lsnow
1523ab6c6b applications: crash when switching between two apps
The GIcon returned by g_app_info_get_icon() does
not need to be freed.

See: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1817
2022-05-11 12:39:39 +08:00
Robert Ancell
b7302348cf online-accounts: Add CcOnlineAccountRow 2022-05-11 14:51:53 +12:00
Robert Ancell
32a807b964 online-accounts: Add CcOnlineAccountProviderRow 2022-05-11 14:49:12 +12:00
Robert Ancell
7bf240ca3f online-accounts: Use g_autoptr 2022-05-11 14:04:22 +12:00
Robert Ancell
7d4c8346ca online-accounts: Rename panel class to match filename 2022-05-11 14:04:18 +12:00
Jeremy Bicha
f94c96577b sharing: Turn off RDP gsettings key when turning off RDP
Closes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1825
2022-05-11 00:28:25 +00:00
Robert Ancell
f9fd2587ca printers: Fix missing const on string parameter 2022-05-11 12:16:25 +12:00
Robert Ancell
0118598763 display: Fix typo in a11y attribute 2022-05-11 12:07:31 +12:00
Michael Catanzaro
69f51bdab0 info-overview: add build option to control distributor logo
Currently, we display a 256x256 version of the OS icon from
/etc/os-release. This is too big for my taste, and it's also not
sufficient for distros that want to display a logo that is not an icon.
For instance, because we no longer display the operating system name
immediately beneath the logo, it may be desirable to use a logo variant
that includes text. This patch adds a meson build option that
distributions can use to override the logo, and a second build option to
specify a different logo for use in dark mode.
2022-05-10 23:16:40 +00:00
Bastien Nocera
88f87de748 info-overview: Remove old version.xml loading code 2022-05-10 23:00:59 +00:00
Bastien Nocera
bfc567955f info-overview: Load GNOME version from gnome-shell
See https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5406
2022-05-10 23:00:59 +00:00
Bastien Nocera
d253fe188c info-overview: Add a placeholder while the GNOME version loads 2022-05-10 23:00:59 +00:00
Bastien Nocera
8914fae8da info-overview: Don't load version.xml info we don't use
We don't use the distributor or date info from gnome-desktop's version.xml
so no need to parse it.
2022-05-10 23:00:59 +00:00
Bastien Nocera
95de2049c7 shell: Initialise locale early
Otherwise glib will make internal calls before setlocale is called:
** (process:1124144): WARNING **: 10:16:58.983: dcgettext("(null)", "", 5) called before setlocale()

 #0  0x00007ffff7c80f77 in g_logv () at /lib64/libglib-2.0.so.0
 #1  0x00007ffff7c81233 in g_log () at /lib64/libglib-2.0.so.0
 #2  0x00007ffff7fbb6c6 in dcgettext (__domainname=<optimized out>, __msgid=0x7ffff7ce6c5a "", __category=<optimized out>) at ../../../../Projects/jhbuild/gettext-pseudolocale/gettext-pseudolocale.c:194
 #3  0x00007ffff7c6478e in _g_dgettext_should_translate () at /lib64/libglib-2.0.so.0
 #4  0x00007ffff7c6484b in g_dgettext () at /lib64/libglib-2.0.so.0
 #5  0x00007ffff7e98974 in g_application_class_intern_init () at /lib64/libgio-2.0.so.0
 #6  0x00007ffff7d9cfb8 in g_type_class_ref () at /lib64/libgobject-2.0.so.0
 #7  0x00007ffff7d9cc95 in g_type_class_ref () at /lib64/libgobject-2.0.so.0
 #8  0x00007ffff7d9cc95 in g_type_class_ref () at /lib64/libgobject-2.0.so.0
 #9  0x00007ffff7d9cc95 in g_type_class_ref () at /lib64/libgobject-2.0.so.0
 #10 0x00007ffff7d8671a in g_object_new_valist () at /lib64/libgobject-2.0.so.0
 #11 0x00007ffff7d867fd in g_object_new () at /lib64/libgobject-2.0.so.0
 #12 0x0000000000449bcc in cc_application_new () at ../../../../Projects/jhbuild/gnome-control-center/shell/cc-application.c:294
 #13 0x0000000000448fa6 in main (argc=1, argv=0x7fffffffd138) at ../../../../Projects/jhbuild/gnome-control-center/shell/main.c:55
2022-05-11 00:36:27 +02:00
Lukáš Tyrychtr
4a421d0abc Ensure that the activatable widgets of the multitasking rows have the proper labels 2022-05-10 22:29:10 +00:00
Lukáš Tyrychtr
e26f28d1fd Add a label to the close notification button in online account settings 2022-05-10 22:19:52 +00:00