summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-09-08 14:23:02 +0200
committerinfirit <[email protected]>2015-09-08 14:23:02 +0200
commit9beb2876641d84bdbfd5860dae998d3ac50d386c (patch)
tree50c5819eda3a65e52667f2c4bf8a837966aa8843 /data
parente9d168637f58e924f4f0503d4efa1a05dc3e075a (diff)
downloadmate-screensaver-9beb2876641d84bdbfd5860dae998d3ac50d386c.tar.bz2
mate-screensaver-9beb2876641d84bdbfd5860dae998d3ac50d386c.tar.xz
Rework gsettings schema building
* Bump intltool required version for gsettings support * Extract strings with intltool directly
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am5
-rw-r--r--data/org.mate.screensaver.gschema.xml.in4
2 files changed, 5 insertions, 4 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 70ac481..72f2e91 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -43,14 +43,15 @@ dbussessionservice_DATA = org.mate.ScreenSaver.service
@GSETTINGS_RULES@
@INTLTOOL_XML_NOMERGE_RULE@
-gsettings_SCHEMAS = org.mate.screensaver.gschema.xml
+gsettingsschema_in_files = org.mate.screensaver.gschema.xml.in
+gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml)
migrationdir = $(datadir)/MateConf/gsettings
dist_migration_DATA = org.mate.screensaver.gschema.migrate
EXTRA_DIST = \
- $(gsettings_SCHEMAS).in \
+ $(gsettingsschema_in_files) \
$(desktop_in_files) \
$(directory_in_files) \
$(gtkbuilder_DATA) \
diff --git a/data/org.mate.screensaver.gschema.xml.in b/data/org.mate.screensaver.gschema.xml.in
index 5cdb071..7671144 100644
--- a/data/org.mate.screensaver.gschema.xml.in
+++ b/data/org.mate.screensaver.gschema.xml.in
@@ -1,10 +1,10 @@
-<schemalist>
+<schemalist gettext-domain="@GETTEXT_PACKAGE@">
<enum id="org.mate.screensaver.Mode">
<value nick="blank-only" value="0"/>
<value nick="random" value="1"/>
<value nick="single" value="2"/>
</enum>
- <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.mate.screensaver" path="/org/mate/screensaver/">
+ <schema id="org.mate.screensaver" path="/org/mate/screensaver/">
<key name="idle-activation-enabled" type="b">
<default>true</default>
<summary>Activate when idle</summary>