Commit graph

19843 commits

Author SHA1 Message Date
Robert Ancell
796549a7ed 3.38.4 2021-02-15 10:50:54 +13:00
Marco Trevisan (Treviño)
826268dd74 fingerprint-dialog: Properly handle claiming errors if we're already claiming
We were a bit too permissive in handling the AlreadyInUse error during
claim, as we assumed it was always us causing it instead of properly
handing the case a device was already claimed by another caller.

So to ensure this is the case we need to avoid multiple calls to claim
until we've finished one.

Unfortunately we can't rely on a cancellable here as we may end up
cancelling the request that succeeded and we'll only get an
AlreadyClaimed error without know if it was us succeeding.

Fixes: #1201
2021-02-02 11:45:22 +13:00
Marco Trevisan (Treviño)
68cca133bd fingerprint-dialog: Always call EnrollStop on enrollment completed
Even if we got an error we need to always call EnrollStop so don't unset
enrolling_finger status until we're really done with it.
2021-02-02 11:45:22 +13:00
Kjartan Maraas
8ef1d8f4a3 Update Norwegian Bokmål translation 2021-01-13 14:18:15 +00:00
Robert Ancell
681ce6c7f6 3.38.3 2021-01-08 10:30:15 +13:00
Benjamin Berg
8a3aa56523 ci: Update to new FDO template 2021-01-08 09:39:44 +13:00
vitorramos
d26e4c1d29 display:Fix null pointer dereference 2021-01-08 09:37:38 +13:00
Marco Trevisan (Treviño)
ced484cdf1 fingerprint-dialog: Don't crash when showing an error during release
We unset the local device early when releasing it, so use the one we
get the callback instead of relying in the private instance that has
been already cleared.
2021-01-08 09:35:03 +13:00
Robert Ancell
33cbb8c545 network: Fix small memory leak 2021-01-08 09:32:18 +13:00
Robert Ancell
5cbc30cc1b printers: Fix string leaks in new printer dialog 2021-01-08 09:31:54 +13:00
Rafael Fontenelle
cb01645e21 Update Brazilian Portuguese translation 2020-12-20 09:40:36 +00:00
Rafael Fontenelle
f6168a33ae Update Brazilian Portuguese translation 2020-12-20 09:37:35 +00:00
Kjartan Maraas
6a62df1603 Update Norwegian Bokmål translation 2020-11-30 13:48:44 +00:00
Robert Ancell
0ae321b67d 3.38.2 2020-11-20 12:42:33 +13:00
Robert Ancell
a8df97dd31 network: Correctly detect when ethernet devices are hotplugged.
Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/995
2020-11-20 12:41:37 +13:00
Robert Ancell
fbe02ebd0e printers: Make printers panel have a smaller minimum width.
Allow the ink-level to overlap with the buttons.
2020-11-20 12:33:34 +13:00
Ian Douglas Scott
e384130132 keyboard: fix gtk_widget_get_can_default assertion error
Occured when showing the "Replace" button.
2020-11-20 12:14:24 +13:00
Robert Ancell
1d0038eb28 ci: Correctly update the submodules on build. 2020-11-20 12:13:57 +13:00
Robert Ancell
57f7989b8d printers: Fix leak of printer name in callbacks.
printer_set_ppd_async and printer_set_ppd_file_async copy the printer name, but
this isn't freed in any cases that use these callback (the string isn't even
used at all).
2020-11-20 12:11:35 +13:00
Philip Withnall
caefbf8a56 wacom: Fix a critical warning if loading a cursor fails
It’s possible for `gdk_cursor_new_for_display()` to return `NULL`. It’s
OK to pass `NULL` to `gdk_window_set_cursor()`, but not OK to then unref
it.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2020-11-20 12:11:01 +13:00
Robert Ancell
f248e7353e applications: Fix NULL hash table being unreffed.
When clicking away from the applications panel you can see:
(gnome-control-center:95304): GLib-CRITICAL **: 09:12:52.941: g_hash_table_unref: assertion 'hash_table != NULL' failed
2020-11-20 12:10:12 +13:00
Tim Sabsch
3e37033fb6 Update German translation 2020-11-17 16:12:18 +00:00
Jens Georg
173f059d99 sharing: Also disable Tracker3
Fixes #1160
2020-10-30 12:23:16 +13:00
Jordi Mas
018a2268d4 Update Catalan translation 2020-10-23 21:15:42 +02:00
Jordi Mas
437ba452e8 Update Catalan translation 2020-10-19 11:28:10 +02:00
Bastien Nocera
64692fdfc4 subprojects: Update libgvc
This update is necessary to add support for recent UCM related changes
in ALSA and PulseAudio.

