Commit graph

19465 commits

Author SHA1 Message Date
Robert Ancell
df71952112 keyboard: Remove markup from translatable strings 2020-01-06 16:57:43 +00:00
Robert Ancell
d2e96ff90f online-accounts: Remove markup from translatable strings 2020-01-06 16:57:43 +00:00
Robert Ancell
01fea23df1 sharing: Remove markup from translatable strings 2020-01-06 16:57:43 +00:00
Robert Ancell
9ebcd17236 build: Bump build-dependency on polkit
We require the .its files, which were added in Polkit 0.114.

Fixes #491
2020-01-06 15:24:51 +00:00
Georges Basile Stavracas Neto
86a8ecb705 panel-list: Temporarily move the Network panel to below Wi-Fi
This is until we merge the Network, Wi-Fi, and Mobile Broadband
panels.
2020-01-06 15:15:30 +00:00
Georges Basile Stavracas Neto
aa98bf47da panel-list: Move Thunderbolt to the Privacy section 2020-01-06 15:15:30 +00:00
Georges Basile Stavracas Neto
5f640b9903 panel-list: Reorganize Devices section
Move the Power and Sound panel to there.
2020-01-06 15:15:30 +00:00
Georges Basile Stavracas Neto
a99ad542ae panel-list: Remove the Devices subsection
Same case of the Details subsection, it's now part of the
main list.
2020-01-06 15:15:30 +00:00
Georges Basile Stavracas Neto
e7f221e1b9 panel-list: Reorganize panel order 2020-01-06 15:15:30 +00:00
Georges Basile Stavracas Neto
64756d6b08 region, universal-access: Move to the Details section
They need to have their desktop files updated too.
2020-01-06 15:15:30 +00:00
Georges Basile Stavracas Neto
f0d246a8b0 panel-list: Remove Details subsection
As per the latest mockups, the Details section is a toplevel
section, and not an actual subsection.

Remove all the code that implemented Details as a subsection,
and simply treat these panels as toplevel ones.
2020-01-06 15:15:30 +00:00
Felipe Borges
3576133654 user-accounts: Use CcPermissionInfobar to lock/unlock the panel
This moves the GtkLockButton out of the headerbar and starts to
consume the CcPermissionInfobar API to lock/unlock the panel.

See #771
2020-01-06 14:43:11 +00:00
Felipe Borges
5d2a884ac7 common: Introduce "CcPermissionInfobar" widget
The "CcPermissionInfobar" widget is a more descriptive way to
communicate that some Settings panel needs authentication in order
to perform certain actions.

This widget doesn't handle the permissions (as in GPermission)
itself. It needs to be binded to an existing instance of GPermission,
and it will react to the permission's state (show when the current
user is not authorized, and hide when the user is authorized).

This is part of a big set of changes that aim to set a consistent
authentication method accross Settings panels.

See #685, #556, and #771
2020-01-06 14:43:11 +00:00
Jordi Mas
f7ac015d7a Update Catalan translation 2020-01-03 23:11:10 +01:00
Jordi Mas
f358576679 Fix in Spanish translation 2020-01-02 15:59:31 +01:00
Jordi Mas
837ca85da7 Update Catalan translation 2020-01-02 15:59:11 +01:00
Daniel Mustieles
bacb3807a8 Updated Spanish translation 2019-12-30 12:49:12 +01:00
Aurimas Černius
bc86156879 Updated Lithuanian translation 2019-12-28 23:18:09 +02:00
Dz Chen
bc143344ab Update Chinese (China) translation 2019-12-27 08:03:15 +00:00
Fran Dieguez
5503fded10 Update Galician translation 2019-12-25 02:56:41 +00:00
Rafael Fontenelle
090686e59a Update Brazilian Portuguese translation 2019-12-24 21:02:18 +00:00
Umarzuki Bin Mochlis Moktar
17c72aec23 Update Malay translation 2019-12-24 07:04:49 +00:00
Jordi Mas
2873184e0a Update Catalan translation 2019-12-23 20:45:31 +01:00
Felipe Borges
4180e75aad sound: Set audio icon based on volume
The same way that GNOME Shell does it, we set:
 * audio-volume-muted-symbolic when mute button is toggled*
 * audio-volume-low-symbolic when 0 < volume < 30%
 * audio-volume-medium-symbolic when 30% < volume < 70%
 * audio-volume-high-symbolic when 70% < volume <= 100%

When "muted" we can't actually rely on volume (it can be close
to zero but not absolute zero). Instead of requiring volume == 0,
we track the state based on whether the mute button is active.

Fixes #521
2019-12-18 12:00:02 +01:00
Robert Ancell
4c6208dc66 network: Fix memory leaks using g_find_program_in_path
Added in d61d13d
2019-12-18 00:31:54 +00:00
Carlos Garnacho
edd7f97422 wacom: Avoid poking disposed object
A little above in the function, we update the page UI, maybe destroying
the bits that allow decoupling display-attached tablets from their display.
Later on, we unconditionally update its GtkSwitch.

