Commit graph

21409 commits

Author SHA1 Message Date
Amy
7f4a7c125f background: fix parameter indentation
Commit d2474bf0 ("background: revert false indentation") fixed a warning
which sprung from improper indentation of a function call. To comply 
with project style, the parameter list's indentation must also be
adjusted. This issue was pointed out by Georges (@fearanon). 

This patch changes the indentation of the parameters in compliance.
2022-06-15 19:26:24 +00:00
Amy
dbfc44b1f4 background: revert false indentation
Commit 46673670 ("Fix indentation") indented lines 160-163 of
cc-background-chooser.c to make them seem as if they were part of the
associated if statement. However, they are not, which causes confusion
as to the intention of the code. It appears as if the
gtk_accessible_update_property call is executed upon button being non-
null, but it is always executed due to the lack of an if block. For
clarity, and to resolve a compiler warning, this patch should be
reverted.

This patch reverts 46673670, changing the indentation back correctly. 
This was mentioned in #1902 and received no objections, including
approval from Lukas.
2022-06-15 19:26:24 +00:00
Cassidy James Blaede
91f3a7ec4f background: change "Light" to "Default" 2022-06-15 19:12:10 +00:00
Luming Zh
787e96de9b Update Chinese (China) translation 2022-06-15 18:29:17 +00:00
Milo Casagrande
c42f3c3a2a Update Italian translation
(cherry picked from commit b593dc4e64)
2022-06-14 15:29:34 +00:00
A S Alam
44601644b3 Update Punjabi translation 2022-06-12 15:50:52 +00:00
Amy
fbad193899 Update GLib dependency to 2.70
To support commit 9de5b003, the minimum GLib dependency level must be
updated to 2.70 as that release introduced g_pattern_spec_match_string.

This patch updates the GLib minimum required level in accordance.
2022-06-10 18:08:41 +00:00
Amy
ea635be532 default-apps: switch away from deprecated function
cc-default-apps-panel.c:101 uses g_pattern_match_string, which is now
considered deprecated in Glib. It is better to use the 2.70+
g_pattern_spec_match_string, which works as a drop-in replacement. This
helps with function organization, as the original was created as a
general Glib function while g_pattern_spec_match_string works under the
PatternSpec module.

This patch swaps the usage to the newer function, creating no functional
difference and resolving a deprecated functions warning.
2022-06-10 18:08:41 +00:00
Amy
8949aeb338 info-overview: remove extra whitespace
Commit 61908b02 ("
info-overview: change fetch order for consistency") introduces
undesired whitespace. While remaking the commit is not necessary, as it
will not affect bisecting, the whitespace should be eliminated.

This patch removes the whitespace, leaving only one preceding and
proceeding line for the get_hardware_model call.
2022-06-10 17:40:34 +00:00
Amy
f2f2807e84 info-overview: change fetch order for consistency
Currently, the order in which info_overview_panel_setup_overview fetches
data is essentially random. For ease of maintainability and
understanding, the fetches should be ordered by their appearance as rows
in the panel.

This patch changes the order so that it corresponds with the panel's UI
order.
2022-06-10 17:40:34 +00:00
Bastien Nocera
47c586a82e network: Fix Wi-Fi network with "&" in name not appearing
My neighbours' Wi-Fi makes the Wi-Fi panel throw an error:
(gnome-control-center:346639): Gtk-WARNING **: 15:16:21.993: Failed to set text 'Bbox Hugo & Laura' from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as &

Escape the SSID before using it to set the label.
2022-06-09 20:54:57 +00:00
Quentin PAGÈS
43419403b1 Update Occitan translation 2022-06-09 20:02:53 +00:00
Aleksandr Melman
6b93b355bd Update Russian translation 2022-06-05 12:27:13 +00:00
Fabio Tomat
6cdec6e3a4 Update Friulian translation 2022-06-03 08:20:11 +00:00
Fabio Tomat
e8b24c3d41 Update Friulian translation 2022-06-03 08:18:05 +00:00
Yosef Or Boczko
b76e109857 Update Hebrew translation 2022-06-01 15:30:17 +00:00
Yuri Chornoivan
95d4e664b5 Update Ukrainian translation 2022-06-01 13:12:09 +00:00
Hugo Carvalho
97cec8d167 Update Portuguese translation 2022-06-01 11:07:11 +00:00
Danial Behzadi
e58a80d804 Update Persian translation 2022-06-01 10:03:53 +00:00
Maximiliano Sandoval R
9327bbe759 wifi-connection-list: Add margins and align 2022-06-01 02:17:13 +00:00
Maximiliano Sandoval R
7cb4dc4ff0 network-wifi: Use ListBox in popover
This gives us the correct style on the popover.
2022-06-01 02:17:13 +00:00
Maximiliano Sandoval R
42f64f197f Make buttons in actions rows and header flat 2022-06-01 02:17:13 +00:00
Lukáš Tyrychtr
af197cb813 Add missing a11y labels 2022-05-31 21:08:44 +00:00
Robert Ancell
4f3eb61395 info-overview: Replace deprecated g_spawn_check_exit_status 2022-05-31 15:21:48 +12:00
Robert Ancell
23d70d6952 user-accounts: Replace deprecated g_spawn_check_exit_status 2022-05-31 15:21:37 +12:00
Lukáš Tyrychtr
46932dcffe Fix indent 2022-05-30 22:24:47 +00:00
Lukáš Tyrychtr
fd7691c0b9 Add a missing label to the automatic timezone switch 2022-05-30 22:24:47 +00:00
Yosef Or Boczko
83d27d1081 Update Hebrew translation 2022-05-30 18:22:14 +00:00
Quentin PAGÈS
93e7458569 Update Occitan translation 2022-05-30 16:49:05 +00:00
Aleksandr Melman
e559ecb1b1 Update Russian translation 2022-05-30 16:27:24 +00:00
Jürgen Benvenuti
be6d2e38dd Update German translation 2022-05-30 15:10:26 +00:00
Georges Basile Stavracas Neto
0e8835d18c online-accounts: Print all GLib messages to stderr
Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1864
2022-05-29 23:24:46 +00:00
Lukáš Tyrychtr
6f887237fd Add a label to the master mic switch 2022-05-29 23:12:04 +00:00
Lukáš Tyrychtr
666af4ddea Add a missing label 2022-05-29 23:06:33 +00:00
Lukáš Tyrychtr
6388d3715a Add an a11y label to the switch 2022-05-29 23:02:42 +00:00
Danial Behzadi
7eda06f9ee Update Persian translation 2022-05-29 07:54:39 +00:00
Luming Zh
5711ee0ce1 Update Chinese (China) translation 2022-05-28 02:36:23 +00:00
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