Commit graph

23459 commits

Author SHA1 Message Date
Danial Behzadi
b86b88b2d1 Update Persian translation 2024-02-19 12:14:13 +00:00
Peter Hutterer
c348239e92 wacom: Pass the GsdDevice through to the calibrator
The calibrator gets a GdkDevice from the GtkGesture but that device is
the "Logical device for $TABLET", not the actual device. So all our
clicks are discarded as coming from the wrong device.

Fix this by passing the GsdDevice through and comparing against that.

Closes #1871
2024-02-19 12:47:09 +01:00
Peter Hutterer
430585eed0 wacom: Fix a few indentation/whitespace issues 2024-02-19 12:46:06 +01:00
Daniel Mustieles
241c8d3aad Update Spanish translation 2024-02-19 11:22:52 +00:00
Matej Urbančič
424d04fac0 Update Slovenian translation 2024-02-19 11:14:26 +00:00
Automeris naranja
376fda9726 apps: Prevent the sandbox_banner title from overlapping CCListRowInfoButton
The sandbox_banner title shows "<app_name> is
not sandboxed". However, if the app name is too
long, the banner text will overlap the
CCListRowInfoButton that is inside the banner.

To fix this, remove the app name from the banner
and only show "App is not sandboxed".

Closes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2846
2024-02-19 10:00:12 +00:00
Nathan Follens
f7fbc8ca65 Update Dutch translation 2024-02-18 21:14:20 +00:00
Sabri Ünal
30a52bc50a Update Turkish translation 2024-02-18 15:31:06 +00:00
Jordi Mas
aee182e567 Update Catalan translation 2024-02-18 08:47:14 +01:00
Andy Holmes
b0776a2ecd online-accounts: define a GType macro for account rows 2024-02-18 01:01:37 +00:00
Brage Fuglseth
4b02b641b4 Update Norwegian Bokmål translation 2024-02-17 21:38:38 +00:00
Daniel Rusek
323a7f2062 Update Czech translation 2024-02-17 13:48:21 +00:00
Danial Behzadi
3a7c4ec75c Update Persian translation 2024-02-17 12:41:49 +00:00
Yaron Shahrabani
dd1bf891b4 Update Hebrew translation 2024-02-16 22:28:04 +00:00
Yuri Chornoivan
4924bb199d Update Ukrainian translation 2024-02-16 18:32:33 +00:00
Ekaterine Papava
792600dbed Update Georgian translation 2024-02-16 11:13:34 +00:00
Felipe Borges
8956546380 apps: Add translator comments to the "Search" permission row
Fixes #2903
2024-02-16 10:08:51 +00:00
Felipe Borges
1bb5158a44 apps: Reuse "Search" row strings in the "no_search" row
When a Search Provider can be toggled, we show an AdwSwitchRow but
when it can't (disabled) we show a normal row with the "Disable"
suffix. This way we end up with two rows that are very similar and
have the same title and subtitle.

Let's bind the title and subtitles of the "no_search" row to the
"search" row as they are always expected to be identical.

See #2903
2024-02-16 10:08:51 +00:00
Felipe Borges
f54558d58e wifi: Add translator comment to "Saved Networks" dialog 2024-02-16 09:50:20 +00:00
shruti2522
e289a8b3b6 wifi: pluralize string using ngettext 2024-02-16 09:50:20 +00:00
Matthijs Velsink
71f8f31d92 background: Refactor boolean logic in CcBackgroundItem
Fix some overcomplicated logic.
2024-02-16 09:37:14 +00:00
Matthijs Velsink
e5cfb97dd8 background: Block callback while changing settings
The set_background() function changes settings, and even though the
underlying GSettings are set to `delay-apply`, every change still fires
a "changed" callback. This results in many intermediate and
unnecessary calls to on_settings_changed().

Fix this by blocking that callback during the set_background() calls,
and manually doing a single on_settings_changed().
2024-02-16 09:37:14 +00:00
Matthijs Velsink
fdadeb9129 background: Track current active background better
The checkmark indicating the active background based on GtkFlowBox
selection does not work when changing the selection with the arrow keys.
Moreover, it is not set when the panel opens.

We fix this by sending the active CcBackgroundItem to the chooser, so
that it can add an "active-item" CSS class to the true active item.

Fixes #1756 #2505
2024-02-16 09:37:14 +00:00
Matthijs Velsink
01ae6f8908 background: Do not manually track items flags
Manually tracking which properties are set on a CcBackgroundItem is only
properly done in the background XML loader. Doing this manually is
error-prone and should instead be done inside the relevant property
setters. That would avoid forgetting to set some of the flags, which is
especially relevant for comparing two background items.

