1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Generated with glade 3.16.1 -->
4 <requires lib="gtk+" version="3.4"/>
5 <object class="GtkAdjustment" id="alarm_high_threshold_value">
6 <property name="lower">-9999</property>
7 <property name="upper">9999</property>
8 <property name="step_increment">1</property>
9 <property name="page_increment">10</property>
11 <object class="GtkAdjustment" id="alarm_low_threshold_value">
12 <property name="lower">-9999</property>
13 <property name="upper">9999</property>
14 <property name="step_increment">1</property>
15 <property name="page_increment">10</property>
17 <object class="GtkListStore" id="sensors_liststore">
19 <!-- column-name Name -->
20 <column type="gchararray"/>
21 <!-- column-name Sensor -->
22 <column type="gpointer"/>
25 <object class="GtkDialog" id="dialog1">
26 <property name="can_focus">False</property>
27 <property name="border_width">5</property>
28 <property name="title" translatable="yes">Edit Sensor Preferences</property>
29 <property name="modal">True</property>
30 <property name="destroy_with_parent">True</property>
31 <property name="type_hint">dialog</property>
32 <child internal-child="vbox">
33 <object class="GtkBox" id="dialog-vbox1">
34 <property name="visible">True</property>
35 <property name="can_focus">False</property>
36 <property name="orientation">vertical</property>
37 <property name="spacing">2</property>
38 <child internal-child="action_area">
39 <object class="GtkButtonBox" id="dialog-action_area1">
40 <property name="visible">True</property>
41 <property name="can_focus">False</property>
42 <property name="layout_style">end</property>
44 <object class="GtkButton" id="btn_ok">
45 <property name="label">gtk-ok</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_stock">True</property>
52 <property name="expand">False</property>
53 <property name="fill">False</property>
54 <property name="position">0</property>
58 <object class="GtkButton" id="btn_cancel">
59 <property name="label">gtk-cancel</property>
60 <property name="visible">True</property>
61 <property name="can_focus">True</property>
62 <property name="receives_default">True</property>
63 <property name="use_stock">True</property>
66 <property name="expand">False</property>
67 <property name="fill">False</property>
68 <property name="position">1</property>
73 <property name="expand">False</property>
74 <property name="fill">True</property>
75 <property name="pack_type">end</property>
76 <property name="position">0</property>
80 <object class="GtkPaned" id="hpaned1">
81 <property name="visible">True</property>
82 <property name="can_focus">True</property>
84 <object class="GtkTreeView" id="sensors_list">
85 <property name="visible">True</property>
86 <property name="can_focus">True</property>
87 <property name="model">sensors_liststore</property>
88 <property name="headers_clickable">False</property>
89 <property name="reorderable">True</property>
90 <property name="search_column">1</property>
91 <child internal-child="selection">
92 <object class="GtkTreeSelection" id="treeview-selection1"/>
95 <object class="GtkTreeViewColumn" id="sensor_name_col">
96 <property name="title" translatable="yes">Name</property>
98 <object class="GtkCellRendererText" id="cellrenderertext1"/>
100 <attribute name="text">0</attribute>
107 <property name="resize">False</property>
108 <property name="shrink">True</property>
112 <object class="GtkGrid" id="table1">
113 <property name="visible">True</property>
114 <property name="can_focus">False</property>
115 <property name="row_spacing">4</property>
116 <property name="column_spacing">4</property>
118 <object class="GtkEntry" id="sensor_name">
119 <property name="visible">True</property>
120 <property name="can_focus">True</property>
121 <property name="invisible_char">•</property>
122 <property name="primary_icon_activatable">False</property>
123 <property name="secondary_icon_activatable">False</property>
124 <signal name="changed" handler="ui_sensorpref_name_changed_cb" swapped="no"/>
127 <property name="left_attach">1</property>
128 <property name="top_attach">1</property>
129 <property name="width">1</property>
130 <property name="height">1</property>
134 <object class="GtkLabel" id="label4">
135 <property name="visible">True</property>
136 <property name="can_focus">False</property>
137 <property name="xalign">0</property>
138 <property name="yalign">0.49000000953674316</property>
139 <property name="xpad">4</property>
140 <property name="label" translatable="yes">Type:</property>
141 <property name="justify">fill</property>
144 <property name="left_attach">0</property>
145 <property name="top_attach">2</property>
146 <property name="width">1</property>
147 <property name="height">1</property>
151 <object class="GtkLabel" id="sensor_type">
152 <property name="visible">True</property>
153 <property name="can_focus">False</property>
154 <property name="xalign">0</property>
155 <property name="label" translatable="yes">N/A</property>
158 <property name="left_attach">1</property>
159 <property name="top_attach">2</property>
160 <property name="width">1</property>
161 <property name="height">1</property>
165 <object class="GtkLabel" id="label1">
166 <property name="visible">True</property>
167 <property name="can_focus">False</property>
168 <property name="xalign">0</property>
169 <property name="ypad">4</property>
170 <property name="label" translatable="yes">Sensor Information</property>
172 <attribute name="weight" value="bold"/>
176 <property name="left_attach">0</property>
177 <property name="top_attach">0</property>
178 <property name="width">2</property>
179 <property name="height">1</property>
183 <object class="GtkLabel" id="chip_name_label">
184 <property name="visible">True</property>
185 <property name="can_focus">False</property>
186 <property name="xalign">0</property>
187 <property name="xpad">4</property>
188 <property name="label" translatable="yes">Chip:</property>
191 <property name="left_attach">0</property>
192 <property name="top_attach">3</property>
193 <property name="width">1</property>
194 <property name="height">1</property>
198 <object class="GtkLabel" id="chip_name">
199 <property name="visible">True</property>
200 <property name="can_focus">False</property>
201 <property name="xalign">0</property>
202 <property name="label" translatable="yes">N/A</property>
205 <property name="left_attach">1</property>
206 <property name="top_attach">3</property>
207 <property name="width">1</property>
208 <property name="height">1</property>
212 <object class="GtkLabel" id="label3">
213 <property name="visible">True</property>
214 <property name="can_focus">False</property>
215 <property name="xalign">0</property>
216 <property name="xpad">4</property>
217 <property name="label" translatable="yes">Name:</property>
220 <property name="left_attach">0</property>
221 <property name="top_attach">1</property>
222 <property name="width">1</property>
223 <property name="height">1</property>
227 <object class="GtkLabel" id="label2">
228 <property name="visible">True</property>
229 <property name="can_focus">False</property>
230 <property name="xalign">0</property>
231 <property name="xpad">4</property>
232 <property name="label" translatable="yes">Id:</property>
235 <property name="left_attach">0</property>
236 <property name="top_attach">4</property>
237 <property name="width">1</property>
238 <property name="height">1</property>
242 <object class="GtkLabel" id="sensor_id">
243 <property name="visible">True</property>
244 <property name="can_focus">False</property>
245 <property name="margin_top">4</property>
246 <property name="margin_bottom">4</property>
247 <property name="hexpand">True</property>
248 <property name="xalign">0</property>
249 <property name="label" translatable="yes">N/A</property>
252 <property name="left_attach">1</property>
253 <property name="top_attach">4</property>
254 <property name="width">1</property>
255 <property name="height">1</property>
259 <object class="GtkLabel" id="label5">
260 <property name="visible">True</property>
261 <property name="can_focus">False</property>
262 <property name="xalign">0</property>
263 <property name="ypad">4</property>
264 <property name="label" translatable="yes">Graph</property>
266 <attribute name="weight" value="bold"/>
270 <property name="left_attach">0</property>
271 <property name="top_attach">5</property>
272 <property name="width">2</property>
273 <property name="height">1</property>
277 <object class="GtkCheckButton" id="sensor_draw">
278 <property name="label" translatable="yes">Draw sensor curve</property>
279 <property name="visible">True</property>
280 <property name="can_focus">True</property>
281 <property name="receives_default">False</property>
282 <property name="margin_left">4</property>
283 <property name="xalign">0</property>
284 <property name="draw_indicator">True</property>
285 <signal name="toggled" handler="ui_sensorpref_draw_toggled_cb" swapped="no"/>
288 <property name="left_attach">0</property>
289 <property name="top_attach">6</property>
290 <property name="width">2</property>
291 <property name="height">1</property>
295 <object class="GtkLabel" id="label7">
296 <property name="visible">True</property>
297 <property name="can_focus">False</property>
298 <property name="xalign">0</property>
299 <property name="xpad">4</property>
300 <property name="label" translatable="yes">Color:</property>
303 <property name="left_attach">0</property>
304 <property name="top_attach">7</property>
305 <property name="width">1</property>
306 <property name="height">1</property>
310 <object class="GtkColorButton" id="sensor_color">
311 <property name="visible">True</property>
312 <property name="can_focus">True</property>
313 <property name="receives_default">True</property>
314 <property name="halign">start</property>
315 <property name="xalign">0</property>
316 <signal name="color-set" handler="ui_sensorpref_color_set_cb" swapped="no"/>
319 <property name="left_attach">1</property>
320 <property name="top_attach">7</property>
321 <property name="width">1</property>
322 <property name="height">1</property>
326 <object class="GtkLabel" id="label6">
327 <property name="visible">True</property>
328 <property name="can_focus">False</property>
329 <property name="xalign">0</property>
330 <property name="ypad">4</property>
331 <property name="label" translatable="yes">Alarm</property>
333 <attribute name="weight" value="bold"/>
337 <property name="left_attach">0</property>
338 <property name="top_attach">8</property>
339 <property name="width">2</property>
340 <property name="height">1</property>
344 <object class="GtkCheckButton" id="sensor_alarm">
345 <property name="label" translatable="yes">Activate desktop notifications</property>
346 <property name="visible">True</property>
347 <property name="can_focus">True</property>
348 <property name="receives_default">False</property>
349 <property name="margin_left">4</property>
350 <property name="xalign">0</property>
351 <property name="draw_indicator">True</property>
352 <signal name="toggled" handler="ui_sensorpref_alarm_toggled_cb" swapped="no"/>
355 <property name="left_attach">0</property>
356 <property name="top_attach">9</property>
357 <property name="width">2</property>
358 <property name="height">1</property>
362 <object class="GtkLabel" id="alarm_high_threshold_label">
363 <property name="visible">True</property>
364 <property name="can_focus">False</property>
365 <property name="xalign">0.0099999997764825821</property>
366 <property name="xpad">4</property>
367 <property name="label" translatable="yes">High threshold:</property>
370 <property name="left_attach">0</property>
371 <property name="top_attach">10</property>
372 <property name="width">1</property>
373 <property name="height">1</property>
377 <object class="GtkLabel" id="alarm_low_threshold_label">
378 <property name="visible">True</property>
379 <property name="can_focus">False</property>
380 <property name="xalign">0.0099999997764825821</property>
381 <property name="xpad">4</property>
382 <property name="label" translatable="yes">Low threshold:</property>
385 <property name="left_attach">0</property>
386 <property name="top_attach">11</property>
387 <property name="width">1</property>
388 <property name="height">1</property>
392 <object class="GtkLabel" id="indicator_label">
393 <property name="visible">True</property>
394 <property name="can_focus">False</property>
395 <property name="xalign">0</property>
396 <property name="ypad">4</property>
397 <property name="label" translatable="yes">Application Indicator</property>
399 <attribute name="weight" value="bold"/>
403 <property name="left_attach">0</property>
404 <property name="top_attach">12</property>
405 <property name="width">2</property>
406 <property name="height">1</property>
410 <object class="GtkCheckButton" id="indicator_checkbox">
411 <property name="label" translatable="yes">Display sensor in the menu</property>
412 <property name="visible">True</property>
413 <property name="can_focus">True</property>
414 <property name="receives_default">False</property>
415 <property name="margin_left">4</property>
416 <property name="xalign">0</property>
417 <property name="draw_indicator">True</property>
418 <signal name="toggled" handler="ui_sensorpref_appindicator_menu_toggled_cb" swapped="no"/>
421 <property name="left_attach">0</property>
422 <property name="top_attach">13</property>
423 <property name="width">2</property>
424 <property name="height">1</property>
428 <object class="GtkCheckButton" id="indicator_label_checkbox">
429 <property name="label" translatable="yes">Display sensor in the label (experimental)</property>
430 <property name="visible">True</property>
431 <property name="can_focus">False</property>
432 <property name="receives_default">False</property>
433 <property name="margin_left">4</property>
434 <property name="xalign">0</property>
435 <property name="draw_indicator">True</property>
436 <signal name="toggled" handler="ui_sensorpref_appindicator_label_toggled_cb" swapped="no"/>
439 <property name="left_attach">0</property>
440 <property name="top_attach">14</property>
441 <property name="width">2</property>
442 <property name="height">1</property>
446 <object class="GtkBox" id="box1">
447 <property name="visible">True</property>
448 <property name="can_focus">False</property>
450 <object class="GtkSpinButton" id="sensor_alarm_high_threshold">
451 <property name="visible">True</property>
452 <property name="can_focus">True</property>
453 <property name="invisible_char">•</property>
454 <property name="primary_icon_activatable">False</property>
455 <property name="secondary_icon_activatable">False</property>
456 <property name="adjustment">alarm_high_threshold_value</property>
457 <property name="climb_rate">1</property>
458 <property name="snap_to_ticks">True</property>
459 <property name="numeric">True</property>
460 <property name="update_policy">if-valid</property>
461 <signal name="value-changed" handler="ui_sensorpref_alarm_high_threshold_changed_cb" swapped="no"/>
464 <property name="expand">False</property>
465 <property name="fill">True</property>
466 <property name="position">0</property>
470 <object class="GtkLabel" id="sensor_alarm_high_threshold_unit">
471 <property name="visible">True</property>
472 <property name="can_focus">False</property>
473 <property name="valign">start</property>
474 <property name="xalign">0</property>
475 <property name="label" translatable="yes">N/A</property>
478 <property name="expand">True</property>
479 <property name="fill">True</property>
480 <property name="position">1</property>
485 <property name="left_attach">1</property>
486 <property name="top_attach">10</property>
487 <property name="width">1</property>
488 <property name="height">1</property>
492 <object class="GtkBox" id="box20">
493 <property name="visible">True</property>
494 <property name="can_focus">False</property>
496 <object class="GtkSpinButton" id="sensor_alarm_low_threshold">
497 <property name="visible">True</property>
498 <property name="can_focus">True</property>
499 <property name="invisible_char">•</property>
500 <property name="text" translatable="yes">-1</property>
501 <property name="primary_icon_activatable">False</property>
502 <property name="secondary_icon_activatable">False</property>
503 <property name="adjustment">alarm_low_threshold_value</property>
504 <property name="climb_rate">1</property>
505 <property name="snap_to_ticks">True</property>
506 <property name="numeric">True</property>
507 <property name="update_policy">if-valid</property>
508 <property name="value">-1</property>
509 <signal name="value-changed" handler="ui_sensorpref_alarm_low_threshold_changed_cb" swapped="no"/>
512 <property name="expand">False</property>
513 <property name="fill">True</property>
514 <property name="position">0</property>
518 <object class="GtkLabel" id="sensor_alarm_low_threshold_unit">
519 <property name="visible">True</property>
520 <property name="can_focus">False</property>
521 <property name="valign">start</property>
522 <property name="xalign">0</property>
523 <property name="label" translatable="yes">N/A</property>
526 <property name="expand">True</property>
527 <property name="fill">True</property>
528 <property name="position">1</property>
533 <property name="left_attach">1</property>
534 <property name="top_attach">11</property>
535 <property name="width">1</property>
536 <property name="height">1</property>
541 <property name="resize">True</property>
542 <property name="shrink">False</property>
547 <property name="expand">True</property>
548 <property name="fill">True</property>
549 <property name="position">1</property>
555 <action-widget response="-3">btn_ok</action-widget>
556 <action-widget response="0">btn_cancel</action-widget>