Skip to content

Commit 6ca78f0

Browse files
zhangxianwei8lukefromdc
authored andcommitted
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]>
1 parent 0be1152 commit 6ca78f0

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

‎schemas/Makefile.am‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ desktop_gschemas_in = \
44
org.mate.applications-at-mobility.gschema.xml.in \
55
org.mate.applications-at-visual.gschema.xml.in \
66
org.mate.applications-browser.gschema.xml.in \
7+
org.mate.applications-calculator.gschema.xml.in \
78
org.mate.applications-office.gschema.xml.in \
89
org.mate.applications-terminal.gschema.xml.in \
910
org.mate.background.gschema.xml.in \
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<schemalist gettext-domain="@GETTEXT_PACKAGE@">
2+
<schema id="org.mate.applications-calculator" path="/org/mate/desktop/applications/calculator/">
3+
<key name="exec" type="s">
4+
<default>'mate-calc'</default>
5+
<summary>Calculator application</summary>
6+
<description>Calculator program to use when starting applications that require one.</description>
7+
</key>
8+
</schema>
9+
</schemalist>

0 commit comments

Comments
 (0)