1 <?xml version="1.0" encoding="UTF-8"?>
3 <!-- interface-requires gtk+ 3.0 -->
4 <object class="GtkAdjustment" id="alarm_high_threshold_value">
5 <property name="lower">-9999</property>
6 <property name="upper">9999</property>
7 <property name="step_increment">1</property>
8 <property name="page_increment">10</property>
10 <object class="GtkAdjustment" id="alarm_low_threshold_value">
11 <property name="lower">-9999</property>
12 <property name="upper">9999</property>
13 <property name="step_increment">1</property>
14 <property name="page_increment">10</property>
16 <object class="GtkDialog" id="dialog1">
17 <property name="can_focus">False</property>
18 <property name="border_width">5</property>
19 <property name="title" translatable="yes">Edit Sensor Preferences</property>
20 <property name="modal">True</property>
21 <property name="destroy_with_parent">True</property>
22 <property name="type_hint">dialog</property>
23 <child internal-child="vbox">
24 <object class="GtkBox" id="dialog-vbox1">
25 <property name="visible">True</property>
26 <property name="can_focus">False</property>
27 <property name="orientation">vertical</property>
28 <property name="spacing">2</property>
29 <child internal-child="action_area">
30 <object class="GtkButtonBox" id="dialog-action_area1">
31 <property name="visible">True</property>
32 <property name="can_focus">False</property>
33 <property name="layout_style">end</property>
35 <object class="GtkButton" id="btn_ok">
36 <property name="label">gtk-ok</property>
37 <property name="visible">True</property>
38 <property name="can_focus">True</property>
39 <property name="receives_default">True</property>
40 <property name="use_stock">True</property>
43 <property name="expand">False</property>
44 <property name="fill">False</property>
45 <property name="position">0</property>
49 <object class="GtkButton" id="btn_cancel">
50 <property name="label">gtk-cancel</property>
51 <property name="visible">True</property>
52 <property name="can_focus">True</property>
53 <property name="receives_default">True</property>
54 <property name="use_stock">True</property>
57 <property name="expand">False</property>
58 <property name="fill">False</property>
59 <property name="position">1</property>
64 <property name="expand">False</property>
65 <property name="fill">True</property>
66 <property name="pack_type">end</property>
67 <property name="position">0</property>
71 <object class="GtkHPaned" id="hpaned1">
72 <property name="visible">True</property>
73 <property name="can_focus">True</property>
75 <object class="GtkTreeView" id="sensors_list">
76 <property name="visible">True</property>
77 <property name="can_focus">True</property>
78 <property name="model">sensors_liststore</property>
79 <property name="headers_clickable">False</property>
80 <property name="search_column">1</property>
81 <child internal-child="selection">
82 <object class="GtkTreeSelection" id="treeview-selection1"/>
85 <object class="GtkTreeViewColumn" id="sensor_name_col">
86 <property name="title" translatable="yes">Name</property>
88 <object class="GtkCellRendererText" id="cellrenderertext1"/>
90 <attribute name="text">0</attribute>
97 <property name="resize">False</property>
98 <property name="shrink">True</property>
102 <object class="GtkTable" id="table1">
103 <property name="visible">True</property>
104 <property name="can_focus">False</property>
105 <property name="n_rows">15</property>
106 <property name="n_columns">2</property>
114 <object class="GtkEntry" id="sensor_name">
115 <property name="visible">True</property>
116 <property name="can_focus">True</property>
117 <property name="invisible_char">•</property>
118 <property name="invisible_char_set">True</property>
119 <property name="primary_icon_activatable">False</property>
120 <property name="secondary_icon_activatable">False</property>
123 <property name="left_attach">1</property>
124 <property name="right_attach">2</property>
125 <property name="top_attach">1</property>
126 <property name="bottom_attach">2</property>
127 <property name="x_padding">4</property>
128 <property name="y_padding">4</property>
132 <object class="GtkLabel" id="label4">
133 <property name="visible">True</property>
134 <property name="can_focus">False</property>
135 <property name="xalign">0</property>
136 <property name="yalign">0.49000000953674316</property>
137 <property name="label" translatable="yes">Type:</property>
138 <property name="justify">fill</property>
141 <property name="top_attach">2</property>
142 <property name="bottom_attach">3</property>
143 <property name="x_padding">14</property>
144 <property name="y_padding">4</property>
148 <object class="GtkLabel" id="sensor_type">
149 <property name="visible">True</property>
150 <property name="can_focus">False</property>
151 <property name="xalign">0</property>
152 <property name="label" translatable="yes">N/A</property>
155 <property name="left_attach">1</property>
156 <property name="right_attach">2</property>
157 <property name="top_attach">2</property>
158 <property name="bottom_attach">3</property>
159 <property name="x_padding">4</property>
160 <property name="y_padding">4</property>
164 <object class="GtkLabel" id="label5">
165 <property name="visible">True</property>
166 <property name="can_focus">False</property>
167 <property name="xalign">0</property>
168 <property name="label" translatable="yes">Graph</property>
170 <attribute name="weight" value="bold"/>
174 <property name="right_attach">2</property>
175 <property name="top_attach">6</property>
176 <property name="bottom_attach">7</property>
177 <property name="x_padding">4</property>
178 <property name="y_padding">4</property>
182 <object class="GtkLabel" id="label7">
183 <property name="visible">True</property>
184 <property name="can_focus">False</property>
185 <property name="xalign">0</property>
186 <property name="label" translatable="yes">Color:</property>
189 <property name="top_attach">8</property>
190 <property name="bottom_attach">9</property>
191 <property name="x_padding">14</property>
192 <property name="y_padding">4</property>
196 <object class="GtkLabel" id="label6">
197 <property name="visible">True</property>
198 <property name="can_focus">False</property>
199 <property name="xalign">0</property>
200 <property name="label" translatable="yes">Alarm</property>
202 <attribute name="weight" value="bold"/>
206 <property name="right_attach">2</property>
207 <property name="top_attach">9</property>
208 <property name="bottom_attach">10</property>
209 <property name="x_padding">4</property>
210 <property name="y_padding">4</property>
214 <object class="GtkCheckButton" id="sensor_alarm">
215 <property name="label" translatable="yes">Activate desktop notifications</property>
216 <property name="visible">True</property>
217 <property name="can_focus">True</property>
218 <property name="receives_default">False</property>
219 <property name="xalign">0</property>
220 <property name="draw_indicator">True</property>
223 <property name="right_attach">2</property>
224 <property name="top_attach">10</property>
225 <property name="bottom_attach">11</property>
226 <property name="x_padding">14</property>
227 <property name="y_padding">4</property>
231 <object class="GtkLabel" id="label1">
232 <property name="visible">True</property>
233 <property name="can_focus">False</property>
234 <property name="xalign">0</property>
235 <property name="label" translatable="yes">Sensor Information</property>
237 <attribute name="weight" value="bold"/>
241 <property name="right_attach">2</property>
242 <property name="x_padding">4</property>
243 <property name="y_padding">4</property>
247 <object class="GtkCheckButton" id="sensor_draw">
248 <property name="label" translatable="yes">Draw sensor curve</property>
249 <property name="visible">True</property>
250 <property name="can_focus">True</property>
251 <property name="receives_default">False</property>
252 <property name="xalign">0</property>
253 <property name="draw_indicator">True</property>
256 <property name="right_attach">2</property>
257 <property name="top_attach">7</property>
258 <property name="bottom_attach">8</property>
259 <property name="x_padding">14</property>
260 <property name="y_padding">4</property>
264 <object class="GtkHBox" id="hbox1">
265 <property name="visible">True</property>
266 <property name="can_focus">False</property>
268 <object class="GtkSpinButton" id="sensor_alarm_high_threshold">
269 <property name="visible">True</property>
270 <property name="can_focus">True</property>
271 <property name="invisible_char">•</property>
272 <property name="invisible_char_set">True</property>
273 <property name="primary_icon_activatable">False</property>
274 <property name="secondary_icon_activatable">False</property>
275 <property name="adjustment">alarm_high_threshold_value</property>
276 <property name="climb_rate">1</property>
277 <property name="snap_to_ticks">True</property>
278 <property name="numeric">True</property>
279 <property name="update_policy">if-valid</property>
282 <property name="expand">False</property>
283 <property name="fill">True</property>
284 <property name="position">0</property>
288 <object class="GtkLabel" id="sensor_alarm_high_threshold_unit">
289 <property name="visible">True</property>
290 <property name="can_focus">False</property>
291 <property name="valign">start</property>
292 <property name="xalign">0</property>
293 <property name="label" translatable="yes">N/A</property>
296 <property name="expand">True</property>
297 <property name="fill">True</property>
298 <property name="position">1</property>
303 <property name="left_attach">1</property>
304 <property name="right_attach">2</property>
305 <property name="top_attach">11</property>
306 <property name="bottom_attach">12</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="xalign">0</property>
315 <property name="color">#000000000000</property>
318 <property name="left_attach">1</property>
319 <property name="right_attach">2</property>
320 <property name="top_attach">8</property>
321 <property name="bottom_attach">9</property>
322 <property name="x_options"/>
323 <property name="x_padding">4</property>
324 <property name="y_padding">4</property>
328 <object class="GtkLabel" id="alarm_high_threshold_label">
329 <property name="visible">True</property>
330 <property name="can_focus">False</property>
331 <property name="xalign">0.0099999997764825821</property>
332 <property name="label" translatable="yes">High threshold:</property>
335 <property name="top_attach">11</property>
336 <property name="bottom_attach">12</property>
337 <property name="x_options">GTK_FILL</property>
338 <property name="x_padding">14</property>
339 <property name="y_padding">4</property>
343 <object class="GtkLabel" id="alarm_low_threshold_label">
344 <property name="visible">True</property>
345 <property name="can_focus">False</property>
346 <property name="xalign">0.0099999997764825821</property>
347 <property name="label" translatable="yes">Low threshold:</property>
350 <property name="top_attach">12</property>
351 <property name="bottom_attach">13</property>
352 <property name="x_options">GTK_FILL</property>
353 <property name="x_padding">14</property>
354 <property name="y_padding">4</property>
358 <object class="GtkHBox" id="alarm_low_threshold_box">
359 <property name="visible">True</property>
360 <property name="can_focus">False</property>
362 <object class="GtkSpinButton" id="sensor_alarm_low_threshold">
363 <property name="visible">True</property>
364 <property name="can_focus">True</property>
365 <property name="invisible_char">•</property>
366 <property name="invisible_char_set">True</property>
367 <property name="primary_icon_activatable">False</property>
368 <property name="secondary_icon_activatable">False</property>
369 <property name="adjustment">alarm_low_threshold_value</property>
370 <property name="climb_rate">1</property>
371 <property name="snap_to_ticks">True</property>
372 <property name="numeric">True</property>
373 <property name="update_policy">if-valid</property>
376 <property name="expand">False</property>
377 <property name="fill">True</property>
378 <property name="position">0</property>
382 <object class="GtkLabel" id="sensor_alarm_low_threshold_unit">
383 <property name="visible">True</property>
384 <property name="can_focus">False</property>
385 <property name="valign">start</property>
386 <property name="xalign">0</property>
387 <property name="label" translatable="yes">N/A</property>
390 <property name="expand">True</property>
391 <property name="fill">True</property>
392 <property name="position">1</property>
397 <property name="left_attach">1</property>
398 <property name="right_attach">2</property>
399 <property name="top_attach">12</property>
400 <property name="bottom_attach">13</property>
404 <object class="GtkLabel" id="indicator_label">
405 <property name="visible">True</property>
406 <property name="can_focus">False</property>
407 <property name="xalign">0</property>
408 <property name="label" translatable="yes">Ubuntu Application Indicator</property>
410 <attribute name="weight" value="bold"/>
414 <property name="right_attach">2</property>
415 <property name="top_attach">13</property>
416 <property name="bottom_attach">14</property>
417 <property name="x_padding">4</property>
418 <property name="y_padding">4</property>
422 <object class="GtkCheckButton" id="indicator_checkbox">
423 <property name="label" translatable="yes">Display sensor in the Application Indicator menu</property>
424 <property name="visible">True</property>
425 <property name="can_focus">True</property>
426 <property name="receives_default">False</property>
427 <property name="xalign">0</property>
428 <property name="draw_indicator">True</property>
431 <property name="right_attach">2</property>
432 <property name="top_attach">14</property>
433 <property name="bottom_attach">15</property>
434 <property name="x_padding">14</property>
435 <property name="y_padding">4</property>
439 <object class="GtkLabel" id="chip_name_label">
440 <property name="visible">True</property>
441 <property name="can_focus">False</property>
442 <property name="xalign">0</property>
443 <property name="label" translatable="yes">Chip:</property>
446 <property name="top_attach">3</property>
447 <property name="bottom_attach">4</property>
448 <property name="x_options">GTK_FILL</property>
449 <property name="x_padding">14</property>
450 <property name="y_padding">4</property>
454 <object class="GtkLabel" id="chip_name">
455 <property name="visible">True</property>
456 <property name="can_focus">False</property>
457 <property name="xalign">0</property>
458 <property name="label" translatable="yes">N/A</property>
461 <property name="left_attach">1</property>
462 <property name="right_attach">2</property>
463 <property name="top_attach">3</property>
464 <property name="bottom_attach">4</property>
465 <property name="x_padding">4</property>
466 <property name="y_padding">4</property>
470 <object class="GtkExpander" id="expander1">
471 <property name="visible">True</property>
472 <property name="can_focus">True</property>
474 <object class="GtkGrid" id="grid1">
475 <property name="visible">True</property>
476 <property name="can_focus">False</property>
477 <property name="margin_left">4</property>
478 <property name="margin_right">4</property>
479 <property name="margin_top">4</property>
480 <property name="margin_bottom">4</property>
481 <property name="hexpand">True</property>
482 <property name="vexpand">True</property>
484 <object class="GtkLabel" id="label2">
485 <property name="visible">True</property>
486 <property name="can_focus">False</property>
487 <property name="xalign">0</property>
488 <property name="label" translatable="yes">Id:</property>
491 <property name="left_attach">0</property>
492 <property name="top_attach">0</property>
493 <property name="width">1</property>
494 <property name="height">1</property>
498 <object class="GtkLabel" id="sensor_id">
499 <property name="visible">True</property>
500 <property name="can_focus">False</property>
501 <property name="margin_left">4</property>
502 <property name="margin_right">4</property>
503 <property name="margin_top">4</property>
504 <property name="margin_bottom">4</property>
505 <property name="hexpand">True</property>
506 <property name="xalign">0</property>
507 <property name="label" translatable="yes">N/A</property>
510 <property name="left_attach">1</property>
511 <property name="top_attach">0</property>
512 <property name="width">1</property>
513 <property name="height">1</property>
519 <object class="GtkLabel" id="details_label">
520 <property name="visible">True</property>
521 <property name="can_focus">False</property>
522 <property name="label" translatable="yes">Details</property>
527 <property name="right_attach">2</property>
528 <property name="top_attach">5</property>
529 <property name="bottom_attach">6</property>
530 <property name="x_padding">14</property>
531 <property name="y_padding">4</property>
535 <object class="GtkLabel" id="label3">
536 <property name="visible">True</property>
537 <property name="can_focus">False</property>
538 <property name="xalign">0</property>
539 <property name="xpad">10</property>
540 <property name="label" translatable="yes">Name:</property>
543 <property name="top_attach">1</property>
544 <property name="bottom_attach">2</property>
545 <property name="x_options">GTK_FILL</property>
546 <property name="x_padding">4</property>
547 <property name="y_padding">4</property>
552 <property name="resize">True</property>
553 <property name="shrink">False</property>
558 <property name="expand">True</property>
559 <property name="fill">True</property>
560 <property name="position">1</property>
566 <action-widget response="-3">btn_ok</action-widget>
567 <action-widget response="0">btn_cancel</action-widget>
570 <object class="GtkListStore" id="sensors_liststore">
572 <!-- column-name Name -->
573 <column type="gchararray"/>
574 <!-- column-name Sensor -->
575 <column type="gpointer"/>