Commit graph

23882 commits

Author SHA1 Message Date
Danial Behzadi
27c834ddcb Update Persian translation
(cherry picked from commit e7b2b086cc)
2024-03-15 10:06:40 +00:00
Sabri Ünal
91f0ad63bc i18n: Add missing translatable files
These files contain important strings visible on setting search.
2024-03-15 09:23:03 +00:00
Matthijs Velsink
b832a0e530 subprojects: Update gvc to latest commit
A crash possibility has been fixed in libgnome-volume-control!25.

A similar crash was reported on the Settings side, so update to the
latest gvc commit to hopefully prevent further crashes.

Related: gnome-shell#7173
Related: #2924
2024-03-14 12:19:51 +00:00
Daniel Rusek
e129527e4c Update Czech translation 2024-03-14 11:10:51 +00:00
Automeris naranja
14f0a13162 add-user-dialog: Port to AdwToolbarView
Also, allow closing the dialog with ESC.
2024-03-14 10:57:18 +00:00
Athmane MOKRAOUI
abe2675f23 Update Kabyle translation 2024-03-13 22:19:57 +00:00
Jonas Dreßler
4afd08e234 sound: Don't call gvc_mixer_control_open() twice
Unfortunately I sneaked in a move of the gvc_mixer_control_open() call from
earlier in the function to the end of the function with commit 2152899354.

That change didn't actually move the call though, but introduced a second
call instead, leading to a critical error on opening of the sound panel.

Fix it by removing the first call to gvc_mixer_control_open() and keeping
the second one around. We want to keep the second one instead of the earlier
one because the signal handlers should be connected before we initialize gvc
and it connects to pulse, emitting all the input/output-added signals etc.

The reason why this wasn't broken before was likely because the connection
to pulse happens async, and therefore the initial emission of the signals
would effectively still have happened after we connected our handlers.

