Commit graph

21409 commits

Author SHA1 Message Date
Pablo Correa Gómez
92ee00e39b display: Wrap Night Light GtkInfoBar label to fit in narrower screens 2022-05-10 04:37:42 +00:00
Pablo Correa Gómez
42cb548115 common: Wrap CcPermissionInfobar labels to fit in narrower screens 2022-05-10 04:37:42 +00:00
Pablo Correa Gómez
ddfacc6b81 power: Only update ALS state if it has changed
Ambient light sensors can be quite sensitive and the LightLevel
property might be changing very often. That has two undesired
consequences:
* The `als_enabled_state_changed` callback gets constantly called
  due to a change in a property which it does not care about, as
  only `HasAmbientLight` is relevant. Therefore, limit the code
  execution to when something needs to be changed.
* During debugging, the terminal gets spammed with "ALS enabled: on/off"
  messages.
2022-05-10 04:32:12 +00:00
Mohammed Sadiq
1204b91f52 wwan: Use AdwToasts for notifications
AdwToasts replaces the GtkLabel inside revealer for notifications
and this simplifies handling the notifications and the toast-overlay
handles the complexities of when to show/withdraw them, the order
they are displayed, etc.
2022-05-10 04:24:49 +00:00
Mohammed Sadiq
9aff773564 wwan: Strip remote dbus error before it's presented
That's more useful for the users
2022-05-10 04:24:49 +00:00
Mohammed Sadiq
1dccede9a7 wwan: Return "No Error" if error is NULL 2022-05-10 04:24:49 +00:00
Marco Trevisan (Treviño)
adffd7a2df Panels: Update Privacy panels keywords to match specific contents
Ensure we use more specialized keywords for privacy panels, without
repeating the unneeded ones.
2022-05-10 04:18:20 +00:00
Ian Douglas Scott
fbadba1a18 keyboard: Avoid segfault due to no "data" for custom_shortcut_add_row
Ultimately it would be good to get rid of the use of
`g_object_set_data`/`g_object_get_data` here, but this works for now.

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1373.
2022-05-10 04:11:57 +00:00
Sebastian Keller
7b1af9c8ba sound: Update theme directory modification time after bell sound changes
The sound plugin of gnome-settings-daemon which flushes the pulseaudio
sample cache does non-recursive monitoring of the sounds directory. If
the custom theme directory used for switching between bell sounds
already exists due to previous bell sound changes, subsequent changes
within that directory will not be noticed. The old bell sample will thus
remain in the cache until the next session restart. Avoid this problem
by manually updating the modification time of the directory.

The alternative solution of adding recursive monitoring to the sound
plugin would require significantly more complicated code as there is no
support for this in glib itself. Given that sound themes never really
caught on and there is an ongoing discussion of removing support for
them entirely, going with this simple solution seems like the better
choice.

Fixes: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/issues/681
2022-05-10 04:05:44 +00:00
Lukáš Tyrychtr
31d6c7704c Add some missing a11y labels in the keyboard panel 2022-05-10 04:00:40 +00:00
Lukáš Tyrychtr
30b6d51c5a Add labels to the toggles in the lock settings 2022-05-10 03:52:51 +00:00
Felipe Borges
0be875c0b0 background: Order background items alphabetically
Except for the "Default Background" which skips the line and gets
shown first.

