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">13</property>
96 <property name="n_columns">2</property>
98 <object class="GtkLabel" id="sensor_id">
99 <property name="visible">True</property>
100 <property name="can_focus">False</property>
101 <property name="xalign">0</property>
102 <property name="label" translatable="yes">N/A</property>
105 <property name="left_attach">1</property>
106 <property name="right_attach">2</property>
107 <property name="top_attach">1</property>
108 <property name="bottom_attach">2</property>
109 <property name="x_padding">4</property>
110 <property name="y_padding">4</property>
114 <object class="GtkLabel" id="label3">
115 <property name="visible">True</property>
116 <property name="can_focus">False</property>
117 <property name="xalign">0</property>
118 <property name="xpad">10</property>
119 <property name="label" translatable="yes">Name:</property>
122 <property name="top_attach">3</property>
123 <property name="bottom_attach">4</property>
124 <property name="x_options">GTK_FILL</property>
125 <property name="x_padding">4</property>
126 <property name="y_padding">4</property>
130 <object class="GtkEntry" id="sensor_name">
131 <property name="visible">True</property>
132 <property name="can_focus">True</property>
133 <property name="invisible_char">•</property>
134 <property name="invisible_char_set">True</property>
135 <property name="primary_icon_activatable">False</property>
136 <property name="secondary_icon_activatable">False</property>
139 <property name="left_attach">1</property>
140 <property name="right_attach">2</property>
141 <property name="top_attach">3</property>
142 <property name="bottom_attach">4</property>
143 <property name="x_padding">4</property>
144 <property name="y_padding">4</property>
148 <object class="GtkLabel" id="label4">
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">Type:</property>
155 <property name="top_attach">2</property>
156 <property name="bottom_attach">3</property>
157 <property name="x_padding">14</property>
158 <property name="y_padding">4</property>
162 <object class="GtkLabel" id="sensor_type">
163 <property name="visible">True</property>
164 <property name="can_focus">False</property>
165 <property name="xalign">0</property>
166 <property name="label" translatable="yes">N/A</property>
169 <property name="left_attach">1</property>
170 <property name="right_attach">2</property>
171 <property name="top_attach">2</property>
172 <property name="bottom_attach">3</property>
173 <property name="x_padding">4</property>
174 <property name="y_padding">4</property>
178 <object class="GtkLabel" id="label2">
179 <property name="visible">True</property>
180 <property name="can_focus">False</property>
181 <property name="xalign">0</property>
182 <property name="label" translatable="yes">Id:</property>
185 <property name="top_attach">1</property>
186 <property name="bottom_attach">2</property>
187 <property name="x_options">GTK_FILL</property>
188 <property name="x_padding">14</property>
189 <property name="y_padding">4</property>
193 <object class="GtkLabel" id="label5">
194 <property name="visible">True</property>
195 <property name="can_focus">False</property>
196 <property name="xalign">0</property>
197 <property name="label" translatable="yes">Graph</property>
199 <attribute name="weight" value="bold"/>
203 <property name="right_attach">2</property>
204 <property name="top_attach">4</property>
205 <property name="bottom_attach">5</property>
206 <property name="x_padding">4</property>
207 <property name="y_padding">4</property>
211 <object class="GtkLabel" id="label7">
212 <property name="visible">True</property>
213 <property name="can_focus">False</property>
214 <property name="xalign">0</property>
215 <property name="label" translatable="yes">Color:</property>
218 <property name="top_attach">6</property>
219 <property name="bottom_attach">7</property>
220 <property name="x_padding">14</property>
221 <property name="y_padding">4</property>
225 <object class="GtkLabel" id="label6">
226 <property name="visible">True</property>
227 <property name="can_focus">False</property>
228 <property name="xalign">0</property>
229 <property name="label" translatable="yes">Alarm</property>
231 <attribute name="weight" value="bold"/>
235 <property name="right_attach">2</property>
236 <property name="top_attach">7</property>
237 <property name="bottom_attach">8</property>
238 <property name="x_padding">4</property>
239 <property name="y_padding">4</property>
243 <object class="GtkCheckButton" id="sensor_alarm">
244 <property name="label" translatable="yes">Activate desktop notifications</property>
245 <property name="use_action_appearance">False</property>
246 <property name="visible">True</property>
247 <property name="can_focus">True</property>
248 <property name="receives_default">False</property>
249 <property name="use_action_appearance">False</property>
250 <property name="xalign">0</property>
251 <property name="draw_indicator">True</property>
254 <property name="right_attach">2</property>
255 <property name="top_attach">8</property>
256 <property name="bottom_attach">9</property>
257 <property name="x_padding">14</property>
258 <property name="y_padding">4</property>
262 <object class="GtkLabel" id="label1">
263 <property name="visible">True</property>
264 <property name="can_focus">False</property>
265 <property name="xalign">0</property>
266 <property name="label" translatable="yes">Sensor Information</property>
268 <attribute name="weight" value="bold"/>
272 <property name="right_attach">2</property>
273 <property name="x_padding">4</property>
274 <property name="y_padding">4</property>
278 <object class="GtkCheckButton" id="sensor_draw">
279 <property name="label" translatable="yes">Draw sensor curve</property>
280 <property name="use_action_appearance">False</property>
281 <property name="visible">True</property>
282 <property name="can_focus">True</property>
283 <property name="receives_default">False</property>
284 <property name="use_action_appearance">False</property>
285 <property name="xalign">0</property>
286 <property name="draw_indicator">True</property>
289 <property name="right_attach">2</property>
290 <property name="top_attach">5</property>
291 <property name="bottom_attach">6</property>
292 <property name="x_padding">14</property>
293 <property name="y_padding">4</property>
297 <object class="GtkHBox" id="hbox1">
298 <property name="visible">True</property>
299 <property name="can_focus">False</property>
301 <object class="GtkSpinButton" id="sensor_alarm_high_threshold">
302 <property name="visible">True</property>
303 <property name="can_focus">True</property>
304 <property name="invisible_char">•</property>
305 <property name="invisible_char_set">True</property>
306 <property name="primary_icon_activatable">False</property>
307 <property name="secondary_icon_activatable">False</property>
308 <property name="adjustment">alarm_high_threshold_value</property>
309 <property name="climb_rate">1</property>
310 <property name="snap_to_ticks">True</property>
311 <property name="numeric">True</property>
312 <property name="update_policy">if-valid</property>
315 <property name="expand">False</property>
316 <property name="fill">True</property>
317 <property name="position">0</property>
321 <object class="GtkLabel" id="sensor_alarm_high_threshold_unit">
322 <property name="visible">True</property>
323 <property name="can_focus">False</property>
324 <property name="valign">start</property>
325 <property name="xalign">0</property>
326 <property name="label" translatable="yes">N/A</property>
329 <property name="expand">True</property>
330 <property name="fill">True</property>
331 <property name="position">1</property>
336 <property name="left_attach">1</property>
337 <property name="right_attach">2</property>
338 <property name="top_attach">9</property>
339 <property name="bottom_attach">10</property>
343 <object class="GtkColorButton" id="sensor_color">
344 <property name="use_action_appearance">False</property>
345 <property name="visible">True</property>
346 <property name="can_focus">True</property>
347 <property name="receives_default">True</property>
348 <property name="use_action_appearance">False</property>
349 <property name="xalign">0</property>
350 <property name="color">#000000000000</property>
353 <property name="left_attach">1</property>
354 <property name="right_attach">2</property>
355 <property name="top_attach">6</property>
356 <property name="bottom_attach">7</property>
357 <property name="x_options"></property>
358 <property name="x_padding">4</property>
359 <property name="y_padding">4</property>
363 <object class="GtkLabel" id="alarm_high_threshold_label">
364 <property name="visible">True</property>
365 <property name="can_focus">False</property>
366 <property name="xalign">0.0099999997764825821</property>
367 <property name="label" translatable="yes">High threshold:</property>
370 <property name="top_attach">9</property>
371 <property name="bottom_attach">10</property>
372 <property name="x_options">GTK_FILL</property>
373 <property name="x_padding">14</property>
374 <property name="y_padding">4</property>
378 <object class="GtkLabel" id="alarm_low_threshold_label">
379 <property name="visible">True</property>
380 <property name="can_focus">False</property>
381 <property name="xalign">0.0099999997764825821</property>
382 <property name="label" translatable="yes">Low threshold:</property>
385 <property name="top_attach">10</property>
386 <property name="bottom_attach">11</property>
387 <property name="x_options">GTK_FILL</property>
388 <property name="x_padding">14</property>
389 <property name="y_padding">4</property>
393 <object class="GtkHBox" id="alarm_low_threshold_box">
394 <property name="visible">True</property>
395 <property name="can_focus">False</property>
397 <object class="GtkSpinButton" id="sensor_alarm_low_threshold">
398 <property name="visible">True</property>
399 <property name="can_focus">True</property>
400 <property name="invisible_char">•</property>
401 <property name="invisible_char_set">True</property>
402 <property name="primary_icon_activatable">False</property>
403 <property name="secondary_icon_activatable">False</property>
404 <property name="adjustment">alarm_low_threshold_value</property>
405 <property name="climb_rate">1</property>
406 <property name="snap_to_ticks">True</property>
407 <property name="numeric">True</property>
408 <property name="update_policy">if-valid</property>
411 <property name="expand">False</property>
412 <property name="fill">True</property>
413 <property name="position">0</property>
417 <object class="GtkLabel" id="sensor_alarm_low_threshold_unit">
418 <property name="visible">True</property>
419 <property name="can_focus">False</property>
420 <property name="valign">start</property>
421 <property name="xalign">0</property>
422 <property name="label" translatable="yes">N/A</property>
425 <property name="expand">True</property>
426 <property name="fill">True</property>
427 <property name="position">1</property>
432 <property name="left_attach">1</property>
433 <property name="right_attach">2</property>
434 <property name="top_attach">10</property>
435 <property name="bottom_attach">11</property>
439 <object class="GtkLabel" id="indicator_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">Ubuntu Application Indicator</property>
445 <attribute name="weight" value="bold"/>
449 <property name="right_attach">2</property>
450 <property name="top_attach">11</property>
451 <property name="bottom_attach">12</property>
452 <property name="x_padding">4</property>
453 <property name="y_padding">4</property>
457 <object class="GtkCheckButton" id="indicator_checkbox">
458 <property name="label" translatable="yes">Enable indicator</property>
459 <property name="use_action_appearance">False</property>
460 <property name="visible">True</property>
461 <property name="can_focus">True</property>
462 <property name="receives_default">False</property>
463 <property name="use_action_appearance">False</property>
464 <property name="xalign">0</property>
465 <property name="draw_indicator">True</property>
468 <property name="right_attach">2</property>
469 <property name="top_attach">12</property>
470 <property name="bottom_attach">13</property>
471 <property name="x_padding">14</property>
472 <property name="y_padding">4</property>
477 <property name="resize">True</property>
478 <property name="shrink">False</property>
483 <property name="expand">True</property>
484 <property name="fill">True</property>
485 <property name="position">1</property>
491 <action-widget response="-3">btn_ok</action-widget>
492 <action-widget response="0">btn_cancel</action-widget>
495 <object class="GtkListStore" id="sensors_liststore">
497 <!-- column-name sensor_name -->
498 <column type="gchararray"/>