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="reorderable">True</property>
81 <property name="search_column">1</property>
82 <child internal-child="selection">
83 <object class="GtkTreeSelection" id="treeview-selection1"/>
86 <object class="GtkTreeViewColumn" id="sensor_name_col">
87 <property name="title" translatable="yes">Name</property>
89 <object class="GtkCellRendererText" id="cellrenderertext1"/>
91 <attribute name="text">0</attribute>
98 <property name="resize">False</property>
99 <property name="shrink">True</property>
103 <object class="GtkTable" id="table1">
104 <property name="visible">True</property>
105 <property name="can_focus">False</property>
106 <property name="n_rows">15</property>
107 <property name="n_columns">2</property>
115 <object class="GtkEntry" id="sensor_name">
116 <property name="visible">True</property>
117 <property name="can_focus">True</property>
118 <property name="invisible_char">•</property>
119 <property name="invisible_char_set">True</property>
120 <property name="primary_icon_activatable">False</property>
121 <property name="secondary_icon_activatable">False</property>
124 <property name="left_attach">1</property>
125 <property name="right_attach">2</property>
126 <property name="top_attach">1</property>
127 <property name="bottom_attach">2</property>
128 <property name="x_padding">4</property>
129 <property name="y_padding">4</property>
133 <object class="GtkLabel" id="label4">
134 <property name="visible">True</property>
135 <property name="can_focus">False</property>
136 <property name="xalign">0</property>
137 <property name="yalign">0.49000000953674316</property>
138 <property name="label" translatable="yes">Type:</property>
139 <property name="justify">fill</property>
142 <property name="top_attach">2</property>
143 <property name="bottom_attach">3</property>
144 <property name="x_padding">14</property>
145 <property name="y_padding">4</property>
149 <object class="GtkLabel" id="sensor_type">
150 <property name="visible">True</property>
151 <property name="can_focus">False</property>
152 <property name="xalign">0</property>
153 <property name="label" translatable="yes">N/A</property>
156 <property name="left_attach">1</property>
157 <property name="right_attach">2</property>
158 <property name="top_attach">2</property>
159 <property name="bottom_attach">3</property>
160 <property name="x_padding">4</property>
161 <property name="y_padding">4</property>
165 <object class="GtkLabel" id="label5">
166 <property name="visible">True</property>
167 <property name="can_focus">False</property>
168 <property name="xalign">0</property>
169 <property name="label" translatable="yes">Graph</property>
171 <attribute name="weight" value="bold"/>
175 <property name="right_attach">2</property>
176 <property name="top_attach">6</property>
177 <property name="bottom_attach">7</property>
178 <property name="x_padding">4</property>
179 <property name="y_padding">4</property>
183 <object class="GtkLabel" id="label7">
184 <property name="visible">True</property>
185 <property name="can_focus">False</property>
186 <property name="xalign">0</property>
187 <property name="label" translatable="yes">Color:</property>
190 <property name="top_attach">8</property>
191 <property name="bottom_attach">9</property>
192 <property name="x_padding">14</property>
193 <property name="y_padding">4</property>
197 <object class="GtkLabel" id="label6">
198 <property name="visible">True</property>
199 <property name="can_focus">False</property>
200 <property name="xalign">0</property>
201 <property name="label" translatable="yes">Alarm</property>
203 <attribute name="weight" value="bold"/>
207 <property name="right_attach">2</property>
208 <property name="top_attach">9</property>
209 <property name="bottom_attach">10</property>
210 <property name="x_padding">4</property>
211 <property name="y_padding">4</property>
215 <object class="GtkCheckButton" id="sensor_alarm">
216 <property name="label" translatable="yes">Activate desktop notifications</property>
217 <property name="visible">True</property>
218 <property name="can_focus">True</property>
219 <property name="receives_default">False</property>
220 <property name="xalign">0</property>
221 <property name="draw_indicator">True</property>
224 <property name="right_attach">2</property>
225 <property name="top_attach">10</property>
226 <property name="bottom_attach">11</property>
227 <property name="x_padding">14</property>
228 <property name="y_padding">4</property>
232 <object class="GtkLabel" id="label1">
233 <property name="visible">True</property>
234 <property name="can_focus">False</property>
235 <property name="xalign">0</property>
236 <property name="label" translatable="yes">Sensor Information</property>
238 <attribute name="weight" value="bold"/>
242 <property name="right_attach">2</property>
243 <property name="x_padding">4</property>
244 <property name="y_padding">4</property>
248 <object class="GtkCheckButton" id="sensor_draw">
249 <property name="label" translatable="yes">Draw sensor curve</property>
250 <property name="visible">True</property>
251 <property name="can_focus">True</property>
252 <property name="receives_default">False</property>
253 <property name="xalign">0</property>
254 <property name="draw_indicator">True</property>
257 <property name="right_attach">2</property>
258 <property name="top_attach">7</property>
259 <property name="bottom_attach">8</property>
260 <property name="x_padding">14</property>
261 <property name="y_padding">4</property>
265 <object class="GtkHBox" id="hbox1">
266 <property name="visible">True</property>
267 <property name="can_focus">False</property>
269 <object class="GtkSpinButton" id="sensor_alarm_high_threshold">
270 <property name="visible">True</property>
271 <property name="can_focus">True</property>
272 <property name="invisible_char">•</property>
273 <property name="invisible_char_set">True</property>
274 <property name="primary_icon_activatable">False</property>
275 <property name="secondary_icon_activatable">False</property>
276 <property name="adjustment">alarm_high_threshold_value</property>
277 <property name="climb_rate">1</property>
278 <property name="snap_to_ticks">True</property>
279 <property name="numeric">True</property>
280 <property name="update_policy">if-valid</property>
283 <property name="expand">False</property>
284 <property name="fill">True</property>
285 <property name="position">0</property>
289 <object class="GtkLabel" id="sensor_alarm_high_threshold_unit">
290 <property name="visible">True</property>
291 <property name="can_focus">False</property>
292 <property name="valign">start</property>
293 <property name="xalign">0</property>
294 <property name="label" translatable="yes">N/A</property>
297 <property name="expand">True</property>
298 <property name="fill">True</property>
299 <property name="position">1</property>
304 <property name="left_attach">1</property>
305 <property name="right_attach">2</property>
306 <property name="top_attach">11</property>
307 <property name="bottom_attach">12</property>
311 <object class="GtkColorButton" id="sensor_color">
312 <property name="visible">True</property>
313 <property name="can_focus">True</property>
314 <property name="receives_default">True</property>
315 <property name="xalign">0</property>
316 <property name="color">#000000000000</property>
319 <property name="left_attach">1</property>
320 <property name="right_attach">2</property>
321 <property name="top_attach">8</property>
322 <property name="bottom_attach">9</property>
323 <property name="x_options"/>
324 <property name="x_padding">4</property>
325 <property name="y_padding">4</property>
329 <object class="GtkLabel" id="alarm_high_threshold_label">
330 <property name="visible">True</property>
331 <property name="can_focus">False</property>
332 <property name="xalign">0.0099999997764825821</property>
333 <property name="label" translatable="yes">High threshold:</property>
336 <property name="top_attach">11</property>
337 <property name="bottom_attach">12</property>
338 <property name="x_options">GTK_FILL</property>
339 <property name="x_padding">14</property>
340 <property name="y_padding">4</property>
344 <object class="GtkLabel" id="alarm_low_threshold_label">
345 <property name="visible">True</property>
346 <property name="can_focus">False</property>
347 <property name="xalign">0.0099999997764825821</property>
348 <property name="label" translatable="yes">Low threshold:</property>
351 <property name="top_attach">12</property>
352 <property name="bottom_attach">13</property>
353 <property name="x_options">GTK_FILL</property>
354 <property name="x_padding">14</property>
355 <property name="y_padding">4</property>
359 <object class="GtkHBox" id="alarm_low_threshold_box">
360 <property name="visible">True</property>
361 <property name="can_focus">False</property>
363 <object class="GtkSpinButton" id="sensor_alarm_low_threshold">
364 <property name="visible">True</property>
365 <property name="can_focus">True</property>
366 <property name="invisible_char">•</property>
367 <property name="invisible_char_set">True</property>
368 <property name="primary_icon_activatable">False</property>
369 <property name="secondary_icon_activatable">False</property>
370 <property name="adjustment">alarm_low_threshold_value</property>
371 <property name="climb_rate">1</property>
372 <property name="snap_to_ticks">True</property>
373 <property name="numeric">True</property>
374 <property name="update_policy">if-valid</property>
377 <property name="expand">False</property>
378 <property name="fill">True</property>
379 <property name="position">0</property>
383 <object class="GtkLabel" id="sensor_alarm_low_threshold_unit">
384 <property name="visible">True</property>
385 <property name="can_focus">False</property>
386 <property name="valign">start</property>
387 <property name="xalign">0</property>
388 <property name="label" translatable="yes">N/A</property>
391 <property name="expand">True</property>
392 <property name="fill">True</property>
393 <property name="position">1</property>
398 <property name="left_attach">1</property>
399 <property name="right_attach">2</property>
400 <property name="top_attach">12</property>
401 <property name="bottom_attach">13</property>
405 <object class="GtkLabel" id="indicator_label">
406 <property name="visible">True</property>
407 <property name="can_focus">False</property>
408 <property name="xalign">0</property>
409 <property name="label" translatable="yes">Ubuntu Application Indicator</property>
411 <attribute name="weight" value="bold"/>
415 <property name="right_attach">2</property>
416 <property name="top_attach">13</property>
417 <property name="bottom_attach">14</property>
418 <property name="x_padding">4</property>
419 <property name="y_padding">4</property>
423 <object class="GtkCheckButton" id="indicator_checkbox">
424 <property name="label" translatable="yes">Display sensor in the Application Indicator menu</property>
425 <property name="visible">True</property>
426 <property name="can_focus">True</property>
427 <property name="receives_default">False</property>
428 <property name="xalign">0</property>
429 <property name="draw_indicator">True</property>
432 <property name="right_attach">2</property>
433 <property name="top_attach">14</property>
434 <property name="bottom_attach">15</property>
435 <property name="x_padding">14</property>
436 <property name="y_padding">4</property>
440 <object class="GtkLabel" id="chip_name_label">
441 <property name="visible">True</property>
442 <property name="can_focus">False</property>
443 <property name="xalign">0</property>
444 <property name="label" translatable="yes">Chip:</property>
447 <property name="top_attach">3</property>
448 <property name="bottom_attach">4</property>
449 <property name="x_options">GTK_FILL</property>
450 <property name="x_padding">14</property>
451 <property name="y_padding">4</property>
455 <object class="GtkLabel" id="chip_name">
456 <property name="visible">True</property>
457 <property name="can_focus">False</property>
458 <property name="xalign">0</property>
459 <property name="label" translatable="yes">N/A</property>
462 <property name="left_attach">1</property>
463 <property name="right_attach">2</property>
464 <property name="top_attach">3</property>
465 <property name="bottom_attach">4</property>
466 <property name="x_padding">4</property>
467 <property name="y_padding">4</property>
471 <object class="GtkExpander" id="expander1">
472 <property name="visible">True</property>
473 <property name="can_focus">True</property>
475 <object class="GtkGrid" id="grid1">
476 <property name="visible">True</property>
477 <property name="can_focus">False</property>
478 <property name="margin_left">4</property>
479 <property name="margin_right">4</property>
480 <property name="margin_top">4</property>
481 <property name="margin_bottom">4</property>
482 <property name="hexpand">True</property>
483 <property name="vexpand">True</property>
485 <object class="GtkLabel" id="label2">
486 <property name="visible">True</property>
487 <property name="can_focus">False</property>
488 <property name="xalign">0</property>
489 <property name="label" translatable="yes">Id:</property>
492 <property name="left_attach">0</property>
493 <property name="top_attach">0</property>
494 <property name="width">1</property>
495 <property name="height">1</property>
499 <object class="GtkLabel" id="sensor_id">
500 <property name="visible">True</property>
501 <property name="can_focus">False</property>
502 <property name="margin_left">4</property>
503 <property name="margin_right">4</property>
504 <property name="margin_top">4</property>
505 <property name="margin_bottom">4</property>
506 <property name="hexpand">True</property>
507 <property name="xalign">0</property>
508 <property name="label" translatable="yes">N/A</property>
511 <property name="left_attach">1</property>
512 <property name="top_attach">0</property>
513 <property name="width">1</property>
514 <property name="height">1</property>
520 <object class="GtkLabel" id="details_label">
521 <property name="visible">True</property>
522 <property name="can_focus">False</property>
523 <property name="label" translatable="yes">Details</property>
528 <property name="right_attach">2</property>
529 <property name="top_attach">5</property>
530 <property name="bottom_attach">6</property>
531 <property name="x_padding">14</property>
532 <property name="y_padding">4</property>
536 <object class="GtkLabel" id="label3">
537 <property name="visible">True</property>
538 <property name="can_focus">False</property>
539 <property name="xalign">0</property>
540 <property name="xpad">10</property>
541 <property name="label" translatable="yes">Name:</property>
544 <property name="top_attach">1</property>
545 <property name="bottom_attach">2</property>
546 <property name="x_options">GTK_FILL</property>
547 <property name="x_padding">4</property>
548 <property name="y_padding">4</property>
553 <property name="resize">True</property>
554 <property name="shrink">False</property>
559 <property name="expand">True</property>
560 <property name="fill">True</property>
561 <property name="position">1</property>
567 <action-widget response="-3">btn_ok</action-widget>
568 <action-widget response="0">btn_cancel</action-widget>
571 <object class="GtkListStore" id="sensors_liststore">
573 <!-- column-name Name -->
574 <column type="gchararray"/>
575 <!-- column-name Sensor -->
576 <column type="gpointer"/>