Commit graph

21217 commits

Author SHA1 Message Date
Hu Jialun
8809dbc565 sharing/remote-desktop: handle gracefully when unable to get username
getlogin() can fail for several reasons as detailed in the man page, and
the current behaviour is a segmentation fault when it fails with NULL,
such as due to an unset loginuid.

* Check return value for error and act accordingly.
* Change to getpwuid(getuid())->pw_name, which is less likely to error.
2022-04-24 12:15:56 +00:00
Jeremy Bicha
414d4537cd sharing: Fix Remote Desktop on switch handling
Previously, we were only checking if the gnome-remote-desktop
user service was running but that service is always running
as of
https://gitlab.gnome.org/GNOME/gnome-remote-desktop/-/commit/7f4ef31fd38

We need to check the gsettings key too.

Closes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1775
2022-04-24 12:10:49 +00:00
Felipe Borges
e8a046765f wacom: Fix typo in UI file property name
Fixes #1777
2022-04-24 12:04:38 +00:00
Zurab Kargareteli
43b6e4a928 Update Georgian translation 2022-04-23 16:56:05 +00:00
Piotr Drąg
2318fdb08c Update Polish translation 2022-04-23 14:41:57 +02:00
Ngọc Quân Trần
f13d8641d7 Update Vietnamese translation 2022-04-23 01:13:43 +00:00
Luming Zh
f120537d78 Update Chinese (China) translation 2022-04-23 00:37:20 +00:00
Felipe Borges
633bf89537 sharing: Use GtkWindowControls to wrap the cert fingerprint dialog
Instead of using a plain "flat" button positioned at the window corner,
let's use GtkWindowControls to wrap the close button and get the
default window control styling and alignment.

Fixes #1737
2022-04-22 12:22:27 +00:00
Goran Vidović
b99a987c63 Update Croatian translation 2022-04-21 17:50:42 +00:00
Emin Tufan Çetin
58a1720109 Update Turkish translation 2022-04-21 07:50:25 +00:00
Jiri Grönroos
15a38273cb Update Finnish translation 2022-04-21 07:15:54 +00:00
Rafael Fontenelle
2b1ff315db Update Brazilian Portuguese translation 2022-04-21 01:24:47 +00:00
Hugo Carvalho
28bc160cff Update Portuguese translation 2022-04-20 22:04:46 +00:00
Jordi Mas
f724267394 Update Catalan translation 2022-04-20 22:01:18 +02:00
Goran Vidović
903854d776 Update Croatian translation 2022-04-20 17:29:03 +00:00
Felipe Borges
c2f89ef7ba wacom: Mark two more strings as translatable
See c5d0437c0f (note_1433556)
2022-04-20 18:09:21 +02:00
Piotr Drąg
9495fea0ef Update Polish translation 2022-04-20 18:03:19 +02:00
Sveinn í Felli
34e4314af7 Update Icelandic translation 2022-04-20 11:33:21 +00:00
Fran Dieguez
ba91ad00dc Update Galician translation 2022-04-20 06:55:31 +00:00
Bastien Nocera
1e1fbd6891 online-accounts: Fix feature switches not doing anything
Make sure to keep a reference to the GoaObject of the account around so
that the GBinding that synchronises each switch widget and the account
properties don't get finalized on startup.

 #0  0x00007ffff73c6a20 in g_binding_finalize () at /lib64/libgobject-2.0.so.0
 #1  0x00007ffff73d3d22 in g_object_unref () at /lib64/libgobject-2.0.so.0
 #2  0x00007ffff73c68e8 in weak_unbind () at /lib64/libgobject-2.0.so.0
 #3  0x00007ffff73cf117 in weak_refs_notify () at /lib64/libgobject-2.0.so.0
 #4  0x00007ffff72acd6c in g_data_set_internal () at /lib64/libglib-2.0.so.0
 #5  0x00007ffff73d0195 in g_object_real_dispose.lto_priv () at /lib64/libgobject-2.0.so.0
 #6  0x00007ffff73d3c44 in g_object_unref () at /lib64/libgobject-2.0.so.0
 #7  0x00007ffff72b6793 in g_hash_table_remove_all_nodes.part () at /lib64/libglib-2.0.so.0
 #8  0x00007ffff72ba723 in g_hash_table_unref () at /lib64/libglib-2.0.so.0
 #9  0x00007ffff753403d in g_dbus_object_proxy_finalize () at /lib64/libgio-2.0.so.0
 #10 0x00007ffff73d3d22 in g_object_unref () at /lib64/libgobject-2.0.so.0
 #11 0x0000000000402d08 in glib_autoptr_clear_GoaObject (_ptr=0x5d59f0) at /usr/include/goa-1.0/goa/goa-generated.h:3265
 #12 glib_autoptr_cleanup_GoaObject (_ptr=<synthetic pointer>) at /usr/include/goa-1.0/goa/goa-generated.h:3265
 #13 on_application_activate_show_account_cb (application=0x49f2f0, argv=<optimized out>) at ../../../../Projects/jhbuild/gnome-control-center/panels/online-accounts/gnome-control-center-goa-helper.c:360