This adds automatic setting of background item flags to fix this.
2024-02-16 09:37:14 +00:00
Matthijs Velsink
9c9c3430f2 background: Use properties array for background items
Stop using g_object_class_install_property() for each property, but add
an entire array at once with g_object_class_install_properties().
2024-02-16 09:37:14 +00:00
Matthijs Velsink
33b9b46432 background: Remove more unused colored bg code
When colored backgrounds were a thing, these where set with style
G_DESKTOP_BACKGROUND_STYLE_NONE. Presumably, changes to these
backgrounds were stored in a local XML file.

Since the colored backgrounds were removed, let's also remove the code
tracking these colored background changes.
2024-02-16 09:37:14 +00:00
Philip Withnall
ff29f1c95e build: Fix use of deprecated libmalcontent symbols
These symbols were soft-renamed in libmalcontent 0.5.0 (released in
February 2020), and we already depend on 0.7.0.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
2024-02-16 09:23:54 +00:00
Danial Behzadi
0a0fb205c8 Update Persian translation 2024-02-15 21:02:07 +00:00
Asier Sarasua Garmendia
58a10d400c Update Basque translation 2024-02-15 18:52:41 +00:00
Fran Dieguez
9d3367b965 Update Galician translation 2024-02-15 00:16:20 +00:00
Jordi Mas i Hernandez
927cd3ee7e Update Catalan translation 2024-02-14 19:13:19 +00:00
Freddy Cheng
b2fa00143c Update Chinese (Taiwan) translation 2024-02-14 14:25:35 +00:00
Automeris naranja
72abffe24e sharing: Minor tweaks to dialogs size
After the port to AdwPreferencesPage and the
main switch being moved out from the headerbar,
the content of the sharing dialogs got a bit hidden,
which requires more scrolling.

Fix such issue by removing the height-request
property, so the window height can follow the content
height. Do the same for the Media Sharing dialog
to keep consistency. Also, use the same window width
in both dialogs (to also keep consistency).
2024-02-14 12:32:40 +00:00
Sabri Ünal
ba44a0182a Update Turkish translation 2024-02-14 10:56:29 +00:00
Ekaterine Papava
2ea9b96133 Update Georgian translation 2024-02-14 07:01:25 +00:00
Daniel Rusek
84a6daaf8e Update Czech translation 2024-02-13 22:18:27 +00:00
Yuri Chornoivan
4a5c87913c Update Ukrainian translation 2024-02-13 17:14:01 +00:00
Artur S0
7b58b795ae Update Russian translation 2024-02-13 17:00:22 +00:00
Felipe Borges
9d5371fdd5 46.beta.2 2024-02-13 16:05:35 +01:00
Matthijs Velsink
b0ce59a02c po: Remove POTFILES.in entry after GOA changes
Commit 08c51127 (!2039) removed gnome-control-center-goa-helper.c, but
forgot to remove the POTFILES.in entry.

This fixes that.

Fixes #2893
2024-02-13 13:09:10 +00:00
Matthijs Velsink
3ca34ff2dd po: Fix POTFILES.in for the "Remote Login" move
Commit c0c357c3 (!2211) moved the "Remote Login" code to the System
Panel, but did not change the POTFILES.in entries.

This fixes that.
2024-02-13 13:09:10 +00:00
Matthijs Velsink
959f8afde8 sharing: Clean leftover "Remote Login" code
Commit c0c357c3 (!2211) moved the "Remote Login" code to the System
panel. There are some leftover bits of code in the sharing panel though.

This cleans that up.

Closes #2895
2024-02-13 13:06:38 +00:00
Emin Tufan Çetin
7aa057ac27 Update Turkish translation 2024-02-13 12:58:03 +00:00
Felipe Borges
1313831488 46.beta.1 2024-02-12 20:06:56 +01:00
Andy Holmes
0e7a9d91e0 online-accounts: use subtitles for ambiguous providers
Add better titles for providers with names like "IMAP and SMTP",
retaining the GOA-provided string as the row subtitle.
2024-02-12 19:04:00 +01:00
Andy Holmes
3d2e3400b0 online-accounts: sort providers statically
Sorting providers and accounts by features flags makes it difficult to
thme how we like, so hard-code the sorting order based on the
non-localized provider name.
2024-02-12 19:04:00 +01:00
Andy Holmes
6405c255aa online-accounts: avoid a NULL-pointer dereference 2024-02-12 17:58:35 +00:00
Andy Holmes
3dabda4a3d ci: build gnome-online-accounts from git
Due the unstable GOA API, namely the recent port to GTK4, GOA
needs to be built from current `master` to build and run.
2024-02-12 17:58:35 +00:00
Andy Holmes
80fcc8c2f2 online-accounts: port to new API
Port to the new GOA API, with simple async functions.
2024-02-12 17:58:35 +00:00
Andy Holmes
08c51127ac online-accounts: remove goa-helper
Remove the GOA subprocess helper and use GoaClient directly.

The GoaClient is loaded asynchronously, with the panel being marked
insensitive until ready. Any `CcPanel::parameters` passed while loading
are deferred until the client is ready.
2024-02-12 17:58:35 +00:00