Fixes #1716
2022-05-10 03:46:33 +00:00
Lukáš Tyrychtr
f7d0aa7a12 Add missing labels 2022-05-10 03:40:47 +00:00
Lukáš Tyrychtr
f1d5215cdd Add an a11y label to the enable switch 2022-05-10 03:31:04 +00:00
Lukáš Tyrychtr
5329a8f942 Fix indent 2022-05-10 03:25:12 +00:00
Lukáš Tyrychtr
e2c8b7d3a4 A missing label in the camera panel 2022-05-10 03:25:12 +00:00
Lukáš Tyrychtr
91b13f4283 Add a few a11y labels to the switches 2022-05-09 13:33:57 +02:00
Aurimas Černius
faa9a7ace4 Updated Lithuanian translation 2022-05-08 22:03:47 +03:00
Emin Tufan Çetin
6129c1ce00 Update Turkish translation 2022-05-07 06:06:20 +00:00
Quentin PAGÈS
1b1b0fc5de Update Occitan translation
(cherry picked from commit 3481206fa9)
2022-05-05 18:04:08 +00:00
Sebastian Keller
5df1519d7d background: Make sure the size of the light/dark previews is the same
Without homogeneous columns the difference in the size of the light/dark
labels could cause one preview to be larger.

Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1810
2022-05-05 10:13:34 +02:00
Felipe Borges
340ee1dc4a connection-editor: Unparent child widget on dispose
WirelessSecurityWPAEAP is a GtkWidget owned by the CEPage8021xSecurity
widget, which is supposed to "unparent" it on "dispose" (since parents
hold a reference to child widgets). Instead we were calling
g_clear_object on it.

Fixes #1671
2022-05-03 17:45:14 +02:00
Zurab Kargareteli
1abe3c3553 Update Georgian translation 2022-04-28 16:16:06 +00:00
Alexander Shopov
b807f242e6 Update Bulgarian translation
(cherry picked from commit 946919c850)
2022-04-28 12:20:06 +00:00
Danial Behzadi
cea7c82789 Update Persian translation 2022-04-27 09:28:48 +00:00
Danial Behzadi
a556616081 Update Persian translation
(cherry picked from commit 2d263f5ea9)
2022-04-27 09:19:16 +00:00
Robert Ancell
7f77d087f4 sharing: Fix misleading widget name 2022-04-26 21:31:27 +00:00
Anders Jonsson
a89f64dde7 Update Swedish translation 2022-04-26 15:33:18 -03:00
Yuri Chornoivan
b51513e4fa Update Ukrainian translation 2022-04-26 15:23:15 -03:00
Felipe Borges
d8bad3eda1 multitasking: Add some new keywords to desktop file
While searching in the Shell, users might input the keywords "Hot
Corner" and "Workspaces".

Fixes #1784
2022-04-26 15:23:07 -03:00
Michael Catanzaro
62bde81c54 sound: remove dog bark sound theme
You're welcome, internet.
2022-04-26 15:22:05 -03:00
Georges Basile Stavracas Neto
bbe3ae4a91 Switch to 'main' everywhere 2022-04-26 14:43:01 -03:00
Georges Basile Stavracas Neto
0bfb1e8906 Post-branching version bump
Mainline is open for business again
2022-04-26 14:16:07 -03:00
Georges Basile Stavracas Neto
a95f8ec974 Post-release version bump 2022-04-26 14:15:00 -03:00
Georges Basile Stavracas Neto
fdaecc3eac 42.1 2022-04-26 14:04:32 -03:00
Matej Urbančič
fd12b1b3f6 Update Slovenian translation 2022-04-25 19:13:27 +00:00
Danial Behzadi
f048803fb9 Update Persian translation 2022-04-25 13:57:20 +00:00
Marco Ciampa
804cf0b9b9 Update it.po 2022-04-25 13:16:30 +00:00
Zurab Kargareteli
e52fed7b4a Update Georgian translation 2022-04-25 09:17:51 +00:00
Aleksandr Melman
e7cc472ec8 Update Russian translation 2022-04-24 16:36:32 +00:00
Marco Trevisan (Treviño)
f55639cabb display: cleanup monitors list disposition 2022-04-24 12:21:14 +00:00
Marco Trevisan (Treviño)
c6da230052 display: Remove weak references on display disposition
Weak references are added when logical monitors are created, however we
don't remove them when destroying the display.

This means that if a monitor survives to the display finalization
(because may be referenced elsewhere) it will make g-c-c to crash
during its finalization, as that will trigger the weak reference
callback that will try to access to the already-finalized display.
2022-04-24 12:21:14 +00:00
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