Commit graph

19832 commits

Author SHA1 Message Date
Robert Ancell
f42d7cca9a printers: Don't pass PpNewPrinter references around
An internal GTask will hold a reference to it for the duration of the async calls.
2020-09-22 21:23:05 +00:00
Robert Ancell
9d0815bb90 printers: Don't pass PpCups references around
An internal GTask will hold a reference to it for the duration of the async calls.
2020-09-22 21:23:05 +00:00
Robert Ancell
519c390b04 printers: Don't pass PpHost references around
An internal GTask will hold a reference to it for the duration of the async calls.

Correctly unref these objects in finalize.
2020-09-22 21:23:05 +00:00
Robert Ancell
7ebf0f22aa printers: Don't pass PpSamba references around
An internal GTask will hold a reference to it for the duration of the async calls.
2020-09-22 21:23:05 +00:00
Robert Ancell
703d833e2f printers: Don't pass PpPrinter references around
An internal GTask will hold a reference to it for the duration of the async call.
2020-09-22 21:23:05 +00:00
Robert Ancell
e6a05e535e printers: Fix PpPrinter reference leaks
They were not unreferenced in the callback.
2020-09-22 21:23:05 +00:00
Robert Ancell
7c1f84b4d3 printers: Don't pass PpMaintenanceCommand references around
An internal GTask will hold a reference to it for the duration of the async call.
2020-09-22 21:23:05 +00:00
Robert Ancell
5f4599d649 printers: Don't pass GFile references around
An internal GTask will hold a reference to it for the duration of the async call.
2020-09-22 21:23:04 +00:00
Robert Ancell
f3bf0080d7 printers: Don't pass GDBusConnection references around
An internal GTask will hold a reference to it for the duration of the async call.
2020-09-22 21:23:04 +00:00
Robert Ancell
b2c5056031 printers: Use g_autoptr 2020-09-22 21:23:04 +00:00
Robert Ancell
ec23d22ada printers: Use g_clear_object 2020-09-22 21:23:04 +00:00
Cheng-Chia Tseng
02f384c1e8 Update Chinese (Taiwan) translation
(cherry picked from commit f386ca6bcb)
2020-09-22 14:57:59 +00:00
Fabio Tomat
9e31c0b8d4 Update Friulian translation 2020-09-22 08:34:59 +00:00
Gunnar Hjalmarsson
5aee280a29 common: Display locale @modifiers properly
Fixes GNOME/gnome-desktop#50
2020-09-21 13:13:10 +00:00
Dušan Kazik
06ba53c3c1 Update Slovak translation
(cherry picked from commit 32d094b38c)
2020-09-20 18:36:20 +00:00
Yuri Chornoivan
6dd78d38a9 Update Ukrainian translation 2020-09-20 17:52:18 +00:00
Piotr Drąg
aa83ca4bd6 Update POTFILES.in 2020-09-19 10:29:15 +02:00
Juliano de Souza Camargo
47777c3089 Update Portuguese translation
(cherry picked from commit ff34e9234c)
2020-09-18 20:13:05 +00:00
Victor Ibragimov
09e8af1fa5 Update Tajik Translation 2020-09-18 20:55:11 +05:00
Charles Monzat
8ec6fbc365 Update French translation
(cherry picked from commit 30078c5981)
2020-09-18 14:58:49 +00:00
Juliano de Souza Camargo
69bb093985 Update Portuguese translation
(cherry picked from commit a9ee7dc34e)
2020-09-17 21:00:39 +00:00
Bastien Nocera
eb79846c53 network: Fix missing prototype error
gnome-control-center/panels/network/net-device-wifi.c:1179:1: warning: no previous prototype for ‘nm_client_on_permission_change’ [-Wmissing-prototypes]
 1179 | nm_client_on_permission_change (NetDeviceWifi *self) {
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2020-09-16 10:11:48 -03:00
Bastien Nocera
8932e3acaa network: Depend on NetworkManager 1.24
nm_client_on_permission_change() was added in 1.24, so depend
on this version.

Closes: #1120
2020-09-16 10:11:45 -03:00
Daniel Rusek
da872982d4 Update Czech translation 2020-09-16 10:45:56 +00:00
Ian Douglas Scott
ddfd582b72 region: Move preview of format to a widget 2020-09-15 22:19:55 +00:00
Ian Douglas Scott
0dce812e18 region: "move up" and "move down" buttons in input row menu
Implementation borrowed from cc-search-panel-row.c
2020-09-15 21:28:25 +00:00
Ian Douglas Scott
561a6b93dc region: Use popover for input source rows 2020-09-15 21:28:25 +00:00
Hui Wang
9b81e0ee45 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-16 09:10:02 +12:00
Mohammed Sadiq
55ea4cabda datetime: Implement the new time-date editor dialog design 2020-09-15 03:07:41 +00:00
Ian Douglas Scott
c3c5d724bd region: move input source ListBox code into it's own class 2020-09-14 22:07:36 +00:00
Felipe Borges
04211dd548 power: Hide "Suspend & Power Button" section when empty
Fixes #1075
2020-09-14 21:39:34 +00:00
Adrien Plazas
9d69f8ca62 Bump libhandy to 1.0.0
Let's use a stable version.
2020-09-14 21:35:23 +00:00
Ian Douglas Scott
dc02c803c2 keyboard: Move row code to CcKeyboardShortcutRow
This adds a widget called `CcKeyboardShortcutRow`, sub-classing
`GtkListBoxRow`, to handle a shortcut row. This makes the implementation
a bit tidier, rather than handling it all in `CcKeyboardPanel`, and
allows the widgets that compose the row to be laid out in xml.

This is a prerequisite for moving the shortcuts to a new dialog.
2020-09-14 17:19:33 +00:00
Ian Douglas Scott
67cb508802 keyboard: Refactoring of CcKeyboardItem handling of multiple combos
This commit includes all the changes that seem to be necessary for
CcKeyboardItem to be used for dealing with multiple keybindings, without
(yet) changing the user interface to expose this.

The `primary_combo` and `binding` fields of `CcKeyboardItem` are
removed, in favor of the existing `key_combos`. No combination is
"primary", since all of them can now be seen and changed equally.

We treat `CcKeyboardItem.key_combos` as a set, that a combo can be added
to or removed from. Though it continues to be represented as a `GList`,
instead of a `GHashTable`, to preserve ordering.

A lot of the keyboard panel code relied on the assumption that only one
combo can be set for each setting, so this required a variety of
miscellaneous changes.
2020-09-14 17:19:33 +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