1 <?xml version="1.0" encoding="UTF-8"?>
3 <!-- interface-requires gtk+ 3.0 -->
4 <object class="GtkAdjustment" id="alarm_low_thresold_value">
5 <property name="lower">-255</property>
6 <property name="upper">255</property>
7 <property name="step_increment">1</property>
8 <property name="page_increment">10</property>
10 <object class="GtkDialog" id="dialog1">
11 <property name="can_focus">False</property>
12 <property name="border_width">5</property>
13 <property name="title" translatable="yes">Edit Sensor Preferences</property>
14 <property name="modal">True</property>
15 <property name="destroy_with_parent">True</property>
16 <property name="type_hint">dialog</property>
17 <child internal-child="vbox">
18 <object class="GtkBox" id="dialog-vbox1">
19 <property name="visible">True</property>
20 <property name="can_focus">False</property>
21 <property name="spacing">2</property>
22 <child internal-child="action_area">
23 <object class="GtkButtonBox" id="dialog-action_area1">
24 <property name="visible">True</property>
25 <property name="can_focus">False</property>
26 <property name="layout_style">end</property>
28 <object class="GtkButton" id="btn_ok">
29 <property name="label">gtk-ok</property>
30 <property name="use_action_appearance">False</property>
31 <property name="visible">True</property>
32 <property name="can_focus">True</property>
33 <property name="receives_default">True</property>
34 <property name="use_action_appearance">False</property>
35 <property name="use_stock">True</property>
38 <property name="expand">False</property>
39 <property name="fill">False</property>
40 <property name="position">0</property>
44 <object class="GtkButton" id="btn_cancel">
45 <property name="label">gtk-cancel</property>
46 <property name="use_action_appearance">False</property>
47 <property name="visible">True</property>
48 <property name="can_focus">True</property>
49 <property name="receives_default">True</property>
50 <property name="use_action_appearance">False</property>
51 <property name="use_stock">True</property>
54 <property name="expand">False</property>
55 <property name="fill">False</property>
56 <property name="position">1</property>
61 <property name="expand">False</property>
62 <property name="fill">True</property>
63 <property name="pack_type">end</property>
64 <property name="position">0</property>
68 <object class="GtkHPaned" id="hpaned1">
69 <property name="visible">True</property>
70 <property name="can_focus">True</property>
72 <object class="GtkTreeView" id="sensors_list">
73 <property name="visible">True</property>
74 <property name="can_focus">True</property>
75 <property name="model">sensors_liststore</property>
76 <child internal-child="selection">
77 <object class="GtkTreeSelection" id="treeview-selection1"/>
81 <property name="resize">False</property>
82 <property name="shrink">True</property>
86 <object class="GtkTable" id="table1">
87 <property name="visible">True</property>
88 <property name="can_focus">False</property>
89 <property name="n_rows">11</property>
90 <property name="n_columns">2</property>
92 <object class="GtkLabel" id="sensor_id">
93 <property name="visible">True</property>
94 <property name="can_focus">False</property>
95 <property name="xalign">0</property>
96 <property name="label" translatable="yes">N/A</property>
99 <property name="left_attach">1</property>
100 <property name="right_attach">2</property>
101 <property name="top_attach">1</property>
102 <property name="bottom_attach">2</property>
103 <property name="x_padding">4</property>
104 <property name="y_padding">4</property>
108 <object class="GtkLabel" id="label3">
109 <property name="visible">True</property>
110 <property name="can_focus">False</property>
111 <property name="xalign">0</property>
112 <property name="xpad">10</property>
113 <property name="label" translatable="yes">Name:</property>
116 <property name="top_attach">3</property>
117 <property name="bottom_attach">4</property>
118 <property name="x_options">GTK_FILL</property>
119 <property name="x_padding">4</property>
120 <property name="y_padding">4</property>
124 <object class="GtkEntry" id="sensor_name">
125 <property name="visible">True</property>
126 <property name="can_focus">True</property>
127 <property name="invisible_char">•</property>
128 <property name="invisible_char_set">True</property>
129 <property name="primary_icon_activatable">False</property>
130 <property name="secondary_icon_activatable">False</property>
133 <property name="left_attach">1</property>
134 <property name="right_attach">2</property>
135 <property name="top_attach">3</property>
136 <property name="bottom_attach">4</property>
137 <property name="x_padding">4</property>
138 <property name="y_padding">4</property>
142 <object class="GtkLabel" id="label4">
143 <property name="visible">True</property>
144 <property name="can_focus">False</property>
145 <property name="xalign">0</property>
146 <property name="label" translatable="yes">Type:</property>
149 <property name="top_attach">2</property>
150 <property name="bottom_attach">3</property>
151 <property name="x_padding">14</property>
152 <property name="y_padding">4</property>
156 <object class="GtkLabel" id="sensor_type">
157 <property name="visible">True</property>
158 <property name="can_focus">False</property>
159 <property name="xalign">0</property>
160 <property name="label" translatable="yes">N/A</property>
163 <property name="left_attach">1</property>
164 <property name="right_attach">2</property>
165 <property name="top_attach">2</property>
166 <property name="bottom_attach">3</property>
167 <property name="x_padding">4</property>
168 <property name="y_padding">4</property>
172 <object class="GtkLabel" id="label2">
173 <property name="visible">True</property>
174 <property name="can_focus">False</property>
175 <property name="xalign">0</property>
176 <property name="label" translatable="yes">Id:</property>
179 <property name="top_attach">1</property>
180 <property name="bottom_attach">2</property>
181 <property name="x_options">GTK_FILL</property>
182 <property name="x_padding">14</property>
183 <property name="y_padding">4</property>
187 <object class="GtkLabel" id="label5">
188 <property name="visible">True</property>
189 <property name="can_focus">False</property>
190 <property name="xalign">0</property>
191 <property name="label" translatable="yes">Graph</property>
193 <attribute name="weight" value="bold"/>
197 <property name="right_attach">2</property>
198 <property name="top_attach">4</property>
199 <property name="bottom_attach">5</property>
200 <property name="x_padding">4</property>
201 <property name="y_padding">4</property>
205 <object class="GtkLabel" id="label7">
206 <property name="visible">True</property>
207 <property name="can_focus">False</property>
208 <property name="xalign">0</property>
209 <property name="label" translatable="yes">Color:</property>
212 <property name="top_attach">6</property>
213 <property name="bottom_attach">7</property>
214 <property name="x_padding">14</property>
215 <property name="y_padding">4</property>
219 <object class="GtkLabel" id="label6">
220 <property name="visible">True</property>
221 <property name="can_focus">False</property>
222 <property name="xalign">0</property>
223 <property name="label" translatable="yes">Alarm</property>
225 <attribute name="weight" value="bold"/>
229 <property name="right_attach">2</property>
230 <property name="top_attach">7</property>
231 <property name="bottom_attach">8</property>
232 <property name="x_padding">4</property>
233 <property name="y_padding">4</property>
237 <object class="GtkCheckButton" id="sensor_alarm">
238 <property name="label" translatable="yes">Activate desktop notifications</property>
239 <property name="use_action_appearance">False</property>
240 <property name="visible">True</property>
241 <property name="can_focus">True</property>
242 <property name="receives_default">False</property>
243 <property name="use_action_appearance">False</property>
244 <property name="draw_indicator">True</property>
247 <property name="right_attach">2</property>
248 <property name="top_attach">8</property>
249 <property name="bottom_attach">9</property>
250 <property name="x_padding">14</property>
251 <property name="y_padding">4</property>
255 <object class="GtkLabel" id="label1">
256 <property name="visible">True</property>
257 <property name="can_focus">False</property>
258 <property name="xalign">0</property>
259 <property name="label" translatable="yes">Sensor Information</property>
261 <attribute name="weight" value="bold"/>
265 <property name="right_attach">2</property>
266 <property name="x_padding">4</property>
267 <property name="y_padding">4</property>
271 <object class="GtkCheckButton" id="sensor_draw">
272 <property name="label" translatable="yes">Draw sensor curve</property>
273 <property name="use_action_appearance">False</property>
274 <property name="visible">True</property>
275 <property name="can_focus">True</property>
276 <property name="receives_default">False</property>
277 <property name="use_action_appearance">False</property>
278 <property name="yalign">0.41999998688697815</property>
279 <property name="draw_indicator">True</property>
282 <property name="right_attach">2</property>
283 <property name="top_attach">5</property>
284 <property name="bottom_attach">6</property>
285 <property name="x_padding">14</property>
286 <property name="y_padding">4</property>
290 <object class="GtkHBox" id="hbox1">
291 <property name="visible">True</property>
292 <property name="can_focus">False</property>
294 <object class="GtkSpinButton" id="sensor_alarm_high_thresold">
295 <property name="visible">True</property>
296 <property name="can_focus">True</property>
297 <property name="invisible_char">•</property>
298 <property name="invisible_char_set">True</property>
299 <property name="primary_icon_activatable">False</property>
300 <property name="secondary_icon_activatable">False</property>
301 <property name="adjustment">temp_limit</property>
302 <property name="climb_rate">1</property>
303 <property name="snap_to_ticks">True</property>
304 <property name="numeric">True</property>
305 <property name="update_policy">if-valid</property>
308 <property name="expand">False</property>
309 <property name="fill">True</property>
310 <property name="position">0</property>
314 <object class="GtkLabel" id="sensor_alarm_high_thresold_unit">
315 <property name="visible">True</property>
316 <property name="can_focus">False</property>
317 <property name="valign">start</property>
318 <property name="xalign">0</property>
319 <property name="label" translatable="yes">N/A</property>
322 <property name="expand">True</property>
323 <property name="fill">True</property>
324 <property name="position">1</property>
329 <property name="left_attach">1</property>
330 <property name="right_attach">2</property>
331 <property name="top_attach">9</property>
332 <property name="bottom_attach">10</property>
336 <object class="GtkColorButton" id="sensor_color">
337 <property name="use_action_appearance">False</property>
338 <property name="visible">True</property>
339 <property name="can_focus">True</property>
340 <property name="receives_default">True</property>
341 <property name="use_action_appearance">False</property>
342 <property name="xalign">0</property>
343 <property name="color">#000000000000</property>
346 <property name="left_attach">1</property>
347 <property name="right_attach">2</property>
348 <property name="top_attach">6</property>
349 <property name="bottom_attach">7</property>
350 <property name="x_options"></property>
351 <property name="x_padding">4</property>
352 <property name="y_padding">4</property>
356 <object class="GtkLabel" id="alarm_high_thresold_label">
357 <property name="visible">True</property>
358 <property name="can_focus">False</property>
359 <property name="xalign">0.0099999997764825821</property>
360 <property name="label" translatable="yes">High thresold:</property>
363 <property name="top_attach">9</property>
364 <property name="bottom_attach">10</property>
365 <property name="x_options">GTK_FILL</property>
366 <property name="x_padding">14</property>
367 <property name="y_padding">4</property>
371 <object class="GtkLabel" id="alarm_low_thresold_label">
372 <property name="visible">True</property>
373 <property name="can_focus">False</property>
374 <property name="xalign">0.0099999997764825821</property>
375 <property name="label" translatable="yes">Low thresold:</property>
378 <property name="top_attach">10</property>
379 <property name="bottom_attach">11</property>
380 <property name="x_options">GTK_FILL</property>
381 <property name="x_padding">14</property>
382 <property name="y_padding">4</property>
386 <object class="GtkHBox" id="alarm_low_thresold_box">
387 <property name="visible">True</property>
388 <property name="can_focus">False</property>
390 <object class="GtkSpinButton" id="sensor_alarm_low_thresold">
391 <property name="visible">True</property>
392 <property name="can_focus">True</property>
393 <property name="invisible_char">•</property>
394 <property name="invisible_char_set">True</property>
395 <property name="primary_icon_activatable">False</property>
396 <property name="secondary_icon_activatable">False</property>
397 <property name="adjustment">alarm_low_thresold_value</property>
398 <property name="climb_rate">1</property>
399 <property name="snap_to_ticks">True</property>
400 <property name="numeric">True</property>
401 <property name="update_policy">if-valid</property>
404 <property name="expand">False</property>
405 <property name="fill">True</property>
406 <property name="position">0</property>
410 <object class="GtkLabel" id="sensor_alarm_low_thresold_unit">
411 <property name="visible">True</property>
412 <property name="can_focus">False</property>
413 <property name="valign">start</property>
414 <property name="xalign">0</property>
415 <property name="label" translatable="yes">N/A</property>
418 <property name="expand">True</property>
419 <property name="fill">True</property>
420 <property name="position">1</property>
425 <property name="left_attach">1</property>
426 <property name="right_attach">2</property>
427 <property name="top_attach">10</property>
428 <property name="bottom_attach">11</property>
433 <property name="resize">True</property>
434 <property name="shrink">False</property>
439 <property name="expand">True</property>
440 <property name="fill">True</property>
441 <property name="position">1</property>
447 <action-widget response="-3">btn_ok</action-widget>
448 <action-widget response="0">btn_cancel</action-widget>
451 <object class="GtkListStore" id="sensors_liststore">
453 <!-- column-name sensor_name -->
454 <column type="gchararray"/>
457 <object class="GtkAdjustment" id="temp_limit">
458 <property name="lower">-255</property>
459 <property name="upper">255</property>
460 <property name="step_increment">1</property>
461 <property name="page_increment">10</property>