1 <?xml version="1.0" encoding="UTF-8"?>
3 <!-- interface-requires gtk+ 3.0 -->
4 <object class="GtkDialog" id="dialog1">
5 <property name="can_focus">False</property>
6 <property name="border_width">5</property>
7 <property name="title" translatable="yes">Edit Sensor Preferences</property>
8 <property name="modal">True</property>
9 <property name="destroy_with_parent">True</property>
10 <property name="type_hint">dialog</property>
11 <child internal-child="vbox">
12 <object class="GtkBox" id="dialog-vbox1">
13 <property name="visible">True</property>
14 <property name="can_focus">False</property>
15 <property name="spacing">2</property>
16 <child internal-child="action_area">
17 <object class="GtkButtonBox" id="dialog-action_area1">
18 <property name="visible">True</property>
19 <property name="can_focus">False</property>
20 <property name="layout_style">end</property>
22 <object class="GtkButton" id="btn_ok">
23 <property name="label">gtk-ok</property>
24 <property name="use_action_appearance">False</property>
25 <property name="visible">True</property>
26 <property name="can_focus">True</property>
27 <property name="receives_default">True</property>
28 <property name="use_action_appearance">False</property>
29 <property name="use_stock">True</property>
32 <property name="expand">False</property>
33 <property name="fill">False</property>
34 <property name="position">0</property>
38 <object class="GtkButton" id="btn_cancel">
39 <property name="label">gtk-cancel</property>
40 <property name="use_action_appearance">False</property>
41 <property name="visible">True</property>
42 <property name="can_focus">True</property>
43 <property name="receives_default">True</property>
44 <property name="use_action_appearance">False</property>
45 <property name="use_stock">True</property>
48 <property name="expand">False</property>
49 <property name="fill">False</property>
50 <property name="position">1</property>
55 <property name="expand">False</property>
56 <property name="fill">True</property>
57 <property name="pack_type">end</property>
58 <property name="position">0</property>
62 <object class="GtkHPaned" id="hpaned1">
63 <property name="visible">True</property>
64 <property name="can_focus">True</property>
66 <object class="GtkTreeView" id="sensors_list">
67 <property name="visible">True</property>
68 <property name="can_focus">True</property>
69 <property name="model">sensors_liststore</property>
70 <child internal-child="selection">
71 <object class="GtkTreeSelection" id="treeview-selection1"/>
75 <property name="resize">False</property>
76 <property name="shrink">True</property>
80 <object class="GtkTable" id="table1">
81 <property name="visible">True</property>
82 <property name="can_focus">False</property>
83 <property name="n_rows">10</property>
84 <property name="n_columns">2</property>
86 <object class="GtkLabel" id="sensor_id">
87 <property name="visible">True</property>
88 <property name="can_focus">False</property>
89 <property name="xalign">0</property>
90 <property name="label" translatable="yes">N/A</property>
93 <property name="left_attach">1</property>
94 <property name="right_attach">2</property>
95 <property name="top_attach">1</property>
96 <property name="bottom_attach">2</property>
97 <property name="x_padding">4</property>
98 <property name="y_padding">4</property>
102 <object class="GtkLabel" id="label3">
103 <property name="visible">True</property>
104 <property name="can_focus">False</property>
105 <property name="xalign">0</property>
106 <property name="xpad">10</property>
107 <property name="label" translatable="yes">Name:</property>
110 <property name="top_attach">3</property>
111 <property name="bottom_attach">4</property>
112 <property name="x_options">GTK_FILL</property>
113 <property name="x_padding">4</property>
114 <property name="y_padding">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="invisible_char_set">True</property>
123 <property name="primary_icon_activatable">False</property>
124 <property name="secondary_icon_activatable">False</property>
127 <property name="left_attach">1</property>
128 <property name="right_attach">2</property>
129 <property name="top_attach">3</property>
130 <property name="bottom_attach">4</property>
131 <property name="x_padding">4</property>
132 <property name="y_padding">4</property>
136 <object class="GtkLabel" id="label4">
137 <property name="visible">True</property>
138 <property name="can_focus">False</property>
139 <property name="xalign">0</property>
140 <property name="label" translatable="yes">Type:</property>
143 <property name="top_attach">2</property>
144 <property name="bottom_attach">3</property>
145 <property name="x_padding">14</property>
146 <property name="y_padding">4</property>
150 <object class="GtkLabel" id="sensor_type">
151 <property name="visible">True</property>
152 <property name="can_focus">False</property>
153 <property name="xalign">0</property>
154 <property name="label" translatable="yes">N/A</property>
157 <property name="left_attach">1</property>
158 <property name="right_attach">2</property>
159 <property name="top_attach">2</property>
160 <property name="bottom_attach">3</property>
161 <property name="x_padding">4</property>
162 <property name="y_padding">4</property>
166 <object class="GtkLabel" id="label2">
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">Id:</property>
173 <property name="top_attach">1</property>
174 <property name="bottom_attach">2</property>
175 <property name="x_options">GTK_FILL</property>
176 <property name="x_padding">14</property>
177 <property name="y_padding">4</property>
181 <object class="GtkLabel" id="label5">
182 <property name="visible">True</property>
183 <property name="can_focus">False</property>
184 <property name="xalign">0</property>
185 <property name="label" translatable="yes">Graph</property>
187 <attribute name="weight" value="bold"/>
191 <property name="right_attach">2</property>
192 <property name="top_attach">4</property>
193 <property name="bottom_attach">5</property>
194 <property name="x_padding">4</property>
195 <property name="y_padding">4</property>
199 <object class="GtkLabel" id="label7">
200 <property name="visible">True</property>
201 <property name="can_focus">False</property>
202 <property name="xalign">0</property>
203 <property name="label" translatable="yes">Color:</property>
206 <property name="top_attach">6</property>
207 <property name="bottom_attach">7</property>
208 <property name="x_padding">14</property>
209 <property name="y_padding">4</property>
213 <object class="GtkLabel" id="label6">
214 <property name="visible">True</property>
215 <property name="can_focus">False</property>
216 <property name="xalign">0</property>
217 <property name="label" translatable="yes">Alarm</property>
219 <attribute name="weight" value="bold"/>
223 <property name="right_attach">2</property>
224 <property name="top_attach">7</property>
225 <property name="bottom_attach">8</property>
226 <property name="x_padding">4</property>
227 <property name="y_padding">4</property>
231 <object class="GtkCheckButton" id="sensor_alarm">
232 <property name="label" translatable="yes">Activate desktop notifications</property>
233 <property name="use_action_appearance">False</property>
234 <property name="visible">True</property>
235 <property name="can_focus">True</property>
236 <property name="receives_default">False</property>
237 <property name="use_action_appearance">False</property>
238 <property name="draw_indicator">True</property>
241 <property name="right_attach">2</property>
242 <property name="top_attach">8</property>
243 <property name="bottom_attach">9</property>
244 <property name="x_padding">14</property>
245 <property name="y_padding">4</property>
249 <object class="GtkLabel" id="label8">
250 <property name="visible">True</property>
251 <property name="can_focus">False</property>
252 <property name="xalign">0</property>
253 <property name="label" translatable="yes">Temperature limit:</property>
256 <property name="top_attach">9</property>
257 <property name="bottom_attach">10</property>
258 <property name="x_options">GTK_FILL</property>
259 <property name="x_padding">14</property>
260 <property name="y_padding">4</property>
264 <object class="GtkLabel" id="label1">
265 <property name="visible">True</property>
266 <property name="can_focus">False</property>
267 <property name="xalign">0</property>
268 <property name="label" translatable="yes">Sensor Information</property>
270 <attribute name="weight" value="bold"/>
274 <property name="right_attach">2</property>
275 <property name="x_padding">4</property>
276 <property name="y_padding">4</property>
280 <object class="GtkCheckButton" id="sensor_draw">
281 <property name="label" translatable="yes">Draw sensor curve</property>
282 <property name="use_action_appearance">False</property>
283 <property name="visible">True</property>
284 <property name="can_focus">True</property>
285 <property name="receives_default">False</property>
286 <property name="use_action_appearance">False</property>
287 <property name="yalign">0.41999998688697815</property>
288 <property name="draw_indicator">True</property>
291 <property name="right_attach">2</property>
292 <property name="top_attach">5</property>
293 <property name="bottom_attach">6</property>
294 <property name="x_padding">14</property>
295 <property name="y_padding">4</property>
299 <object class="GtkHBox" id="hbox1">
300 <property name="visible">True</property>
301 <property name="can_focus">False</property>
303 <object class="GtkSpinButton" id="sensor_temp_limit">
304 <property name="visible">True</property>
305 <property name="can_focus">True</property>
306 <property name="max_length">3</property>
307 <property name="invisible_char">•</property>
308 <property name="invisible_char_set">True</property>
309 <property name="primary_icon_activatable">False</property>
310 <property name="secondary_icon_activatable">False</property>
311 <property name="adjustment">temp_limit</property>
312 <property name="climb_rate">1</property>
313 <property name="snap_to_ticks">True</property>
314 <property name="numeric">True</property>
315 <property name="update_policy">if-valid</property>
318 <property name="expand">False</property>
319 <property name="fill">True</property>
320 <property name="position">0</property>
324 <object class="GtkLabel" id="label9">
325 <property name="visible">True</property>
326 <property name="can_focus">False</property>
327 <property name="xalign">0</property>
328 <property name="label" translatable="yes">°C</property>
331 <property name="expand">True</property>
332 <property name="fill">True</property>
333 <property name="position">1</property>
338 <property name="left_attach">1</property>
339 <property name="right_attach">2</property>
340 <property name="top_attach">9</property>
341 <property name="bottom_attach">10</property>
345 <object class="GtkColorButton" id="sensor_color">
346 <property name="use_action_appearance">False</property>
347 <property name="visible">True</property>
348 <property name="can_focus">True</property>
349 <property name="receives_default">True</property>
350 <property name="use_action_appearance">False</property>
351 <property name="xalign">0</property>
352 <property name="color">#000000000000</property>
355 <property name="left_attach">1</property>
356 <property name="right_attach">2</property>
357 <property name="top_attach">6</property>
358 <property name="bottom_attach">7</property>
359 <property name="x_options"></property>
360 <property name="x_padding">4</property>
361 <property name="y_padding">4</property>
366 <property name="resize">True</property>
367 <property name="shrink">False</property>
372 <property name="expand">True</property>
373 <property name="fill">True</property>
374 <property name="position">1</property>
380 <action-widget response="-3">btn_ok</action-widget>
381 <action-widget response="0">btn_cancel</action-widget>
384 <object class="GtkListStore" id="sensors_liststore">
386 <!-- column-name sensor_name -->
387 <column type="gchararray"/>
390 <object class="GtkAdjustment" id="temp_limit">
391 <property name="upper">256</property>
392 <property name="step_increment">1</property>
393 <property name="page_increment">10</property>