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="upper">256</property>
6 <property name="step_increment">1</property>
7 <property name="page_increment">10</property>
9 <object class="GtkDialog" id="dialog1">
10 <property name="can_focus">False</property>
11 <property name="border_width">5</property>
12 <property name="title" translatable="yes">Edit Sensor Preferences</property>
13 <property name="modal">True</property>
14 <property name="destroy_with_parent">True</property>
15 <property name="type_hint">dialog</property>
16 <child internal-child="vbox">
17 <object class="GtkBox" id="dialog-vbox1">
18 <property name="visible">True</property>
19 <property name="can_focus">False</property>
20 <property name="spacing">2</property>
21 <child internal-child="action_area">
22 <object class="GtkButtonBox" id="dialog-action_area1">
23 <property name="visible">True</property>
24 <property name="can_focus">False</property>
25 <property name="layout_style">end</property>
27 <object class="GtkButton" id="btn_ok">
28 <property name="label">gtk-ok</property>
29 <property name="use_action_appearance">False</property>
30 <property name="visible">True</property>
31 <property name="can_focus">True</property>
32 <property name="receives_default">True</property>
33 <property name="use_action_appearance">False</property>
34 <property name="use_stock">True</property>
37 <property name="expand">False</property>
38 <property name="fill">False</property>
39 <property name="position">0</property>
43 <object class="GtkButton" id="btn_cancel">
44 <property name="label">gtk-cancel</property>
45 <property name="use_action_appearance">False</property>
46 <property name="visible">True</property>
47 <property name="can_focus">True</property>
48 <property name="receives_default">True</property>
49 <property name="use_action_appearance">False</property>
50 <property name="use_stock">True</property>
53 <property name="expand">False</property>
54 <property name="fill">False</property>
55 <property name="position">1</property>
60 <property name="expand">False</property>
61 <property name="fill">True</property>
62 <property name="pack_type">end</property>
63 <property name="position">0</property>
67 <object class="GtkHPaned" id="hpaned1">
68 <property name="visible">True</property>
69 <property name="can_focus">True</property>
71 <object class="GtkTreeView" id="sensors_list">
72 <property name="visible">True</property>
73 <property name="can_focus">True</property>
74 <property name="model">sensors_liststore</property>
75 <child internal-child="selection">
76 <object class="GtkTreeSelection" id="treeview-selection1"/>
80 <property name="resize">False</property>
81 <property name="shrink">True</property>
85 <object class="GtkTable" id="table1">
86 <property name="visible">True</property>
87 <property name="can_focus">False</property>
88 <property name="n_rows">11</property>
89 <property name="n_columns">2</property>
91 <object class="GtkLabel" id="sensor_id">
92 <property name="visible">True</property>
93 <property name="can_focus">False</property>
94 <property name="xalign">0</property>
95 <property name="label" translatable="yes">N/A</property>
98 <property name="left_attach">1</property>
99 <property name="right_attach">2</property>
100 <property name="top_attach">1</property>
101 <property name="bottom_attach">2</property>
102 <property name="x_padding">4</property>
103 <property name="y_padding">4</property>
107 <object class="GtkLabel" id="label3">
108 <property name="visible">True</property>
109 <property name="can_focus">False</property>
110 <property name="xalign">0</property>
111 <property name="xpad">10</property>
112 <property name="label" translatable="yes">Name:</property>
115 <property name="top_attach">3</property>
116 <property name="bottom_attach">4</property>
117 <property name="x_options">GTK_FILL</property>
118 <property name="x_padding">4</property>
119 <property name="y_padding">4</property>
123 <object class="GtkEntry" id="sensor_name">
124 <property name="visible">True</property>
125 <property name="can_focus">True</property>
126 <property name="invisible_char">•</property>
127 <property name="invisible_char_set">True</property>
128 <property name="primary_icon_activatable">False</property>
129 <property name="secondary_icon_activatable">False</property>
132 <property name="left_attach">1</property>
133 <property name="right_attach">2</property>
134 <property name="top_attach">3</property>
135 <property name="bottom_attach">4</property>
136 <property name="x_padding">4</property>
137 <property name="y_padding">4</property>
141 <object class="GtkLabel" id="label4">
142 <property name="visible">True</property>
143 <property name="can_focus">False</property>
144 <property name="xalign">0</property>
145 <property name="label" translatable="yes">Type:</property>
148 <property name="top_attach">2</property>
149 <property name="bottom_attach">3</property>
150 <property name="x_padding">14</property>
151 <property name="y_padding">4</property>
155 <object class="GtkLabel" id="sensor_type">
156 <property name="visible">True</property>
157 <property name="can_focus">False</property>
158 <property name="xalign">0</property>
159 <property name="label" translatable="yes">N/A</property>
162 <property name="left_attach">1</property>
163 <property name="right_attach">2</property>
164 <property name="top_attach">2</property>
165 <property name="bottom_attach">3</property>
166 <property name="x_padding">4</property>
167 <property name="y_padding">4</property>
171 <object class="GtkLabel" id="label2">
172 <property name="visible">True</property>
173 <property name="can_focus">False</property>
174 <property name="xalign">0</property>
175 <property name="label" translatable="yes">Id:</property>
178 <property name="top_attach">1</property>
179 <property name="bottom_attach">2</property>
180 <property name="x_options">GTK_FILL</property>
181 <property name="x_padding">14</property>
182 <property name="y_padding">4</property>
186 <object class="GtkLabel" id="label5">
187 <property name="visible">True</property>
188 <property name="can_focus">False</property>
189 <property name="xalign">0</property>
190 <property name="label" translatable="yes">Graph</property>
192 <attribute name="weight" value="bold"/>
196 <property name="right_attach">2</property>
197 <property name="top_attach">4</property>
198 <property name="bottom_attach">5</property>
199 <property name="x_padding">4</property>
200 <property name="y_padding">4</property>
204 <object class="GtkLabel" id="label7">
205 <property name="visible">True</property>
206 <property name="can_focus">False</property>
207 <property name="xalign">0</property>
208 <property name="label" translatable="yes">Color:</property>
211 <property name="top_attach">6</property>
212 <property name="bottom_attach">7</property>
213 <property name="x_padding">14</property>
214 <property name="y_padding">4</property>
218 <object class="GtkLabel" id="label6">
219 <property name="visible">True</property>
220 <property name="can_focus">False</property>
221 <property name="xalign">0</property>
222 <property name="label" translatable="yes">Alarm</property>
224 <attribute name="weight" value="bold"/>
228 <property name="right_attach">2</property>
229 <property name="top_attach">7</property>
230 <property name="bottom_attach">8</property>
231 <property name="x_padding">4</property>
232 <property name="y_padding">4</property>
236 <object class="GtkCheckButton" id="sensor_alarm">
237 <property name="label" translatable="yes">Activate desktop notifications</property>
238 <property name="use_action_appearance">False</property>
239 <property name="visible">True</property>
240 <property name="can_focus">True</property>
241 <property name="receives_default">False</property>
242 <property name="use_action_appearance">False</property>
243 <property name="draw_indicator">True</property>
246 <property name="right_attach">2</property>
247 <property name="top_attach">8</property>
248 <property name="bottom_attach">9</property>
249 <property name="x_padding">14</property>
250 <property name="y_padding">4</property>
254 <object class="GtkLabel" id="label1">
255 <property name="visible">True</property>
256 <property name="can_focus">False</property>
257 <property name="xalign">0</property>
258 <property name="label" translatable="yes">Sensor Information</property>
260 <attribute name="weight" value="bold"/>
264 <property name="right_attach">2</property>
265 <property name="x_padding">4</property>
266 <property name="y_padding">4</property>
270 <object class="GtkCheckButton" id="sensor_draw">
271 <property name="label" translatable="yes">Draw sensor curve</property>
272 <property name="use_action_appearance">False</property>
273 <property name="visible">True</property>
274 <property name="can_focus">True</property>
275 <property name="receives_default">False</property>
276 <property name="use_action_appearance">False</property>
277 <property name="yalign">0.41999998688697815</property>
278 <property name="draw_indicator">True</property>
281 <property name="right_attach">2</property>
282 <property name="top_attach">5</property>
283 <property name="bottom_attach">6</property>
284 <property name="x_padding">14</property>
285 <property name="y_padding">4</property>
289 <object class="GtkHBox" id="hbox1">
290 <property name="visible">True</property>
291 <property name="can_focus">False</property>
293 <object class="GtkSpinButton" id="sensor_temp_limit">
294 <property name="visible">True</property>
295 <property name="can_focus">True</property>
296 <property name="max_length">2</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_temp_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="alarm_low_thresold">
391 <property name="visible">True</property>
392 <property name="can_focus">True</property>
393 <property name="max_length">2</property>
394 <property name="invisible_char">•</property>
395 <property name="invisible_char_set">True</property>
396 <property name="primary_icon_activatable">False</property>
397 <property name="secondary_icon_activatable">False</property>
398 <property name="adjustment">alarm_low_thresold_value</property>
399 <property name="climb_rate">1</property>
400 <property name="snap_to_ticks">True</property>
401 <property name="numeric">True</property>
402 <property name="update_policy">if-valid</property>
405 <property name="expand">False</property>
406 <property name="fill">True</property>
407 <property name="position">0</property>
411 <object class="GtkLabel" id="alarm_low_thresold_unit">
412 <property name="visible">True</property>
413 <property name="can_focus">False</property>
414 <property name="valign">start</property>
415 <property name="xalign">0</property>
416 <property name="label" translatable="yes">N/A</property>
419 <property name="expand">True</property>
420 <property name="fill">True</property>
421 <property name="position">1</property>
426 <property name="left_attach">1</property>
427 <property name="right_attach">2</property>
428 <property name="top_attach">10</property>
429 <property name="bottom_attach">11</property>
434 <property name="resize">True</property>
435 <property name="shrink">False</property>
440 <property name="expand">True</property>
441 <property name="fill">True</property>
442 <property name="position">1</property>
448 <action-widget response="-3">btn_ok</action-widget>
449 <action-widget response="0">btn_cancel</action-widget>
452 <object class="GtkListStore" id="sensors_liststore">
454 <!-- column-name sensor_name -->
455 <column type="gchararray"/>
458 <object class="GtkAdjustment" id="temp_limit">
459 <property name="upper">256</property>
460 <property name="step_increment">1</property>
461 <property name="page_increment">10</property>