summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Xianwei <[email protected]>2018-12-06 16:04:37 +0800
committerlukefromdc <[email protected]>2018-12-07 20:37:45 +0000
commit6ca78f07af286c0ca735b605d128c7203039af93 (patch)
tree665d8cc861676e39daafea8a720fe921b81d1a44
parent0be11525b8f0f2336f80c13076dd2fd29b033dca (diff)
downloadmate-desktop-6ca78f07af286c0ca735b605d128c7203039af93.tar.bz2
mate-desktop-6ca78f07af286c0ca735b605d128c7203039af93.tar.xz
schemas: Define schema for a default calculator
Defines a schema that allows users to specify a default calculator application. Default initialized to 'mate-calc'. Signed-off-by: Zhang Xianwei <[email protected]>
-rw-r--r--schemas/Makefile.am1
-rw-r--r--schemas/org.mate.applications-calculator.gschema.xml.in9
2 files changed, 10 insertions, 0 deletions
diff --git a/schemas/Makefile.am b/schemas/Makefile.am
index e6bc689..ac926f8 100644
--- a/schemas/Makefile.am
+++ b/schemas/Makefile.am
@@ -4,6 +4,7 @@ desktop_gschemas_in = \
org.mate.applications-at-mobility.gschema.xml.in \
org.mate.applications-at-visual.gschema.xml.in \
org.mate.applications-browser.gschema.xml.in \
+ org.mate.applications-calculator.gschema.xml.in \
org.mate.applications-office.gschema.xml.in \
org.mate.applications-terminal.gschema.xml.in \
org.mate.background.gschema.xml.in \
diff --git a/schemas/org.mate.applications-calculator.gschema.xml.in b/schemas/org.mate.applications-calculator.gschema.xml.in
new file mode 100644
index 0000000..40966d5
--- /dev/null
+++ b/schemas/org.mate.applications-calculator.gschema.xml.in
@@ -0,0 +1,9 @@
+<schemalist gettext-domain="@GETTEXT_PACKAGE@">
+ <schema id="org.mate.applications-calculator" path="/org/mate/desktop/applications/calculator/">
+ <key name="exec" type="s">
+ <default>'mate-calc'</default>
+ <summary>Calculator application</summary>
+ <description>Calculator program to use when starting applications that require one.</description>
+ </key>
+ </schema>
+</schemalist>