mirror of
https://github.com/elementary/gala.git
synced 2024-08-16 18:40:27 +03:00
Gschema: Move screensaver keys to io.elementary.desktop (#813)
This commit is contained in:
parent
f110140150
commit
28afa1f9fd
@ -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">
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user