1 <?xml version="1.0" encoding="UTF-8"?>
3 <requires lib="gtk+" version="2.16"/>
4 <!-- interface-naming-policy project-wide -->
5 <object class="GtkDialog" id="dialog1">
6 <property name="can_focus">False</property>
7 <property name="border_width">5</property>
8 <property name="title" translatable="yes">Edit Sensor Preferences</property>
9 <property name="modal">True</property>
10 <property name="destroy_with_parent">True</property>
11 <property name="type_hint">dialog</property>
12 <property name="has_separator">True</property>
13 <child internal-child="vbox">
14 <object class="GtkVBox" id="dialog-vbox1">
15 <property name="visible">True</property>
16 <property name="can_focus">False</property>
17 <property name="spacing">2</property>
18 <child internal-child="action_area">
19 <object class="GtkHButtonBox" id="dialog-action_area1">
20 <property name="visible">True</property>
21 <property name="can_focus">False</property>
22 <property name="layout_style">end</property>
24 <object class="GtkButton" id="btn_ok">
25 <property name="label">gtk-ok</property>
26 <property name="visible">True</property>
27 <property name="can_focus">True</property>
28 <property name="receives_default">True</property>
29 <property name="use_action_appearance">False</property>
30 <property name="use_stock">True</property>
33 <property name="expand">False</property>
34 <property name="fill">False</property>
35 <property name="position">0</property>
39 <object class="GtkButton" id="btn_cancel">
40 <property name="label">gtk-cancel</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>
72 <property name="resize">False</property>
73 <property name="shrink">True</property>
77 <object class="GtkTable" id="table1">
78 <property name="visible">True</property>
79 <property name="can_focus">False</property>
80 <property name="n_rows">10</property>
81 <property name="n_columns">2</property>
83 <object class="GtkLabel" id="sensor_id">
84 <property name="visible">True</property>
85 <property name="can_focus">False</property>
86 <property name="xalign">0</property>
87 <property name="label" translatable="yes">N/A</property>
90 <property name="left_attach">1</property>
91 <property name="right_attach">2</property>
92 <property name="top_attach">1</property>
93 <property name="bottom_attach">2</property>
94 <property name="x_padding">4</property>
95 <property name="y_padding">4</property>
99 <object class="GtkLabel" id="label3">
100 <property name="visible">True</property>
101 <property name="can_focus">False</property>
102 <property name="xalign">0</property>
103 <property name="xpad">10</property>
104 <property name="label" translatable="yes">Name:</property>
107 <property name="top_attach">3</property>
108 <property name="bottom_attach">4</property>
109 <property name="x_options">GTK_FILL</property>
110 <property name="x_padding">4</property>
111 <property name="y_padding">4</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>
122 <property name="primary_icon_sensitive">True</property>
123 <property name="secondary_icon_sensitive">True</property>
126 <property name="left_attach">1</property>
127 <property name="right_attach">2</property>
128 <property name="top_attach">3</property>
129 <property name="bottom_attach">4</property>
130 <property name="x_padding">4</property>
131 <property name="y_padding">4</property>
135 <object class="GtkLabel" id="label4">
136 <property name="visible">True</property>
137 <property name="can_focus">False</property>
138 <property name="xalign">0</property>
139 <property name="label" translatable="yes">Type:</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="label2">
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">Id:</property>
172 <property name="top_attach">1</property>
173 <property name="bottom_attach">2</property>
174 <property name="x_options">GTK_FILL</property>
175 <property name="x_padding">14</property>
176 <property name="y_padding">4</property>
180 <object class="GtkLabel" id="label5">
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">Graph</property>
186 <attribute name="weight" value="bold"/>
190 <property name="right_attach">2</property>
191 <property name="top_attach">4</property>
192 <property name="bottom_attach">5</property>
193 <property name="x_padding">4</property>
194 <property name="y_padding">4</property>
198 <object class="GtkLabel" id="label7">
199 <property name="visible">True</property>
200 <property name="can_focus">False</property>
201 <property name="xalign">0</property>
202 <property name="label" translatable="yes">Color:</property>
205 <property name="top_attach">6</property>
206 <property name="bottom_attach">7</property>
207 <property name="x_padding">14</property>
208 <property name="y_padding">4</property>
212 <object class="GtkLabel" id="label6">
213 <property name="visible">True</property>
214 <property name="can_focus">False</property>
215 <property name="xalign">0</property>
216 <property name="label" translatable="yes">Alarm</property>
218 <attribute name="weight" value="bold"/>
222 <property name="right_attach">2</property>
223 <property name="top_attach">7</property>
224 <property name="bottom_attach">8</property>
225 <property name="x_padding">4</property>
226 <property name="y_padding">4</property>
230 <object class="GtkCheckButton" id="sensor_alarm">
231 <property name="label" translatable="yes">Activate desktop notifications</property>
232 <property name="visible">True</property>
233 <property name="can_focus">True</property>
234 <property name="receives_default">False</property>
235 <property name="use_action_appearance">False</property>
236 <property name="draw_indicator">True</property>
239 <property name="right_attach">2</property>
240 <property name="top_attach">8</property>
241 <property name="bottom_attach">9</property>
242 <property name="x_padding">14</property>
243 <property name="y_padding">4</property>
247 <object class="GtkLabel" id="label8">
248 <property name="visible">True</property>
249 <property name="can_focus">False</property>
250 <property name="xalign">0</property>
251 <property name="label" translatable="yes">Temperature limit:</property>
254 <property name="top_attach">9</property>
255 <property name="bottom_attach">10</property>
256 <property name="x_options">GTK_FILL</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="visible">True</property>
281 <property name="can_focus">True</property>
282 <property name="receives_default">False</property>
283 <property name="use_action_appearance">False</property>
284 <property name="yalign">0.41999998688697815</property>
285 <property name="draw_indicator">True</property>
288 <property name="right_attach">2</property>
289 <property name="top_attach">5</property>
290 <property name="bottom_attach">6</property>
291 <property name="x_padding">14</property>
292 <property name="y_padding">4</property>
296 <object class="GtkHBox" id="hbox1">
297 <property name="visible">True</property>
298 <property name="can_focus">False</property>
300 <object class="GtkSpinButton" id="sensor_temp_limit">
301 <property name="visible">True</property>
302 <property name="can_focus">True</property>
303 <property name="max_length">3</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="primary_icon_sensitive">True</property>
309 <property name="secondary_icon_sensitive">True</property>
310 <property name="adjustment">temp_limit</property>
311 <property name="climb_rate">1</property>
312 <property name="snap_to_ticks">True</property>
313 <property name="numeric">True</property>
314 <property name="update_policy">if-valid</property>
317 <property name="expand">False</property>
318 <property name="fill">True</property>
319 <property name="position">0</property>
323 <object class="GtkLabel" id="label9">
324 <property name="visible">True</property>
325 <property name="can_focus">False</property>
326 <property name="xalign">0</property>
327 <property name="label" translatable="yes">°C</property>
330 <property name="expand">True</property>
331 <property name="fill">True</property>
332 <property name="position">1</property>
337 <property name="left_attach">1</property>
338 <property name="right_attach">2</property>
339 <property name="top_attach">9</property>
340 <property name="bottom_attach">10</property>
344 <object class="GtkColorButton" id="sensor_color">
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>
364 <property name="resize">True</property>
365 <property name="shrink">False</property>
370 <property name="expand">True</property>
371 <property name="fill">True</property>
372 <property name="position">1</property>
378 <action-widget response="-3">btn_ok</action-widget>
379 <action-widget response="0">btn_cancel</action-widget>
382 <object class="GtkListStore" id="sensors_liststore">
384 <!-- column-name sensor_name -->
385 <column type="gchararray"/>
388 <object class="GtkAdjustment" id="temp_limit">
389 <property name="upper">256</property>
390 <property name="step_increment">1</property>
391 <property name="page_increment">10</property>