added interface settings
[psensor.git] / src / psensor.schemas
1 <!-- Copyright (C) 2012 jeanfi@gmail.com                                 -->
2
3 <!-- This program is free software; you can redistribute it and/or       -->
4 <!-- modify it under the terms of the GNU General Public License as      -->
5 <!-- published by the Free Software Foundation; either version 2 of the  -->
6 <!-- License, or (at your option) any later version.                     -->
7
8 <!-- This program is distributed in the hope that it will be useful, but -->
9 <!-- WITHOUT ANY WARRANTY; without even the implied warranty of          -->
10 <!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU   -->
11 <!-- General Public License for more details.                            -->
12
13 <!-- You should have received a copy of the GNU General Public License   -->
14 <!-- along with this program; if not, write to the Free Software         -->
15 <!-- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA       -->
16 <!--  02110-1301 USA                                                     -->
17 <gconfschemafile>
18   <schemalist>
19     <!-- Graph settings -->
20     <schema>
21       <key>/schemas/apps/psensor/graph/alpha_channel_enabled</key>
22       <applyto>/apps/psensor/graph/alpha_channel_enabled</applyto>
23       <owner>psensor</owner>
24       <type>bool</type>
25       <default>false</default>
26       <gettext_domain>psensor</gettext_domain>
27       <locale name="C">
28          <short>Whether the alpha channel is enabled</short>
29          <long>
30            Whether the alpha channel is enabled. Must be enabled for changing
31            the transparency of the background of the graph window.
32          </long>
33       </locale>
34     </schema>
35
36     <schema>
37       <key>/schemas/apps/psensor/graph/background_alpha</key>
38       <applyto>/apps/psensor/graph/background_alpha</applyto>
39       <owner>psensor</owner>
40       <type>float</type>
41       <default>1</default>
42       <gettext_domain>psensor</gettext_domain>
43       <locale name="C">
44          <short>The alpha value of the background of the graph window</short>
45          <long>
46            The alpha value of the background of the graph window. It must
47            be a positive float between 0 and 1. '1' is the maximum opacity.
48          </long>
49       </locale>
50     </schema>
51
52     <schema>
53       <key>/schemas/apps/psensor/graph/background_color</key>
54       <applyto>/apps/psensor/graph/background_color</applyto>
55       <owner>psensor</owner>
56       <type>string</type>
57       <default>#e8f4e8f4a8f5</default>
58       <gettext_domain>psensor</gettext_domain>
59       <locale name="C">
60          <short>The color of the background of the graph canvas</short>
61          <long>
62            The color of the background of the graph canvas as a #rgb
63            representation.
64          </long>
65       </locale>
66     </schema>
67
68     <schema>
69       <key>/schemas/apps/psensor/graph/foreground_color</key>
70       <applyto>/apps/psensor/graph/foreground_color</applyto>
71       <owner>psensor</owner>
72       <type>string</type>
73       <default>#000000000000</default>
74       <gettext_domain>psensor</gettext_domain>
75       <locale name="C">
76          <short>The color of the foreground of the graph canvas</short>
77          <long>
78            The color of the foreground of the graph canvas as a #rgb
79            representation.
80          </long>
81       </locale>
82     </schema>
83
84     <schema>
85       <key>/schemas/apps/psensor/graph/monitoring_duration</key>
86       <applyto>/apps/psensor/graph/monitoring_duration</applyto>
87       <owner>psensor</owner>
88       <type>int</type>
89       <default>10</default>
90       <gettext_domain>psensor</gettext_domain>
91       <locale name="C">
92          <short>The monitoring duration of the graph</short>
93          <long>
94            The monitoring duration of the graph as minutes. It must
95            be greater than 1.
96          </long>
97       </locale>
98     </schema>
99
100     <schema>
101       <key>/schemas/apps/psensor/graph/update_interval</key>
102       <applyto>/apps/psensor/graph/update_interval</applyto>
103       <owner>psensor</owner>
104       <type>int</type>
105       <default>1</default>
106       <gettext_domain>psensor</gettext_domain>
107       <locale name="C">
108          <short>The interval between refreshs of the graph</short>
109          <long>
110            The interval between refreshs of the graph as seconds. It
111            must be greater than 1.
112          </long>
113       </locale>
114     </schema>
115
116     <!-- Inteface settings -->
117
118     <schema>
119       <key>/schemas/apps/psensor/interface/hide_on_startup</key>
120       <applyto>/apps/psensor/interface/hide_on_startup</applyto>
121       <owner>psensor</owner>
122       <type>bool</type>
123       <default>false</default>
124       <gettext_domain>psensor</gettext_domain>
125       <locale name="C">
126          <short>Whether the graph window is hidden on startup</short>
127          <long>
128            Whether the graph window is hidden on startup. The graph
129            will be hidden only if the Ubuntu Application Indicator or
130            status icon support is available.
131          </long>
132       </locale>
133     </schema>    
134
135     <schema>
136       <key>/schemas/apps/psensor/interface/menu_bar_disabled</key>
137       <applyto>/apps/psensor/interface/menu_bar_disabled</applyto>
138       <owner>psensor</owner>
139       <type>bool</type>
140       <default>false</default>
141       <gettext_domain>psensor</gettext_domain>
142       <locale name="C">
143          <short>Whether the menu of the graph window is disabled</short>
144          <long>
145            Whether the menu of the graph window is disabled
146          </long>
147       </locale>
148     </schema>    
149
150     <schema>
151       <key>/schemas/apps/psensor/interface/sensorlist_position</key>
152       <applyto>/apps/psensor/interface/sensorlist_position</applyto>
153       <owner>psensor</owner>
154       <type>int</type>
155       <default>0</default>
156       <gettext_domain>psensor</gettext_domain>
157       <locale name="C">
158          <short>Position of the sensor list in the graph window</short>
159          <long>Position of the sensor list in the graph
160          window. Possible values are 0 (right), 1 (left), 2 (top), 3
161          (bottom).</long>
162       </locale>
163     </schema>
164
165     <schema>
166       <key>/schemas/apps/psensor/interface/unity_launcher_count_disabled</key>
167       <applyto>/apps/psensor/interface/unity_launcher_count_disabled</applyto>
168       <owner>psensor</owner>
169       <type>bool</type>
170       <default>false</default>
171       <gettext_domain>psensor</gettext_domain>
172       <locale name="C">
173         <short>Whether the greatest temperature is displayed in Unity
174         launcher</short>
175         <long>If set to 'true' the greatest temperature will be
176         displayed in the Unity launcher.</long>
177       </locale>
178     </schema>    
179
180     <schema>
181       <key>/schemas/apps/psensor/interface/temperature_unit</key>
182       <applyto>/apps/psensor/interface/temperature_unit</applyto>
183       <owner>psensor</owner>
184       <type>int</type>
185       <default>0</default>
186       <gettext_domain>psensor</gettext_domain>
187       <locale name="C">
188         <short>The displayed temperature unit</short>
189         <long>The displayed temperature unit, '0' for Celcius, '1' for Fahenrenheit.</long>
190       </locale>
191     </schema>    
192
193     <schema>
194       <key>/schemas/apps/psensor/interface/window_decoration_disabled</key>
195       <applyto>/apps/psensor/interface/window_decoration_disabled</applyto>
196       <owner>psensor</owner>
197       <type>int</type>
198       <default>0</default>
199       <gettext_domain>psensor</gettext_domain>
200       <locale name="C">
201         <short>Whether the decoration of the window is disabled</short>
202         <long>Whether the decoration of the window is disabled.</long>
203       </locale>
204     </schema>    
205
206     <schema>
207       <key>/schemas/apps/psensor/interface/window_keep_below_enabled</key>
208       <applyto>/apps/psensor/interface/window_keep_below_enabled</applyto>
209       <owner>psensor</owner>
210       <type>bool</type>
211       <default>false</default>
212       <gettext_domain>psensor</gettext_domain>
213       <locale name="C">
214         <short>Whether the graph window is kept below all other windows</short>
215         <long>Whether the graph window is kept below all other windows.</long>
216       </locale>
217     </schema>    
218
219     <schema>
220       <key>/schemas/apps/psensor/interface/window_restore_enabled</key>
221       <applyto>/apps/psensor/interface/window_restore_enabled</applyto>
222       <owner>psensor</owner>
223       <type>bool</type>
224       <default>false</default>
225       <gettext_domain>psensor</gettext_domain>
226       <locale name="C">
227         <short>Whether the position and size of the graph window are restored</short>
228         <long>Whether the position and size of the graph window are restored</long>
229       </locale>
230     </schema>    
231
232     <schema>
233       <key>/schemas/apps/psensor/interface/window_divider_pos</key>
234       <applyto>/apps/psensor/interface/window_divider_pos</applyto>
235       <owner>psensor</owner>
236       <type>int</type>
237       <gettext_domain>psensor</gettext_domain>
238       <locale name="C">
239         <short>Position of the divider between the graph window and the list of sensors</short>
240         <long>Position of the divider between the graph window and the list of sensors</long>
241       </locale>
242     </schema>    
243
244     <schema>
245       <key>/schemas/apps/psensor/interface/window_w</key>
246       <applyto>/apps/psensor/interface/window_w</applyto>
247       <owner>psensor</owner>
248       <type>int</type>
249       <gettext_domain>psensor</gettext_domain>
250       <locale name="C">
251         <short>Width of the graph window</short>
252         <long>Width of the graph window.</long>
253       </locale>
254     </schema>    
255
256     <schema>
257       <key>/schemas/apps/psensor/interface/window_h</key>
258       <applyto>/apps/psensor/interface/window_h</applyto>
259       <owner>psensor</owner>
260       <type>int</type>
261       <gettext_domain>psensor</gettext_domain>
262       <locale name="C">
263         <short>Height of the graph window</short>
264         <long>Height of the graph window.</long>
265       </locale>
266     </schema>    
267
268     <schema>
269       <key>/schemas/apps/psensor/interface/window_x</key>
270       <applyto>/apps/psensor/interface/window_x</applyto>
271       <owner>psensor</owner>
272       <type>int</type>
273       <gettext_domain>psensor</gettext_domain>
274       <locale name="C">
275         <short>Horizontal position of the graph window</short>
276         <long>Horizontal position of the graph window.</long>
277       </locale>
278     </schema>    
279
280     <schema>
281       <key>/schemas/apps/psensor/interface/window_y</key>
282       <applyto>/apps/psensor/interface/window_y</applyto>
283       <owner>psensor</owner>
284       <type>int</type>
285       <gettext_domain>psensor</gettext_domain>
286       <locale name="C">
287         <short>Vertical position of the graph window</short>
288         <long>Vertical position of the graph window.</long>
289       </locale>
290     </schema>    
291     
292   </schemalist>
293 </gconfschemafile>