See https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/merge_requests/10
2020-10-14 21:01:04 +00:00
Benjamin Berg
4a9dcfaee9 user-accounts: Fix free of const string due to incorrect translations
A duplicatend and translated string could be passed to gettext another
time. If that string can be translated, then a static string would be
returned rather than the const one, causing an invalid free.

Fixes: #1149
(cherry picked from commit e80b4b5f58)
2020-10-13 11:36:40 +02:00
Juliano de Souza Camargo
faa4b3b773 Update Portuguese translation 2020-10-12 13:04:08 +00:00
Akarshan Biswas
c079f03d96 Update Bengali (India) translation 2020-10-11 07:11:57 +00:00
Juliano de Souza Camargo
708484f846 Update Portuguese translation 2020-10-07 12:56:54 +00:00
Georges Basile Stavracas Neto
103d507f02 3.38.1 2020-10-03 19:46:06 -03:00
Yosef Or Boczko
3d4cfb22f5 Update Hebrew translation 2020-09-29 00:15:02 +00:00
Yosef Or Boczko
81ad2b160b Update Hebrew translation 2020-09-28 17:53:45 +00:00
Robert Ancell
3da883c365 Revert the g_signal_connect_object changes for PpPPDSelectionDialog
The dialog is not a GObject, so this didn't work. It was converted to a GObject
in master in 26e8f11566.

The reverts part of 4502673b6c
2020-09-25 14:14:11 +00:00
Ian Douglas Scott
fed9b69430 keyboard: Fix behavior of "Replace" when adding custom shortcut
In the shortcut editor, the "Replace" button is shown instead of "Set"
or "Add" when there is a collision. But this executes the same code as
"Set", so when adding a shortcut, it doesn't actually work.
2020-09-25 15:22:43 +12:00
Arne
2cb8709aa1 sound: fix subwoofer slider 2020-09-25 13:56:46 +12:00
Hui Wang
35e15771f0 sound: update the profile list after getting the signal from gvc
In the ubuntu 20.04, we found a regression on HDMI audio. We plug a
HDMI/DP monitor, the output device is the speaker in the output device
combo box, then we select the HDMI from the combo box, the output
device is switched to HDMI audio successfully, but the configuration
box is empty. This will not happen in the ubuntu 18.04, the profile
will show hdmi-stereo in this situation. So I think this is a
regression.

When problem happens, I could see the errors from log:
Gvc:    DEBUG: Matching profile for 'output:analog-stereo' is '(null)'
Gvc:    DEBUG: Matching profile for 'output:analog-stereo' is '(null)'
Gvc:    DEBUG: Matching profile for 'output:analog-stereo' is '(null)'

Through debugging, I found the cc_profile_combo_box_set_device() is
called too early. In the ubuntu 18.04, this function is called after
pulseaudio changes the active_profile, but in the ubuntu 20.04, it is
called ahead of pulseaudio changes the active_profile.

To fix it, add a signal callback function, after pulseaudio changes
the active_profile, this callback function will be called, then call
cc_profile_combo_box_set_device().

Signed-off-by: Hui Wang <hui.wang@canonical.com>
2020-09-25 13:42:39 +12:00
Efstathios Iosifidis
5d42f20af1 Update Greek translation 2020-09-24 20:22:09 +00:00
Cheng-Chia Tseng
f386ca6bcb Update Chinese (Taiwan) translation 2020-09-22 14:57:44 +00:00
Dušan Kazik
32d094b38c Update Slovak translation 2020-09-20 18:36:09 +00:00
Yacine Bouklif
99aa37a624 Add Kabyle translation 2020-09-19 13:56:21 +00:00
Juliano de Souza Camargo
ff34e9234c Update Portuguese translation 2020-09-18 20:12:54 +00:00
Charles Monzat
30078c5981 Update French translation 2020-09-18 14:58:37 +00:00
Juliano de Souza Camargo
a9ee7dc34e Update Portuguese translation 2020-09-17 21:00:27 +00:00
Daniel Rusek
3b2259c316 Update Czech translation 2020-09-16 10:46:53 +00:00
Nathan Follens
2009549d5f Update Dutch translation 2020-09-14 05:54:48 +00:00
Georges Basile Stavracas Neto
d6f3d21454 3.38.0 2020-09-12 13:23:08 -03:00
Georges Basile Stavracas Neto
2e37c9d87c build: Use non-deprecated python module to search for python 2020-09-12 13:22:33 -03:00
Fabio Tomat
0fed1350da Update Friulian translation 2020-09-11 14:59:03 +00:00
Milo Casagrande
0ea0f556d8 Update Italian translation 2020-09-10 08:10:43 +00:00