Fwiw, calling gvc_mixer_control_open() after
cc_volume_slider_set_mixer_control(), cc_subwoofer_slider_set_mixer_control()
and cc_device_combo_box_set_mixer_control() is not a problem, as those
functions all call into gvc to get static values (and as explained above,
at this point gvc wouldn't have established connection to pulse anyway).

Reported-by: Matthijs Velsink <mvelsink@gnome.org>

Fixes: 2152899354 ("sound: Listen to signals from GvcMixerControl only in sound panel")
2024-03-12 22:39:14 +00:00
Automeris naranja
1b357b2fb4 power-profile-info-row: Set natural-wrap-mode to none
This fixes title_label appearing awkwardly truncated when
the the text is long (a lot of whitespace is shown at the
right of the row).

Closes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2240
2024-03-12 22:17:17 +00:00
Automeris naranja
bf6c647be5 apps: UI tweaks to the "Files & Links" row
- Set a new name and subtitle
- Show the types number at the right

Reference:
cb7f6da52d

Closes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2906
2024-03-12 22:08:47 +01:00
Automeris naranja
963c598cce privacy: Update subpage tags in the main page
Each page had its AdwNavigationPage tag updated in [1],
but the tags in the Privacy panel main page weren't
updated, which made all the subpages fail to open.

[1] 917248d7bf
2024-03-12 17:41:23 -03:00
Artur S0
2df8a5a496 Update Russian translation 2024-03-12 14:49:25 +00:00
Artur S0
4df027409e Update Russian translation 2024-03-12 13:42:10 +00:00
Automeris naranja
8a65911b3a apps: Add tooltips to remove buttons from handler_dialog
In the File & Link Associations dialog (handler_dialog),
the remove button from list rows doesn't have a tooltip;
also, Orca doesn't read this button properly, since there
is no a11y label.

Fix that by adding a tooltip, which also acts as an a11y
label.
2024-03-12 12:59:05 +00:00
Automeris naranja
2094d7bb73 apps: Fix inconsistent "Storage" row subtitle
Unlike other rows from the app page, the
"Storage" row subtitle states a value
instead of showing the row description.
Also, the description ends with a period,
which isn't necessary acc. to HIG.

Show the disk space  as a secondary label,
so the "Storage" row can have a consistent
subtitle like other rows.

Closes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2777
2024-03-12 12:56:38 +00:00
Automeris naranja
542cd4e0a6 keyboard-shortcut-row: Tweak the reset button
- Reword tooltip to follow HIG guidelines[1]
- Remove the a11y because Orca also reads
tooltips
- Remove the "reset-shortcut-button" style class
because it's unused

[1] https://developer.gnome.org/hig/patterns/feedback/tooltips.html
2024-03-12 12:51:45 +00:00
Automeris naranja
59ff136095 keyboard-shortcut-row: Add an edit icon
Shortcut rows don't indicate that a window will
be opened. Add an edit icon to fix that.

Closes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2814
2024-03-12 12:51:45 +00:00
Automeris naranja
84ac927787 remote-login-page: Add missing mnemonic
Add mnemonic to the "SSH Login Command" row.
Also, use the letter "S" for the mnemonic of
the "Secure Shell" row.
2024-03-12 12:49:24 +00:00
Automeris naranja
cba40d5194 system: Fix broken mnemonics
Secure Shell and Software Updates rows are
using the letters R and U, respectively, for
their mnemonics. However, these letters are
already taken by other rows (Region & Language
and Users).

Fix that by choosing different letters.
2024-03-12 12:44:30 +00:00
Automeris naranja
e31dd03fdc network-vpn: Add tooltip to the VPN options button
Also, remove the a11y label because Orca also reads tooltips.
2024-03-12 12:40:45 +00:00
Daniel Rusek
d23b8c8b8d Update Czech translation 2024-03-12 12:00:29 +00:00
Felipe Borges
a76ff8923f system: Use CcPanel.subpage for launching subpages
Rather than overriding the parameters property.
2024-03-12 10:03:08 +01:00
Felipe Borges
8ffe4b8cf4 privacy: Open subpage when CcPanel.subpage is set
Fixes #2940
2024-03-12 10:03:08 +01:00
Felipe Borges
917248d7bf privacy: Update subpages tags to match expected cmdline args 2024-03-12 10:03:08 +01:00
Felipe Borges
d62f048058 shell: Add CcShell.subpage string property 2024-03-12 10:03:07 +01:00
Felipe Borges
ec280a8755 shell-model, panel-loader: Add CC_CATEGORY_PRIVACY
This is supposed to classify pages that belong in the Privacy panel.
2024-03-12 09:42:14 +01:00
Jonas Dreßler
3aeb837cb0 sound: Set input/output meter stream to NULL when there's no active device
When there's no active input or output device, the input/output meter shouldn't
have a stream set, so call set_input_stream() with a NULL stream
(cc_volume_slider_set_stream() and cc_level_bar_set_stream() are already handling
NULL as expected) in case there's no active input or output device.

This fixes a bug where the input/output meter doesn't get updated when the active
input or output device gets unset.
2024-03-12 08:33:58 +00:00
Jonas Dreßler
afec106a8b sound: Unset active entry on the device comboBox when there's no active device
When gvc gives us an active-input/output-device ID we don't know or sets the ID
to 0, that means there's no device currently active. While this seems unlikely
to be the case without the device getting removed at the same time, it can happen:
When the bluetooth profile gets changed from handset (input+output) to
headphone (output only), the input device remains available, but there's no
more active-input-device anymore.

In this case, we shouldn't leave the active entry on the device combo box as-is,
instead we should set it to NULL to indicate that no input device is set.

This fixes a bug where the input switcher is not updated when there's no
internal microphone but there's a bluetooth headset connected, and the
bluetooth profile gets switched from Handset to Headphone.
2024-03-12 08:33:58 +00:00
Jonas Dreßler
bf6f72278e sound: Update active-device UI on signals from gvc, not on combo box changes
Gvc is the actual "source of truth" when it comes to the currently active input
or output device, so we should update widget visibility and the input/output
meter stream based on the information from gvc, not on changes to the combo box.

The flow when the selects a different device in the combo box now is:
"user change" -> gvc_mixer_control_change_output() -> receive
"active-output-changed" signal from gvc -> update active device and get it
using the DeviceComboBox -> set widget visibility and update stream based
on this device.

This fixes a few bugs where the stream for the input/output meter wouldn't
get updated properly on active device changes.
2024-03-12 08:33:58 +00:00
Jonas Dreßler
a74bc5a84d sound: Block our own signal handlers while updating the active-device combo box
When we get notified of an "active-input/output-device" change by gvc, we have
to update our respective combo box to reflect that change. Obviously, this in
turn shouldn't trigger our own signal handler for changes on that combo box,
that signal handler is only meant to handle the user interacting with the combo
box.

So block our signal handlers when we update the combo box to respond to changes
from the gvc side.

This fixes a recursive call to gvc_mixer_control_change_input/output() when we
get notified about an input/output change from gvc itself.
2024-03-12 08:33:58 +00:00
Jonas Dreßler
2152899354 sound: Listen to signals from GvcMixerControl only in sound panel
We should only listen to "active-input-update" and "active-output-update" in
one place, and then update the combo box from there. This way we can block our
own signal handler for input/output device changes on the combo box, which
we'll do in the next commit.
2024-03-12 08:33:58 +00:00
Automeris naranja
4de79c9694 remote-desktop-page: Minor UI changes to the "Encryption Fingerprint" dialog
Make this dialog design closer to what mockups
show[1] by:

- Removing window default-width/height,
so the window size follows the content size
- Using a compact AdwStatusPage
- Using larger fingerprint label horizontal margins
and reducing vertical ones

Also:

- Port the window to AdwToolbarView, which
makes the close button position to be consistent
with other windows
- Allow closing the window with ESC
- Add window size request properties to improve
adaptiveness

[1] cbb4810936
2024-03-12 00:46:21 +01:00
Quentin PAGÈS
f8afe07e12 Update Occitan translation
(cherry picked from commit 8d83ec98e6)
2024-03-11 20:02:53 +00:00
Jakub Steiner
6718390123 wacom: adjust graphic
- all the pen assets have no padding inside the SVG itself
- round the shape a little
2024-03-11 16:53:12 +00:00
Peter Hutterer
8b45201b9c wacom: Accept eraser types of button when matching stylus IDs
Unlike tip erasers, styli with eraser buttons (which is the vast
majority anyway) have the same tool ID as the pen so the first
matching stylus we find is the right one.

This avoid a warning when a AES stylus is connected - we're constructing
the stylus based on our cache information which is just ID and serial
but no device - meaning the device lookup cannot work.

Fixes: 42b39cb956 ("wacom: Prefer the stylus over the eraser")
2024-03-11 16:53:12 +00:00
Peter Hutterer
f1cfc55a63 wacom: Add AES styli as separate stylus SVG
These are styli like the Dell Active Pen and most of the styli supplied
with laptops with built-in tablets. We don't always know how many
buttons these have so the SVG has just one large button. They're
typicall slimmer and less rounded than the Wacom pens so let's reflect
this here too.

This requires libwacom 1.4 released June 2020
2024-03-11 16:53:12 +00:00
Automeris naranja
6d8edb80dc apps: Use AdwStatusPage when showing "No Apps Found"
The scrolling bug described in [1] and [2] doesn't
happen anymore. Apparently this was fixed in [3],
which stopped wrapping the status page inside
a GtkListBox.

Use AdwStatusPage again, since it makes the code
simpler.

[1] 1ae2c5295c
[2] https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/989#note_1837249
[3] e2b4896287
2024-03-11 16:12:16 +00:00
Automeris naranja
cb8819657b general: Rename "computer" strings to "device"
"Computer" isn't a suitable term for other device
form factors. Also, there are several strings in
Settings that already use "device", and cc-color-panel.ui
uses a mix of "computer" and "device" strings, which is
weird.
2024-03-11 15:19:55 +00:00
Automeris naranja
ad142445a2 diagnostics-page: Minor writing style tweak
Tweak the writing style of the problem reporting text
with the following changes:

- Use an en dash to separate the "learn more" link
- Use a period at the end of the phrase
2024-03-11 15:10:10 +00:00
Automeris naranja
f03d5cc0ab diagnostics-page: Don't show GNOME privacy policy link
When the privacy policy link from the distro isn't
available when calling G_OS_INFO_KEY_PRIVACY_POLICY_URL,
"gnome.org/privacy-policy" is used instead. However,
GNOME doesn't have any infrastructure for automatic
problem reporting; also, that link doesn't even mention
about problem reporting, so it's completely unrelated.

Fix by removing not setting any link if
G_OS_INFO_KEY_PRIVACY_POLICY_URL doesn't return any URL.

Closes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2926
2024-03-11 15:10:10 +00:00
Automeris naranja
fc34e26b5e background: Add a transition to the selected background check
So the check appears in a nice way when switching
backgrounds.
2024-03-11 15:09:15 +00:00
Automeris naranja
36917a0896 common: Replace info-symbolic icon with info-outline-symbolic
Latest mockups are now using info-outline-symbolic,
example:
1c55bbb53a
2024-03-11 15:06:26 +00:00
Philip Withnall
2d6469ce6b color: Correctly capitalise button labels
As per the HIG, button labels should be in title case.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
2024-03-11 15:02:34 +00:00
Daniel Tang
6a083318af color: Fix GTK4 invisible start calibration button
"action_area" was unused. internal-child is invalid in GTK4,
so the row with the start button doesn't load. This makes the
calibration feature impossible to use. Removing the unused
unrecognized attribute allows the start button to load again.

Fixes: https://askubuntu.com/q/1504329/1004020
Fixes: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/2043119
2024-03-11 13:43:47 +00:00
Allan Day
5e1db66a73 online-accounts-panel: Organize the accounts list
Group the unbranded accounts and the Microsoft accounts, so that the
list is more logically ordered and looks better.

Fixes #2949
2024-03-11 13:41:55 +00:00
Matthijs Velsink
d26fb10c28 system, users: Remove leftover .desktop file
When the Users panel got moved to System, the original .desktop file was
also moved. However, that is now obsolute with
`panels/system/users/gnome-users-panel.desktop.in`. This old file is
also not referenced in any `meson.build` and contains an outdated `Exec`
line.

So, remove it.
2024-03-11 13:01:56 +00:00
Athmane MOKRAOUI
464631e138 Update Kabyle translation 2024-03-11 12:45:10 +00:00
Fran Dieguez
9ab46dfbdc Update Galician translation 2024-03-11 08:40:03 +00:00
Jordi Mas i Hernandez
15442633fd Update Catalan translation 2024-03-11 06:03:11 +00:00
Philipp Kiemle
f908db0ac0 Update German translation 2024-03-10 22:54:02 +00:00
Piotr Drąg
50b7b51424 Update Polish translation 2024-03-10 20:24:48 +01:00