Closes: #1721
2022-04-19 23:19:54 +02:00
Alexandre Franke
37b70a230f Update French translation 2022-04-19 20:57:09 +00:00
Alan Mortensen
9277e7573a Update Danish translation 2022-04-19 17:59:02 +00:00
Anders Jonsson
5ec3417a2d Update Swedish translation 2022-04-19 17:48:25 +00:00
Yuri Chornoivan
2896754417 Update Ukrainian translation 2022-04-19 17:15:43 +00:00
oscfdezdz
c5d0437c0f wacom: mark some strings as translatable
Some UI strings were not marked as translatable when the panel was ported to GTK4.
2022-04-19 16:46:59 +00:00
koko ng
322bddd971 user-accounts: Close password change dialog
Fixes #1746
2022-04-19 15:08:49 +00:00
Hugo Carvalho
51faf7090e Update Portuguese translation 2022-04-16 16:46:52 +00:00
Georges Basile Stavracas Neto
e5a49dcf7b display: Return to main page after applying changes
After applying a change, it is useful to see the new state of the
monitors, so move back to the 'displays' page after applying.
2022-04-16 11:47:11 +00:00
Georges Basile Stavracas Neto
214dc277b5 display: Don't render background on selected monitors
In the previous design of this panel, it made sense to show the
currently selected monitor because all editing widgets were in
the same page. With the new design, however, the monitor options
were moved to a separate page, and that page already shows which
monitor is being edited.

Remove the colored background of selected monitors.
2022-04-16 11:47:11 +00:00
Georges Basile Stavracas Neto
ced1386fcd display: Update header title when setting output
Instead of updating the titlebar of the monitor preferences page in
the row clicked callback, update it in set_current_output(). This
ensures that the title of the page is always in sync with the monitor
it's displaying.
2022-04-16 11:47:11 +00:00
Changwoo Ryu
3ffaed73a0 Update Korean translation 2022-04-15 19:28:30 +00:00
Simon McVittie
d27d3df268 appdata: Correct name of launchable
Fixes: acd59aec "Rename app-id to org.gnome.Settings"
Resolves: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1766
Signed-off-by: Simon McVittie <smcv@debian.org>
2022-04-15 10:50:05 +00:00
Bruce Cowan
4491e3d790 Update British English translation 2022-04-14 20:35:03 +00:00
Gun Chleoc
88277534a5 Update Scottish Gaelic translation 2022-04-12 12:11:16 +00:00
Jordi Mas
27b7832931 Update Catalan translation 2022-04-10 21:52:32 +02:00
Piotr Drąg
93cfdd464c Update Polish translation 2022-04-10 12:41:50 +02:00
Aleksandr Melman
37ceaa25f7 Update Russian translation 2022-04-09 15:32:14 +00:00
Alexander Shopov
862ceacc73 Update Bulgarian translation 2022-04-09 08:01:45 +00:00
Sebastian Keller
b213fdc28a lock: Fix wrong time shown in screen lock delay dropdown
The time shown for the 5 minutes setting was 3 minutes.
2022-04-07 11:36:40 +00:00
Brandon Nielsen
7c5beecc97 printers: Use a GtkDropDown in PpOptionsDialog
PpPpdOptionWidget and PpIppOptionWidget both use combo boxes for
certain types of selections. With GTK4, combo boxes no longer
support scrolling[0], which in turn causes problems setting some
things in the PpOptionsDialog[1].

This replaces instances of GtkComboBox with GtkDropDown which do
support scrolling. This change was applied to both PpIppOptionWidget
and PpPpdOptionWidget as both are used in PpOptions dialog.

Since the configuration values passed to CUPS can no longer be stored
in a GtkTreeModel alongside the displayed values, some logic changes
to update_widget_real in PpPpdOptionWidget to maintain the reference
to the ppd_option_t so the selected index can be mapped to the
configuration value.

[0] - https://gitlab.gnome.org/GNOME/gtk/-/issues/3674
[1] - https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1704
2022-04-05 11:52:00 -03:00
Ngọc Quân Trần
7c6a41f807 Update Vietnamese translation 2022-04-05 09:18:20 +00:00
Jordi Mas
31338d4885 Update Catalan translation 2022-04-03 21:27:48 +02:00
Yuri Chornoivan
8ecdee3412 Update Ukrainian translation 2022-04-03 09:15:30 +00:00
Daniel Rusek
2b6b58f29d Update Czech translation 2022-03-31 14:29:50 +00:00
Rūdolfs Mazurs
746ea1138a Update Latvian translation 2022-03-29 20:34:56 +00:00
Jakub Steiner
d57446699c Universal Access: don't depend on gnome-icon-theme-extra
Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1713
2022-03-29 15:10:56 +00:00
Georges Basile Stavracas Neto
f42868e616 CI: Fix custom deps script 2022-03-29 11:07:53 -03:00
Georges Basile Stavracas Neto
6898ff58d2 CI: Build libgweather with soup2
It'll bite us in the future, but let's go with this for now.
2022-03-29 10:47:42 -03:00
Georges Basile Stavracas Neto
dd2adb77ec CI: Cleanup gcr-devel from jobs
gcr-devel is installed as part of the base image, we don't need to
install it on every job run.
2022-03-29 10:38:53 -03:00
Gustavo Noronha Silva
de27ec8ba2 flatpak: update and fix openldap build
openldap was failing to build on aarch64 due to an outdated
config.guess, so update it to a more recent version.
2022-03-29 12:47:49 +00:00