summaryrefslogtreecommitdiff
path: root/plugins/time
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-09-08 17:19:30 +0200
committerinfirit <[email protected]>2015-09-08 17:19:30 +0200
commitca8ca6923e74bb307bfe6c99c691399987eda7ed (patch)
tree81443d808378577ab19fe39beda57755788ecd3f /plugins/time
parent3d9e640cc4221a43d214951da5cbdc43c4f55662 (diff)
downloadpluma-ca8ca6923e74bb307bfe6c99c691399987eda7ed.tar.bz2
pluma-ca8ca6923e74bb307bfe6c99c691399987eda7ed.tar.xz
Rework gsettings schema building
* Bump intltool required version for gsettings support * Extract strings with intltool directly * Let autoconf generate the xml files
Diffstat (limited to 'plugins/time')
-rwxr-xr-xplugins/time/Makefile.am8
-rw-r--r--plugins/time/org.mate.pluma.plugins.time.gschema.xml.in (renamed from plugins/time/org.mate.pluma.plugins.time.gschema.xml.in.in)6
2 files changed, 6 insertions, 8 deletions
diff --git a/plugins/time/Makefile.am b/plugins/time/Makefile.am
index 0c270b8a..d1f8fe3b 100755
--- a/plugins/time/Makefile.am
+++ b/plugins/time/Makefile.am
@@ -28,13 +28,11 @@ plugin_in_files = time.pluma-plugin.desktop.in
plugin_DATA = $(plugin_in_files:.pluma-plugin.desktop.in=.pluma-plugin)
@INTLTOOL_XML_NOMERGE_RULE@
-gsettings_SCHEMAS = org.mate.pluma.plugins.time.gschema.xml
+time_gschema_in = org.mate.pluma.plugins.time.gschema.xml.in
+gsettings_SCHEMAS = $(time_gschema_in:.xml.in=.xml)
@GSETTINGS_RULES@
-%.gschema.xml.in: %.gschema.xml.in.in Makefile
- $(AM_V_GEN) $(SED) -e 's^\@GETTEXT_PACKAGE\@^$(GETTEXT_PACKAGE)^g' < $< > $@
-
-EXTRA_DIST = $(ui_DATA) $(plugin_in_files) $(gsettings_SCHEMAS).in.in
+EXTRA_DIST = $(ui_DATA) $(plugin_in_files) $(time_gschema_in)
CLEANFILES = $(plugin_DATA) $(gsettings_SCHEMAS_in) $(gsettings_SCHEMASn)
DISTCLEANFILES = $(plugin_DATA) $(gsettings_SCHEMAS_in) $(gsettings_SCHEMAS)
diff --git a/plugins/time/org.mate.pluma.plugins.time.gschema.xml.in.in b/plugins/time/org.mate.pluma.plugins.time.gschema.xml.in
index d294cfec..b3567e96 100644
--- a/plugins/time/org.mate.pluma.plugins.time.gschema.xml.in.in
+++ b/plugins/time/org.mate.pluma.plugins.time.gschema.xml.in
@@ -9,15 +9,15 @@
<schema id="org.mate.pluma.plugins.time" path="/org/mate/pluma/plugins/time/">
<key name="prompt-type" enum="org.mate.pluma.plugins.time.PromptType">
<default>'prompt-selected-format'</default>
- <_summary>Prompt type</_summary>
+ <summary>Prompt type</summary>
</key>
<key name="selected-format" type="s">
<default>'%c'</default>
- <_summary>Selected format</_summary>
+ <summary>Selected format</summary>
</key>
<key name="custom-format" type="s">
<default>'%d/%m/%Y %H:%M:%S'</default>
- <_summary>Custom format</_summary>
+ <summary>Custom format</summary>
</key>
</schema>
</schemalist>