summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/org.mate.screensaver.gschema.xml.in5
-rw-r--r--src/gs-lock-plug.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/data/org.mate.screensaver.gschema.xml.in b/data/org.mate.screensaver.gschema.xml.in
index bafc579..6ff9ec1 100644
--- a/data/org.mate.screensaver.gschema.xml.in
+++ b/data/org.mate.screensaver.gschema.xml.in
@@ -75,6 +75,11 @@
<summary>Allow user switching</summary>
<description>Set this to TRUE to offer an option in the unlock dialog to switch to a different user account.</description>
</key>
+ <key name="lock-dialog-theme" type="s">
+ <default>default</default>
+ <summary>Theme for lock dialog</summary>
+ <description>Theme to use for the lock dialog</description>
+ </key>
<key name="status-message-enabled" type="b">
<default>true</default>
<summary>Allow the session status message to be displayed</summary>
diff --git a/src/gs-lock-plug.c b/src/gs-lock-plug.c
index 554d257..bad85ac 100644
--- a/src/gs-lock-plug.c
+++ b/src/gs-lock-plug.c
@@ -51,9 +51,9 @@
#include "gs-debug.h"
-#define GSETTINGS_SCHEMA "org.mate.ScreenSaver"
+#define GSETTINGS_SCHEMA "org.mate.screensaver"
-#define KEY_LOCK_DIALOG_THEME "/apps/mate-screensaver/lock_dialog_theme"
+#define KEY_LOCK_DIALOG_THEME "lock-dialog-theme"
#define MDM_FLEXISERVER_COMMAND "mdmflexiserver"
#define MDM_FLEXISERVER_ARGS "--startnew Standard"