This can't bode well on tablets where the widget was already destroyed.
2019-12-18 00:24:22 +00:00
Robert Ancell
096eefe7b9 applications: Show snap interface controls 2019-12-18 12:29:19 +13:00
Robert Ancell
aa471faa4a applications: Show snap app sizes 2019-12-18 12:29:19 +13:00
Robert Ancell
4ffc990d93 applications: Show portal permissions for snaps 2019-12-18 12:29:18 +13:00
Robert Ancell
fbb31cc1a7 applications: Rename functions as portal permssions are not Flatpak specific 2019-12-18 12:28:31 +13:00
Robert Ancell
6aa5961ef5 applications: Fix builtin-permissions showing when none are set
Shows the placeholder text "Yadda Yadda"
2019-12-18 12:18:34 +13:00
Robert Ancell
be3ced3ff2 applications: Add missing whitespace 2019-12-18 12:18:34 +13:00
Felipe Borges
ca291402bc universal-access: Add "Locate Pointer" option
Since [0] and [1], "locate pointer" is now in Mutter and works
well under Wayland and X11.

Once activated, the mouse pointer can be located on the screen
by pressing the Ctrl key. Pressing Ctrl will cause an animation
to appear briefly at the location of your pointer.

[0] https://gitlab.gnome.org/GNOME/mutter/merge_requests/453
[1] https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/413

Fixes #586
2019-12-17 23:03:31 +00:00
Robert Ancell
0d096f4c52 universal-access: Update visual alert label to match behaviour change in Mutter
Fixes #403
2019-12-17 22:22:57 +00:00
Felipe Borges
5c679301ec search: Invalidate "Search Locations" list when folders can't be found
We store the list of "Search Locations" in a gsetting. When a location
gets added and then removed, the gsetting still stores its path.

These changes verify the existance of a file before loading it in the UI,
and also removes the path from the gsetting when the location can't
be found.

Fixes #812
2019-12-17 22:16:08 +00:00
Felipe Borges
3d18fa23fe meson: Require 0.51.0
The issues initially reported in #343 have been fixed in Meson, and
git tag --contains 5f00c3020073962edbeb2f3f709c27acdb09fd74 in the
Meson code base tells me that the earliest releast to include this
is 0.51.0.

Fedora 30 already shipped 0.51.2 and a few GNOME modules (such as
GNOME Builder) are already using newer versions.

https://github.com/mesonbuild/meson/commit/5f00c302

Closes #343
2019-12-17 22:03:14 +00:00
Robert Ancell
8d704b2a0c ci: Drop libXxf86misc-devel from the CI images
It's not a dependency of G-C-C and there doesn't seem to be a ppc64le package
in Fedora anymore.
2019-12-18 10:18:23 +13:00
Robert Ancell
214ce473b9 build: Bump minimum version of libgudev
We use the autoptr support which was added in version 232

Fixes #490
2019-12-17 03:18:30 +00:00
Robert Ancell
d01a81a140 build: Bump minimum version of GLib.
We are already using g_clear_handle_id, which requires GLib 2.56
2019-12-17 16:09:10 +13:00
Fabio Tomat
49cb34a1f1 Update Friulian translation 2019-12-16 15:47:43 +00:00
Felipe Borges
dadc7cb252 search: Preserve row switch state while dragging
While dragging a row in order to reoder the search list, we create
a fake copy of the row that gets dragged into the position where
the user wants the row to be in. This fake row should have its
switch matching the state of its master copy.

Fixes #810
2019-12-15 21:31:46 +00:00
Carlos Garnacho
2ff526ecfb network: Update VPN empty label status after removing VPN connection
Being the VPN list actually a collection of listboxes, this function
ensures it looks alright in other places. However the case of removing
all VPN connections till we're back empty was missed.
2019-12-12 23:06:45 +01:00
Philip Withnall
9f018a2d62 user-accounts: Use a more specific GtkSettings object
Otherwise we might potentially be using the GtkSettings for the wrong
screen, which might make a difference if one screen has animations
enabled but another doesn’t.

(This is an edge case I spotted while reading the code, but not one that
I’ve experienced practically.)

Signed-off-by: Philip Withnall <withnall@endlessm.com>
2019-12-11 14:23:39 +00:00
Philip Withnall
b2d607df44 user-accounts: Fix carousel arrow location when animations are disabled
When animations are disabled, the @keyframes CSS rule doesn’t work, and
neither does animation-name — so we need to set the margin-left to the
arrow’s final location directly.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
2019-12-11 14:23:36 +00:00
Daniel Mustieles
f529519c28 Updated Spanish translation 2019-12-11 10:24:45 +01:00
Xiaoguang Wang
c6be204af0 user-accounts: Use absolute path of command usermod
On distro openSUSE Tumbleweed and SUSE Linux Enterprise the path
of command usermod is not in environment variable PATH, we need to
use absolute path to find command.
2019-12-11 15:30:33 +08:00
Robert Ancell
36645259fd user-accouts: Don't use page names for CcCarousel
Ultimately the code was just trying to access the nth entry.
2019-12-10 09:54:27 +00:00
Robert Ancell
cb6241f540 user-accounts: Replace GtkStack child names with widget references
The child names are easier to break if widgets are changed - this can't be
detected by the compiler.
2019-12-10 09:54:27 +00:00
Robert Ancell
bf0a757c7f user-accounts: Fix small memory leak 2019-12-10 09:54:27 +00:00
Matthias Clasen
edc4044f84 applications: Add a 'run in background' switch
This is backed by the 'background' permission that
the flatpak portal uses. It would be slightly nicer
if we had a separate 'unset' state. For now, we just
show 'unset' as 'on'.
2019-12-10 03:09:43 +00:00