Commit graph

18 commits

Author SHA1 Message Date
Jakub Steiner
c7ace33d2d screen lock: install icons
- the build files never included the icon

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1621
2022-03-01 14:36:33 +00:00
Jakub Steiner
13376ecb8b Add individual app icons 2022-01-31 14:08:22 +00:00
Christopher Davis
fdf5841b8e lock: Remove redundant haligns
AdwActionRow handles horizontal alignment for us.
2022-01-24 21:33:47 +00:00
Christopher Davis
847f1ea584 lock: Use AdwComboRow for blank screen delay 2022-01-24 21:33:47 +00:00
Christopher Davis
0c5d3fb50d lock: Use AdwComboRow for screen lock delay 2022-01-24 21:33:47 +00:00
Christopher Davis
848224ea57 lock: Use AdwPreferences{Page,Group} 2022-01-24 21:33:47 +00:00
Georges Basile Stavracas Neto
0ab20af9ba panels: Switch to CcPanel content
Start porting panels to the new panel format. This commit
temporarily makes panels have two titlebar, which will be
fixed soon.
2022-01-20 02:23:42 +00:00
Jan Beich
37b29c32cb meson: drop unused argument for i18n.merge_file()
Ignored in Meson < 0.60.0, deprecated since 0.60.1 and fatal since 0.61.0.

panels/applications/meson.build:10:5: ERROR: Function does not take positional arguments.
panels/background/meson.build:10:5: ERROR: Function does not take positional arguments.
panels/camera/meson.build:10:5: ERROR: Function does not take positional arguments.
[...]
2022-01-07 17:22:43 +00:00
Christopher Davis
897c641549 panels: Replace .view.frame with .boxed-list 2021-12-16 16:32:21 -08:00
Christopher Davis
981a8cea7b panels: Use .boxed-list instead of .content
The `.content` style class is deprecated in favor
of the `.boxed-list` style class, which is named
after the design pattern it's used for.
2021-12-16 12:52:44 -08:00
Georges Basile Stavracas Neto
b965f7cf50 lock: Port to GTK4
This one was even more trivial than the previous one!
2021-12-14 22:34:21 -03:00
Felipe Borges
a932bea7f3 lock: Expand row subtitles to a second line
The HdyActionRow subtitle usually contains a longer description
of the preference/option relative to the widget. Depending on the
language used, the label could get long and unreadable (ellipsized).

https://gitlab.gnome.org/GNOME/libhandy/-/merge_requests/643 added
the "subtitle-lines" property to tackle this specific issue.

Fixes #1358
Fixes #1486
2021-10-06 12:39:00 +02:00
Adrien Plazas
0c71793e7c Stop using the action HdyActionRow child type
It has been dropped and is now the default child type.
2020-07-20 08:04:28 +02:00
Adrien Plazas
f06379e30c Replace HdyColumn by HdyClamp
In libhandy 1, HdyClamp replaces HdyColumn. This stops setting values
when they match HdyClamp's defaults.
2020-07-20 08:04:28 +02:00
Ludovico de Nittis
520ca91fe8 lock: Add USB protection entry
In the screen lock tab we add a "Forbid new USB devices" entry with a
switch to enable or disable said protection.

The actual USB protection is handled by gnome-settings-daemon and
USBGuard.

We use the "Available" property of gnome-settings-daemon to check
if we are able to offer the USB protection (i.e. USBGuard is
installed with the minimum required version ecc..).
If the host doesn't met the requirements we hide the USB
protetion row entirely.

Given the fact that the always on protection benefits are very slim we
decided to give just an on/off switch that by default controls the
"with lock screen" protection level.
2020-05-28 10:01:24 +02:00
prshnt19
b513417f7f lock: Fix typo 2020-05-13 05:04:50 +00:00
Gunnar Hjalmarsson
05f3cb67c4 Make privacy a valid search term to find the Privacy panels 2020-04-06 23:08:22 +00:00
Matthias Clasen
ff1b88dae1 Add a lock panel
This is a broken out version of the privacy panel dialog.
2019-11-07 14:40:07 +13:00