Skip to content

Commit

Permalink
schemas: Define schema for a default calculator
Browse files Browse the repository at this point in the history
Defines a schema that allows users to specify a default calculator application.
Default initialized to 'mate-calc'.

Signed-off-by: Zhang Xianwei <zhang.xianwei8@zte.com.cn>
  • Loading branch information
zhangxianwei8 authored and lukefromdc committed Dec 7, 2018
1 parent 0be1152 commit 6ca78f0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions schemas/Makefile.am
Expand Up @@ -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 \
Expand Down
9 changes: 9 additions & 0 deletions 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>

0 comments on commit 6ca78f0

Please sign in to comment.