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="spacing">2</property>
28 <child internal-child="action_area">
29 <object class="GtkButtonBox" id="dialog-action_area1">
30 <property name="visible">True</property>
31 <property name="can_focus">False</property>
32 <property name="layout_style">end</property>
34 <object class="GtkButton" id="btn_ok">
35 <property name="label">gtk-ok</property>
36 <property name="use_action_appearance">False</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_action_appearance">False</property>
41 <property name="use_stock">True</property>
44 <property name="expand">False</property>
45 <property name="fill">False</property>
46 <property name="position">0</property>
50 <object class="GtkButton" id="btn_cancel">
51 <property name="label">gtk-cancel</property>
52 <property name="use_action_appearance">False</property>
53 <property name="visible">True</property>
54 <property name="can_focus">True</property>
55 <property name="receives_default">True</property>
56 <property name="use_action_appearance">False</property>
57 <property name="use_stock">True</property>
60 <property name="expand">False</property>
61 <property name="fill">False</property>
62 <property name="position">1</property>
67 <property name="expand">False</property>
68 <property name="fill">True</property>
69 <property name="pack_type">end</property>
70 <property name="position">0</property>
74 <object class="GtkHPaned" id="hpaned1">
75 <property name="visible">True</property>
76 <property name="can_focus">True</property>
78 <object class="GtkTreeView" id="sensors_list">
79 <property name="visible">True</property>
80 <property name="can_focus">True</property>
81 <property name="model">sensors_liststore</property>
82 <child internal-child="selection">
83 <object class="GtkTreeSelection" id="treeview-selection1"/>
87 <property name="resize">False</property>
88 <property name="shrink">True</property>
92 <object class="GtkTable" id="table1">
93 <property name="visible">True</property>
94 <property name="can_focus">False</property>
95 <property name="n_rows">15</property>
96 <property name="n_columns">2</property>
98 <object class="GtkEntry" id="sensor_name">
99 <property name="visible">True</property>
100 <property name="can_focus">True</property>
101 <property name="invisible_char">•</property>
102 <property name="invisible_char_set">True</property>
103 <property name="primary_icon_activatable">False</property>
104 <property name="secondary_icon_activatable">False</property>
107 <property name="left_attach">1</property>
108 <property name="right_attach">2</property>
109 <property name="top_attach">1</property>
110 <property name="bottom_attach">2</property>
111 <property name="x_padding">4</property>
112 <property name="y_padding">4</property>
116 <object class="GtkLabel" id="label4">
117 <property name="visible">True</property>
118 <property name="can_focus">False</property>
119 <property name="xalign">0</property>
120 <property name="yalign">0.49000000953674316</property>
121 <property name="label" translatable="yes">Type:</property>
122 <property name="justify">fill</property>
125 <property name="top_attach">2</property>
126 <property name="bottom_attach">3</property>
127 <property name="x_padding">14</property>
128 <property name="y_padding">4</property>
132 <object class="GtkLabel" id="sensor_type">
133 <property name="visible">True</property>
134 <property name="can_focus">False</property>
135 <property name="xalign">0</property>
136 <property name="label" translatable="yes">N/A</property>
139 <property name="left_attach">1</property>
140 <property name="right_attach">2</property>
141 <property name="top_attach">2</property>
142 <property name="bottom_attach">3</property>
143 <property name="x_padding">4</property>
144 <property name="y_padding">4</property>
148 <object class="GtkLabel" id="label5">
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">Graph</property>
154 <attribute name="weight" value="bold"/>
158 <property name="right_attach">2</property>
159 <property name="top_attach">6</property>
160 <property name="bottom_attach">7</property>
161 <property name="x_padding">4</property>
162 <property name="y_padding">4</property>
166 <object class="GtkLabel" id="label7">
167 <property name="visible">True</property>
168 <property name="can_focus">False</property>
169 <property name="xalign">0</property>
170 <property name="label" translatable="yes">Color:</property>
173 <property name="top_attach">8</property>
174 <property name="bottom_attach">9</property>
175 <property name="x_padding">14</property>
176 <property name="y_padding">4</property>
180 <object class="GtkLabel" id="label6">
181 <property name="visible">True</property>
182 <property name="can_focus">False</property>
183 <property name="xalign">0</property>
184 <property name="label" translatable="yes">Alarm</property>
186 <attribute name="weight" value="bold"/>
190 <property name="right_attach">2</property>
191 <property name="top_attach">9</property>
192 <property name="bottom_attach">10</property>
193 <property name="x_padding">4</property>
194 <property name="y_padding">4</property>
198 <object class="GtkCheckButton" id="sensor_alarm">
199 <property name="label" translatable="yes">Activate desktop notifications</property>
200 <property name="use_action_appearance">False</property>
201 <property name="visible">True</property>
202 <property name="can_focus">True</property>
203 <property name="receives_default">False</property>
204 <property name="use_action_appearance">False</property>
205 <property name="xalign">0</property>
206 <property name="draw_indicator">True</property>
209 <property name="right_attach">2</property>
210 <property name="top_attach">10</property>
211 <property name="bottom_attach">11</property>
212 <property name="x_padding">14</property>
213 <property name="y_padding">4</property>
217 <object class="GtkLabel" id="label1">
218 <property name="visible">True</property>
219 <property name="can_focus">False</property>
220 <property name="xalign">0</property>
221 <property name="label" translatable="yes">Sensor Information</property>
223 <attribute name="weight" value="bold"/>
227 <property name="right_attach">2</property>
228 <property name="x_padding">4</property>
229 <property name="y_padding">4</property>
233 <object class="GtkCheckButton" id="sensor_draw">
234 <property name="label" translatable="yes">Draw sensor curve</property>
235 <property name="use_action_appearance">False</property>
236 <property name="visible">True</property>
237 <property name="can_focus">True</property>
238 <property name="receives_default">False</property>
239 <property name="use_action_appearance">False</property>
240 <property name="xalign">0</property>
241 <property name="draw_indicator">True</property>
244 <property name="right_attach">2</property>
245 <property name="top_attach">7</property>
246 <property name="bottom_attach">8</property>
247 <property name="x_padding">14</property>
248 <property name="y_padding">4</property>
252 <object class="GtkHBox" id="hbox1">
253 <property name="visible">True</property>
254 <property name="can_focus">False</property>
256 <object class="GtkSpinButton" id="sensor_alarm_high_threshold">
257 <property name="visible">True</property>
258 <property name="can_focus">True</property>
259 <property name="invisible_char">•</property>
260 <property name="invisible_char_set">True</property>
261 <property name="primary_icon_activatable">False</property>
262 <property name="secondary_icon_activatable">False</property>
263 <property name="adjustment">alarm_high_threshold_value</property>
264 <property name="climb_rate">1</property>
265 <property name="snap_to_ticks">True</property>
266 <property name="numeric">True</property>
267 <property name="update_policy">if-valid</property>
270 <property name="expand">False</property>
271 <property name="fill">True</property>
272 <property name="position">0</property>
276 <object class="GtkLabel" id="sensor_alarm_high_threshold_unit">
277 <property name="visible">True</property>
278 <property name="can_focus">False</property>
279 <property name="valign">start</property>
280 <property name="xalign">0</property>
281 <property name="label" translatable="yes">N/A</property>
284 <property name="expand">True</property>
285 <property name="fill">True</property>
286 <property name="position">1</property>
291 <property name="left_attach">1</property>
292 <property name="right_attach">2</property>
293 <property name="top_attach">11</property>
294 <property name="bottom_attach">12</property>
298 <object class="GtkColorButton" id="sensor_color">
299 <property name="use_action_appearance">False</property>
300 <property name="visible">True</property>
301 <property name="can_focus">True</property>
302 <property name="receives_default">True</property>
303 <property name="use_action_appearance">False</property>
304 <property name="xalign">0</property>
305 <property name="color">#000000000000</property>
308 <property name="left_attach">1</property>
309 <property name="right_attach">2</property>
310 <property name="top_attach">8</property>
311 <property name="bottom_attach">9</property>
312 <property name="x_options"></property>
313 <property name="x_padding">4</property>
314 <property name="y_padding">4</property>
318 <object class="GtkLabel" id="alarm_high_threshold_label">
319 <property name="visible">True</property>
320 <property name="can_focus">False</property>
321 <property name="xalign">0.0099999997764825821</property>
322 <property name="label" translatable="yes">High threshold:</property>
325 <property name="top_attach">11</property>
326 <property name="bottom_attach">12</property>
327 <property name="x_options">GTK_FILL</property>
328 <property name="x_padding">14</property>
329 <property name="y_padding">4</property>
333 <object class="GtkLabel" id="alarm_low_threshold_label">
334 <property name="visible">True</property>
335 <property name="can_focus">False</property>
336 <property name="xalign">0.0099999997764825821</property>
337 <property name="label" translatable="yes">Low threshold:</property>
340 <property name="top_attach">12</property>
341 <property name="bottom_attach">13</property>
342 <property name="x_options">GTK_FILL</property>
343 <property name="x_padding">14</property>
344 <property name="y_padding">4</property>
348 <object class="GtkHBox" id="alarm_low_threshold_box">
349 <property name="visible">True</property>
350 <property name="can_focus">False</property>
352 <object class="GtkSpinButton" id="sensor_alarm_low_threshold">
353 <property name="visible">True</property>
354 <property name="can_focus">True</property>
355 <property name="invisible_char">•</property>
356 <property name="invisible_char_set">True</property>
357 <property name="primary_icon_activatable">False</property>
358 <property name="secondary_icon_activatable">False</property>
359 <property name="adjustment">alarm_low_threshold_value</property>
360 <property name="climb_rate">1</property>
361 <property name="snap_to_ticks">True</property>
362 <property name="numeric">True</property>
363 <property name="update_policy">if-valid</property>
366 <property name="expand">False</property>
367 <property name="fill">True</property>
368 <property name="position">0</property>
372 <object class="GtkLabel" id="sensor_alarm_low_threshold_unit">
373 <property name="visible">True</property>
374 <property name="can_focus">False</property>
375 <property name="valign">start</property>
376 <property name="xalign">0</property>
377 <property name="label" translatable="yes">N/A</property>
380 <property name="expand">True</property>
381 <property name="fill">True</property>
382 <property name="position">1</property>
387 <property name="left_attach">1</property>
388 <property name="right_attach">2</property>
389 <property name="top_attach">12</property>
390 <property name="bottom_attach">13</property>
394 <object class="GtkLabel" id="indicator_label">
395 <property name="visible">True</property>
396 <property name="can_focus">False</property>
397 <property name="xalign">0</property>
398 <property name="label" translatable="yes">Ubuntu Application Indicator</property>
400 <attribute name="weight" value="bold"/>
404 <property name="right_attach">2</property>
405 <property name="top_attach">13</property>
406 <property name="bottom_attach">14</property>
407 <property name="x_padding">4</property>
408 <property name="y_padding">4</property>
412 <object class="GtkCheckButton" id="indicator_checkbox">
413 <property name="label" translatable="yes">Display sensor in the Application Indicator menu</property>
414 <property name="use_action_appearance">False</property>
415 <property name="visible">True</property>
416 <property name="can_focus">True</property>
417 <property name="receives_default">False</property>
418 <property name="use_action_appearance">False</property>
419 <property name="xalign">0</property>
420 <property name="draw_indicator">True</property>
423 <property name="right_attach">2</property>
424 <property name="top_attach">14</property>
425 <property name="bottom_attach">15</property>
426 <property name="x_padding">14</property>
427 <property name="y_padding">4</property>
431 <object class="GtkLabel" id="chip_name_label">
432 <property name="visible">True</property>
433 <property name="can_focus">False</property>
434 <property name="xalign">0</property>
435 <property name="label" translatable="yes">Chip:</property>
438 <property name="top_attach">3</property>
439 <property name="bottom_attach">4</property>
440 <property name="x_options">GTK_FILL</property>
441 <property name="x_padding">14</property>
442 <property name="y_padding">4</property>
446 <object class="GtkLabel" id="chip_name">
447 <property name="visible">True</property>
448 <property name="can_focus">False</property>
449 <property name="xalign">0</property>
450 <property name="label" translatable="yes">N/A</property>
453 <property name="left_attach">1</property>
454 <property name="right_attach">2</property>
455 <property name="top_attach">3</property>
456 <property name="bottom_attach">4</property>
457 <property name="x_padding">4</property>
458 <property name="y_padding">4</property>
462 <object class="GtkExpander" id="expander1">
463 <property name="visible">True</property>
464 <property name="can_focus">True</property>
466 <object class="GtkGrid" id="grid1">
467 <property name="visible">True</property>
468 <property name="can_focus">False</property>
469 <property name="margin_left">4</property>
470 <property name="margin_right">4</property>
471 <property name="margin_top">4</property>
472 <property name="margin_bottom">4</property>
473 <property name="hexpand">True</property>
474 <property name="vexpand">True</property>
476 <object class="GtkLabel" id="label2">
477 <property name="visible">True</property>
478 <property name="can_focus">False</property>
479 <property name="xalign">0</property>
480 <property name="label" translatable="yes">Id:</property>
483 <property name="left_attach">0</property>
484 <property name="top_attach">0</property>
485 <property name="width">1</property>
486 <property name="height">1</property>
490 <object class="GtkLabel" id="sensor_id">
491 <property name="visible">True</property>
492 <property name="can_focus">False</property>
493 <property name="margin_left">4</property>
494 <property name="margin_right">4</property>
495 <property name="margin_top">4</property>
496 <property name="margin_bottom">4</property>
497 <property name="hexpand">True</property>
498 <property name="xalign">0</property>
499 <property name="label" translatable="yes">N/A</property>
502 <property name="left_attach">1</property>
503 <property name="top_attach">0</property>
504 <property name="width">1</property>
505 <property name="height">1</property>
511 <object class="GtkLabel" id="details_label">
512 <property name="visible">True</property>
513 <property name="can_focus">False</property>
514 <property name="label" translatable="yes">Details</property>
519 <property name="right_attach">2</property>
520 <property name="top_attach">5</property>
521 <property name="bottom_attach">6</property>
522 <property name="x_padding">14</property>
523 <property name="y_padding">4</property>
533 <object class="GtkLabel" id="label3">
534 <property name="visible">True</property>
535 <property name="can_focus">False</property>
536 <property name="xalign">0</property>
537 <property name="xpad">10</property>
538 <property name="label" translatable="yes">Name:</property>
541 <property name="top_attach">1</property>
542 <property name="bottom_attach">2</property>
543 <property name="x_options">GTK_FILL</property>
544 <property name="x_padding">4</property>
545 <property name="y_padding">4</property>
550 <property name="resize">True</property>
551 <property name="shrink">False</property>
556 <property name="expand">True</property>
557 <property name="fill">True</property>
558 <property name="position">1</property>
564 <action-widget response="-3">btn_ok</action-widget>
565 <action-widget response="0">btn_cancel</action-widget>
568 <object class="GtkListStore" id="sensors_liststore">
570 <!-- column-name sensor_name -->
571 <column type="gchararray"/>