Commit graph

19824 commits

Author SHA1 Message Date
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
Anders Jonsson
118b7c0438 Update Swedish translation 2020-09-09 11:02:37 +00:00
Danial Behzadi
238d26cdcf Update Persian translation 2020-09-08 19:37:07 +00:00
Fabio Tomat
db17ca0d3e Update Friulian translation 2020-09-08 07:42:39 +00:00
Balázs Úr
369df196a3 Update Hungarian translation 2020-09-06 20:44:10 +00:00
Dušan Kazik
094daf28bc Update Slovak translation 2020-09-06 19:24:50 +00:00
Rūdolfs Mazurs
cf5960fb44 Update Latvian translation 2020-09-06 19:20:37 +00:00
Jordi Mas
cdfd1fb320 Update Catalan translation 2020-09-06 19:30:09 +02:00
Alan Mortensen
8d5d246688 Updated Danish translation 2020-09-06 14:39:11 +02:00
Anders Jonsson
b37e721066 Update Swedish translation 2020-09-06 10:00:06 +00:00
Georges Basile Stavracas Neto
fd795a803d 3.37.92 2020-09-05 11:56:44 -03:00
Georges Basile Stavracas Neto
71baf068d9 Disable the canonicalization test
The test needs fixing, and the release needs to happen again.
2020-09-05 11:56:24 -03:00
Carlos Garnacho
6782bc07db display: Hook to PanelOrientationManaged for accelerometer checks
This property gives means for Mutter to determine who is in charge of
display rotation for the built-in panel (us or Mutter). The UI must
reflect this change.

Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1018
2020-09-05 08:03:44 +00:00
Carlos Garnacho
c89f5ca526 display: Add panel-orientation-managed signal to CcDisplayConfig
So we can track changes on this property.
2020-09-05 08:03:44 +00:00
Carlos Garnacho
b91a83c402 display: Add API to get the PanelOrientationManaged DisplayConfig property
This property indicates whether the builtin panel orientation is managed by
an accelerometer, thus shouldn't be managed by the display panel.
2020-09-05 08:03:44 +00:00
Carlos Garnacho
1ae3ebcfb2 display: Use a proxy for org.gnome.Mutter.DisplayConfig
It will be more convenient than a direct DBus call in future commits.
2020-09-05 08:03:44 +00:00
Carlos Garnacho
297906685e wacom: Group pad/stylus devices together with the group name
This will cover the regular case of pads attached to a tablet, but
also the EKR case where the pad is a separate device logically
grouped with a tablet.

https://gitlab.gnome.org/GNOME/gnome-control-center/issues/415
2020-09-04 21:46:19 +00:00
Carlos Garnacho
14da368600 common: Add GsdDevice API to tell whether 2 devices are grouped
This will be used for pad devices, better than the current way of
comparing name strings coming from libwacom.

https://gitlab.gnome.org/GNOME/gnome-control-center/issues/415
2020-09-04 21:46:19 +00:00
Carlos Garnacho
eb14c5a64f wacom: Cater for multiple pads in the CcWacomPage
We don't need to track them much specifically, as we delegate pad
button mapping UI on GNOME Shell. It is however possible to have
tablets with 0 to N pads (upper bound within sanity = 2), so we
must at least reflect that in the "Map Buttons..." button visibility.

This distinction is most important for the combination of EKR plus
Cintiq 27QHD, as this is a pad-less tablet, for which we wouldn't
usually show the "Map buttons..." action.

https://gitlab.gnome.org/GNOME/gnome-control-center/issues/415
2020-09-04 21:46:19 +00:00
Carlos Garnacho
e50f27a96b wacom: Let CcWacomPage track pad devices
This puts stylus/pad tracking on 2 separate levels. The CcWacomPanel
will look for styli, and treat them as "device leaders", adding a
CcWacomPage for them.

The CcWacomPage will then track the related pad, and update the
"Map buttons..." action visibility according to it.

This simplifies tablet page creation (eg. have it completed in one
step), and decouples the device grouping logic from CcWacomPanel,
which will be useful in future commits.
2020-09-04 21:46:19 +00:00