Gschema: Move screensaver keys to io.elementary.desktop (#813)

This commit is contained in:
Daniel Foré 2020-05-25 11:14:52 -07:00 committed by GitHub
parent f110140150
commit 28afa1f9fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 12 deletions

View File

@ -15,7 +15,20 @@
<value nick='grid' value='0'/>
<value nick='natural' value='1'/>
</enum>
<schema path="/io/elementary/desktop/screensaver/" id="io.elementary.desktop.screensaver">
<key type="b" name="lock-on-screen-off">
<default>true</default>
<summary>Automatically lock the screen when the display turns off due to inactivity</summary>
<description></description>
</key>
<key type="b" name="lock-on-suspend">
<default>true</default>
<summary>Automatically lock the screen when the computer suspends</summary>
<description></description>
</key>
</schema>
<schema path="/org/pantheon/desktop/gala/behavior/" id="org.pantheon.desktop.gala.behavior">
<key enum="GalaActionType" name="hotcorner-topleft">
<default>'none'</default>
@ -92,16 +105,6 @@
<summary>Automatically move maximized windows to a new workspace</summary>
<description></description>
</key>
<key type="b" name="lock-on-screen-off">
<default>true</default>
<summary>Automatically lock the screen when the display turns off due to inactivity</summary>
<description></description>
</key>
<key type="b" name="lock-on-suspend">
<default>true</default>
<summary>Automatically lock the screen when the computer suspends</summary>
<description></description>
</key>
</schema>
<schema path="/org/pantheon/desktop/gala/keybindings/" id="org.pantheon.desktop.gala.keybindings">

View File

@ -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;