summaryrefslogtreecommitdiff
path: root/plugins/time/org.mate.pluma.plugins.time.gschema.xml.in
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/org.mate.pluma.plugins.time.gschema.xml.in
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/org.mate.pluma.plugins.time.gschema.xml.in')
-rw-r--r--plugins/time/org.mate.pluma.plugins.time.gschema.xml.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/plugins/time/org.mate.pluma.plugins.time.gschema.xml.in b/plugins/time/org.mate.pluma.plugins.time.gschema.xml.in
new file mode 100644
index 00000000..b3567e96
--- /dev/null
+++ b/plugins/time/org.mate.pluma.plugins.time.gschema.xml.in
@@ -0,0 +1,23 @@
+<?xml version="1.0"?>
+<schemalist gettext-domain="@GETTEXT_PACKAGE@">
+ <enum id="org.mate.pluma.plugins.time.PromptType">
+ <value nick="prompt-selected-format" value="0"/>
+ <value nick="prompt-custom-format" value="1"/>
+ <value nick="use-selected-format" value="2"/>
+ <value nick="use-custom-format" value="3"/>
+ </enum>
+ <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>
+ </key>
+ <key name="selected-format" type="s">
+ <default>'%c'</default>
+ <summary>Selected format</summary>
+ </key>
+ <key name="custom-format" type="s">
+ <default>'%d/%m/%Y %H:%M:%S'</default>
+ <summary>Custom format</summary>
+ </key>
+ </schema>
+</schemalist>