Moved gconf behaviour into get.c. Removed some global variables for resource naming.
[gcalctool.git] / gcalctool.schemas
blobe71609abeabac4ad3fe8d8c2cd0989a95a3e7335
1 <gconfschemafile>
3 <!-- 
4 Note: all double hyphens in this comment have a space in the middle
5 because double hyphen isn't allowed in comments. So, remove the space
6 before use.
8 To install this file type: 
9       gconftool - -install-schema-file gcalctool.schemas 
10 You probably want your "make install" to do this for real applications.
11 Also, you probably want a configure option so people can retarget where the 
12 schema file gets installed. The option should be called - -gconf-config-source=blah
13 To change the gconftool target use the - -config-source=blah option to gconftool.
14 -->
16   <schemalist>
17     <schema>
18       <applyto>/apps/gcalctool/accuracy</applyto>
19       <key>/schemas/apps/gcalctool/accuracy</key>
20       <owner>gcalctool</owner>
21       <type>string</type>
22       <locale name="C">
23         <default>9</default>
24         <short>Accuracy value</short>
25         <long>
26           The number of digits displayed after the numeric point.
27           This value must be in the range 0 to 9.
28         </long>
29       </locale>
30     </schema>
31     <schema>
32       <applyto>/apps/gcalctool/base</applyto>
33       <key>/schemas/apps/gcalctool/base</key>
34       <owner>gcalctool</owner>
35       <type>string</type>
36       <locale name="C">
37         <default>DEC</default>
38         <short>Numeric Base</short>
39         <long>
40           The initial numeric base. Valid values are 
41           BIN (binary)
42           OCT (octal)
43           DEC (decimal)
44           HEX (hexadecimal)
45         </long>
46       </locale>
47     </schema>
48     <schema> 
49       <applyto>/apps/gcalctool/display</applyto> 
50       <key>/schemas/apps/gcalctool/display</key> 
51       <owner>gcalctool</owner> 
52       <type>string</type> 
53       <locale name="C"> 
54         <default>FIX</default> 
55         <short>Display Mode</short> 
56         <long> 
57           The initial display mode. Valid values are
58             ENG (engineering) 
59             FIX (fixed-point)
60             SCI (scientific)
61         </long> 
62       </locale> 
63     </schema>
64     <schema>
65       <applyto>/apps/gcalctool/mode</applyto>
66       <key>/schemas/apps/gcalctool/mode</key>
67       <owner>gcalctool</owner>
68       <type>string</type>
69       <locale name="C"> 
70         <default>BASIC</default>
71         <short>Mode</short>
72         <long> 
73           The initial calculator mode. Valid values are
74             BASIC
75             FINANCIAL
76             LOGICAL 
77             SCIENTIFIC
78         </long>
79       </locale>
80     </schema>
81     <schema>
82       <applyto>/apps/gcalctool/showzeroes</applyto>
83       <key>/schemas/apps/gcalctool/showzeroes</key>
84       <owner>gcalctool</owner>
85       <type>string</type>
86       <locale name="C">
87         <default>false</default>
88         <short>Show Trailing Zeroes</short>
89         <long>
90           Indicates whether any trailing zeroes after the 
91           number point should be shown in the display value.
92         </long>
93       </locale>
94     </schema>
95     <schema> 
96       <applyto>/apps/gcalctool/showhelp</applyto> 
97       <key>/schemas/apps/gcalctool/showhelp</key> 
98       <owner>gcalctool</owner> 
99       <type>string</type> 
100       <locale name="C">  
101         <default>false</default> 
102         <short>Show Help</short> 
103         <long>  
104           Indicates whether tooltip help should be enabled.
105         </long> 
106       </locale> 
107     </schema>
108     <schema>
109       <applyto>/apps/gcalctool/showregisters</applyto>
110       <key>/schemas/apps/gcalctool/showregisters</key>
111       <owner>gcalctool</owner>
112       <type>string</type>
113       <locale name="C">
114         <default>false</default>
115         <short>Show Registers</short>
116         <long>
117           Indicates whether the memory register window is 
118           initially displayed.
119         </long>
120       </locale>
121     </schema>
122     <schema>
123       <applyto>/apps/gcalctool/righthanded</applyto>
124       <key>/schemas/apps/gcalctool/righthanded</key>
125       <owner>gcalctool</owner>
126       <type>string</type>
127       <locale name="C">
128         <default>true</default>
129         <short>Right Handed</short>
130         <long>
131           Indicates whether the calculator is started with a
132           "right-handed" display style.
133         </long>
134       </locale>
135     </schema>
136     <schema> 
137       <applyto>/apps/gcalctool/trigtype</applyto> 
138       <key>/schemas/apps/gcalctool/trigtype</key> 
139       <owner>gcalctool</owner> 
140       <type>string</type> 
141       <locale name="C"> 
142         <default>DEG</default> 
143         <short>Trigonometric type</short> 
144         <long> 
145           The initial trigonometric type. Valid values are
146             DEG (degrees)
147             GRAD (grads)
148             RAD (radians).
149         </long>
150       </locale>
151     </schema>
152     <schema>
153       <applyto>/apps/gcalctool/beep</applyto>
154       <key>/schemas/apps/gcalctool/beep</key>
155       <owner>gcalctool</owner>
156       <type>string</type>
157       <locale name="C">
158         <default>true</default>
159         <short>Beep</short>
160         <long>
161           Indicates whether a beep should sound in the
162           event of an error (such as invalid input, or
163           if the display needs to be cleared).
164         </long>
165       </locale>
166     </schema>
167   </schemalist>
168 </gconfschemafile>