diff --git a/data/gala.gschema.xml b/data/gala.gschema.xml index 2ea9bd9a..e819012f 100644 --- a/data/gala.gschema.xml +++ b/data/gala.gschema.xml @@ -15,7 +15,20 @@ - + + + + true + Automatically lock the screen when the display turns off due to inactivity + + + + true + Automatically lock the screen when the computer suspends + + + + 'none' @@ -92,16 +105,6 @@ Automatically move maximized windows to a new workspace - - true - Automatically lock the screen when the display turns off due to inactivity - - - - true - Automatically lock the screen when the computer suspends - - diff --git a/src/Widgets/ScreenShield.vala b/src/Widgets/ScreenShield.vala index 8be2ca13..e35ce42d 100644 --- a/src/Widgets/ScreenShield.vala +++ b/src/Widgets/ScreenShield.vala @@ -111,7 +111,7 @@ namespace Gala { construct { lockdown_settings = new GLib.Settings ("org.gnome.desktop.lockdown"); - gala_settings = new GLib.Settings (Config.SCHEMA + ".behavior"); + gala_settings = new GLib.Settings ("io.elementary.desktop.screensaver"); visible = false; reactive = true;