summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-11-03 12:06:08 +0100
committerStefano Karapetsas <[email protected]>2012-11-03 12:06:08 +0100
commit152d09c4e586aa2417ea6e25b0dac278d3a113f3 (patch)
treeca6306016a207cd6946a2131d9a2c0d662de58f6
parent2256a902e87b28697407c304bcb96ab1aeb3f669 (diff)
downloadmate-screensaver-152d09c4e586aa2417ea6e25b0dac278d3a113f3.tar.bz2
mate-screensaver-152d09c4e586aa2417ea6e25b0dac278d3a113f3.tar.xz
add missing lock-dialog-theme key in gschema
-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"