added low thresold + renamed temperature limit to high thresold
[psensor.git] / src / glade / sensor-edit.glade
1 <?xml version="1.0" encoding="UTF-8"?>
2 <interface>
3   <!-- interface-requires gtk+ 3.0 -->
4   <object class="GtkAdjustment" id="alarm_low_thresold_value">
5     <property name="upper">256</property>
6     <property name="step_increment">1</property>
7     <property name="page_increment">10</property>
8   </object>
9   <object class="GtkDialog" id="dialog1">
10     <property name="can_focus">False</property>
11     <property name="border_width">5</property>
12     <property name="title" translatable="yes">Edit Sensor Preferences</property>
13     <property name="modal">True</property>
14     <property name="destroy_with_parent">True</property>
15     <property name="type_hint">dialog</property>
16     <child internal-child="vbox">
17       <object class="GtkBox" id="dialog-vbox1">
18         <property name="visible">True</property>
19         <property name="can_focus">False</property>
20         <property name="spacing">2</property>
21         <child internal-child="action_area">
22           <object class="GtkButtonBox" id="dialog-action_area1">
23             <property name="visible">True</property>
24             <property name="can_focus">False</property>
25             <property name="layout_style">end</property>
26             <child>
27               <object class="GtkButton" id="btn_ok">
28                 <property name="label">gtk-ok</property>
29                 <property name="use_action_appearance">False</property>
30                 <property name="visible">True</property>
31                 <property name="can_focus">True</property>
32                 <property name="receives_default">True</property>
33                 <property name="use_action_appearance">False</property>
34                 <property name="use_stock">True</property>
35               </object>
36               <packing>
37                 <property name="expand">False</property>
38                 <property name="fill">False</property>
39                 <property name="position">0</property>
40               </packing>
41             </child>
42             <child>
43               <object class="GtkButton" id="btn_cancel">
44                 <property name="label">gtk-cancel</property>
45                 <property name="use_action_appearance">False</property>
46                 <property name="visible">True</property>
47                 <property name="can_focus">True</property>
48                 <property name="receives_default">True</property>
49                 <property name="use_action_appearance">False</property>
50                 <property name="use_stock">True</property>
51               </object>
52               <packing>
53                 <property name="expand">False</property>
54                 <property name="fill">False</property>
55                 <property name="position">1</property>
56               </packing>
57             </child>
58           </object>
59           <packing>
60             <property name="expand">False</property>
61             <property name="fill">True</property>
62             <property name="pack_type">end</property>
63             <property name="position">0</property>
64           </packing>
65         </child>
66         <child>
67           <object class="GtkHPaned" id="hpaned1">
68             <property name="visible">True</property>
69             <property name="can_focus">True</property>
70             <child>
71               <object class="GtkTreeView" id="sensors_list">
72                 <property name="visible">True</property>
73                 <property name="can_focus">True</property>
74                 <property name="model">sensors_liststore</property>
75                 <child internal-child="selection">
76                   <object class="GtkTreeSelection" id="treeview-selection1"/>
77                 </child>
78               </object>
79               <packing>
80                 <property name="resize">False</property>
81                 <property name="shrink">True</property>
82               </packing>
83             </child>
84             <child>
85               <object class="GtkTable" id="table1">
86                 <property name="visible">True</property>
87                 <property name="can_focus">False</property>
88                 <property name="n_rows">11</property>
89                 <property name="n_columns">2</property>
90                 <child>
91                   <object class="GtkLabel" id="sensor_id">
92                     <property name="visible">True</property>
93                     <property name="can_focus">False</property>
94                     <property name="xalign">0</property>
95                     <property name="label" translatable="yes">N/A</property>
96                   </object>
97                   <packing>
98                     <property name="left_attach">1</property>
99                     <property name="right_attach">2</property>
100                     <property name="top_attach">1</property>
101                     <property name="bottom_attach">2</property>
102                     <property name="x_padding">4</property>
103                     <property name="y_padding">4</property>
104                   </packing>
105                 </child>
106                 <child>
107                   <object class="GtkLabel" id="label3">
108                     <property name="visible">True</property>
109                     <property name="can_focus">False</property>
110                     <property name="xalign">0</property>
111                     <property name="xpad">10</property>
112                     <property name="label" translatable="yes">Name:</property>
113                   </object>
114                   <packing>
115                     <property name="top_attach">3</property>
116                     <property name="bottom_attach">4</property>
117                     <property name="x_options">GTK_FILL</property>
118                     <property name="x_padding">4</property>
119                     <property name="y_padding">4</property>
120                   </packing>
121                 </child>
122                 <child>
123                   <object class="GtkEntry" id="sensor_name">
124                     <property name="visible">True</property>
125                     <property name="can_focus">True</property>
126                     <property name="invisible_char">•</property>
127                     <property name="invisible_char_set">True</property>
128                     <property name="primary_icon_activatable">False</property>
129                     <property name="secondary_icon_activatable">False</property>
130                   </object>
131                   <packing>
132                     <property name="left_attach">1</property>
133                     <property name="right_attach">2</property>
134                     <property name="top_attach">3</property>
135                     <property name="bottom_attach">4</property>
136                     <property name="x_padding">4</property>
137                     <property name="y_padding">4</property>
138                   </packing>
139                 </child>
140                 <child>
141                   <object class="GtkLabel" id="label4">
142                     <property name="visible">True</property>
143                     <property name="can_focus">False</property>
144                     <property name="xalign">0</property>
145                     <property name="label" translatable="yes">Type:</property>
146                   </object>
147                   <packing>
148                     <property name="top_attach">2</property>
149                     <property name="bottom_attach">3</property>
150                     <property name="x_padding">14</property>
151                     <property name="y_padding">4</property>
152                   </packing>
153                 </child>
154                 <child>
155                   <object class="GtkLabel" id="sensor_type">
156                     <property name="visible">True</property>
157                     <property name="can_focus">False</property>
158                     <property name="xalign">0</property>
159                     <property name="label" translatable="yes">N/A</property>
160                   </object>
161                   <packing>
162                     <property name="left_attach">1</property>
163                     <property name="right_attach">2</property>
164                     <property name="top_attach">2</property>
165                     <property name="bottom_attach">3</property>
166                     <property name="x_padding">4</property>
167                     <property name="y_padding">4</property>
168                   </packing>
169                 </child>
170                 <child>
171                   <object class="GtkLabel" id="label2">
172                     <property name="visible">True</property>
173                     <property name="can_focus">False</property>
174                     <property name="xalign">0</property>
175                     <property name="label" translatable="yes">Id:</property>
176                   </object>
177                   <packing>
178                     <property name="top_attach">1</property>
179                     <property name="bottom_attach">2</property>
180                     <property name="x_options">GTK_FILL</property>
181                     <property name="x_padding">14</property>
182                     <property name="y_padding">4</property>
183                   </packing>
184                 </child>
185                 <child>
186                   <object class="GtkLabel" id="label5">
187                     <property name="visible">True</property>
188                     <property name="can_focus">False</property>
189                     <property name="xalign">0</property>
190                     <property name="label" translatable="yes">Graph</property>
191                     <attributes>
192                       <attribute name="weight" value="bold"/>
193                     </attributes>
194                   </object>
195                   <packing>
196                     <property name="right_attach">2</property>
197                     <property name="top_attach">4</property>
198                     <property name="bottom_attach">5</property>
199                     <property name="x_padding">4</property>
200                     <property name="y_padding">4</property>
201                   </packing>
202                 </child>
203                 <child>
204                   <object class="GtkLabel" id="label7">
205                     <property name="visible">True</property>
206                     <property name="can_focus">False</property>
207                     <property name="xalign">0</property>
208                     <property name="label" translatable="yes">Color:</property>
209                   </object>
210                   <packing>
211                     <property name="top_attach">6</property>
212                     <property name="bottom_attach">7</property>
213                     <property name="x_padding">14</property>
214                     <property name="y_padding">4</property>
215                   </packing>
216                 </child>
217                 <child>
218                   <object class="GtkLabel" id="label6">
219                     <property name="visible">True</property>
220                     <property name="can_focus">False</property>
221                     <property name="xalign">0</property>
222                     <property name="label" translatable="yes">Alarm</property>
223                     <attributes>
224                       <attribute name="weight" value="bold"/>
225                     </attributes>
226                   </object>
227                   <packing>
228                     <property name="right_attach">2</property>
229                     <property name="top_attach">7</property>
230                     <property name="bottom_attach">8</property>
231                     <property name="x_padding">4</property>
232                     <property name="y_padding">4</property>
233                   </packing>
234                 </child>
235                 <child>
236                   <object class="GtkCheckButton" id="sensor_alarm">
237                     <property name="label" translatable="yes">Activate desktop notifications</property>
238                     <property name="use_action_appearance">False</property>
239                     <property name="visible">True</property>
240                     <property name="can_focus">True</property>
241                     <property name="receives_default">False</property>
242                     <property name="use_action_appearance">False</property>
243                     <property name="draw_indicator">True</property>
244                   </object>
245                   <packing>
246                     <property name="right_attach">2</property>
247                     <property name="top_attach">8</property>
248                     <property name="bottom_attach">9</property>
249                     <property name="x_padding">14</property>
250                     <property name="y_padding">4</property>
251                   </packing>
252                 </child>
253                 <child>
254                   <object class="GtkLabel" id="label1">
255                     <property name="visible">True</property>
256                     <property name="can_focus">False</property>
257                     <property name="xalign">0</property>
258                     <property name="label" translatable="yes">Sensor Information</property>
259                     <attributes>
260                       <attribute name="weight" value="bold"/>
261                     </attributes>
262                   </object>
263                   <packing>
264                     <property name="right_attach">2</property>
265                     <property name="x_padding">4</property>
266                     <property name="y_padding">4</property>
267                   </packing>
268                 </child>
269                 <child>
270                   <object class="GtkCheckButton" id="sensor_draw">
271                     <property name="label" translatable="yes">Draw sensor curve</property>
272                     <property name="use_action_appearance">False</property>
273                     <property name="visible">True</property>
274                     <property name="can_focus">True</property>
275                     <property name="receives_default">False</property>
276                     <property name="use_action_appearance">False</property>
277                     <property name="yalign">0.41999998688697815</property>
278                     <property name="draw_indicator">True</property>
279                   </object>
280                   <packing>
281                     <property name="right_attach">2</property>
282                     <property name="top_attach">5</property>
283                     <property name="bottom_attach">6</property>
284                     <property name="x_padding">14</property>
285                     <property name="y_padding">4</property>
286                   </packing>
287                 </child>
288                 <child>
289                   <object class="GtkHBox" id="hbox1">
290                     <property name="visible">True</property>
291                     <property name="can_focus">False</property>
292                     <child>
293                       <object class="GtkSpinButton" id="sensor_temp_limit">
294                         <property name="visible">True</property>
295                         <property name="can_focus">True</property>
296                         <property name="max_length">2</property>
297                         <property name="invisible_char">•</property>
298                         <property name="invisible_char_set">True</property>
299                         <property name="primary_icon_activatable">False</property>
300                         <property name="secondary_icon_activatable">False</property>
301                         <property name="adjustment">temp_limit</property>
302                         <property name="climb_rate">1</property>
303                         <property name="snap_to_ticks">True</property>
304                         <property name="numeric">True</property>
305                         <property name="update_policy">if-valid</property>
306                       </object>
307                       <packing>
308                         <property name="expand">False</property>
309                         <property name="fill">True</property>
310                         <property name="position">0</property>
311                       </packing>
312                     </child>
313                     <child>
314                       <object class="GtkLabel" id="sensor_temp_unit">
315                         <property name="visible">True</property>
316                         <property name="can_focus">False</property>
317                         <property name="valign">start</property>
318                         <property name="xalign">0</property>
319                         <property name="label" translatable="yes">N/A</property>
320                       </object>
321                       <packing>
322                         <property name="expand">True</property>
323                         <property name="fill">True</property>
324                         <property name="position">1</property>
325                       </packing>
326                     </child>
327                   </object>
328                   <packing>
329                     <property name="left_attach">1</property>
330                     <property name="right_attach">2</property>
331                     <property name="top_attach">9</property>
332                     <property name="bottom_attach">10</property>
333                   </packing>
334                 </child>
335                 <child>
336                   <object class="GtkColorButton" id="sensor_color">
337                     <property name="use_action_appearance">False</property>
338                     <property name="visible">True</property>
339                     <property name="can_focus">True</property>
340                     <property name="receives_default">True</property>
341                     <property name="use_action_appearance">False</property>
342                     <property name="xalign">0</property>
343                     <property name="color">#000000000000</property>
344                   </object>
345                   <packing>
346                     <property name="left_attach">1</property>
347                     <property name="right_attach">2</property>
348                     <property name="top_attach">6</property>
349                     <property name="bottom_attach">7</property>
350                     <property name="x_options"></property>
351                     <property name="x_padding">4</property>
352                     <property name="y_padding">4</property>
353                   </packing>
354                 </child>
355                 <child>
356                   <object class="GtkLabel" id="alarm_high_thresold_label">
357                     <property name="visible">True</property>
358                     <property name="can_focus">False</property>
359                     <property name="xalign">0.0099999997764825821</property>
360                     <property name="label" translatable="yes">High thresold:</property>
361                   </object>
362                   <packing>
363                     <property name="top_attach">9</property>
364                     <property name="bottom_attach">10</property>
365                     <property name="x_options">GTK_FILL</property>
366                     <property name="x_padding">14</property>
367                     <property name="y_padding">4</property>
368                   </packing>
369                 </child>
370                 <child>
371                   <object class="GtkLabel" id="alarm_low_thresold_label">
372                     <property name="visible">True</property>
373                     <property name="can_focus">False</property>
374                     <property name="xalign">0.0099999997764825821</property>
375                     <property name="label" translatable="yes">Low thresold:</property>
376                   </object>
377                   <packing>
378                     <property name="top_attach">10</property>
379                     <property name="bottom_attach">11</property>
380                     <property name="x_options">GTK_FILL</property>
381                     <property name="x_padding">14</property>
382                     <property name="y_padding">4</property>
383                   </packing>
384                 </child>
385                 <child>
386                   <object class="GtkHBox" id="alarm_low_thresold_box">
387                     <property name="visible">True</property>
388                     <property name="can_focus">False</property>
389                     <child>
390                       <object class="GtkSpinButton" id="alarm_low_thresold">
391                         <property name="visible">True</property>
392                         <property name="can_focus">True</property>
393                         <property name="max_length">2</property>
394                         <property name="invisible_char">•</property>
395                         <property name="invisible_char_set">True</property>
396                         <property name="primary_icon_activatable">False</property>
397                         <property name="secondary_icon_activatable">False</property>
398                         <property name="adjustment">alarm_low_thresold_value</property>
399                         <property name="climb_rate">1</property>
400                         <property name="snap_to_ticks">True</property>
401                         <property name="numeric">True</property>
402                         <property name="update_policy">if-valid</property>
403                       </object>
404                       <packing>
405                         <property name="expand">False</property>
406                         <property name="fill">True</property>
407                         <property name="position">0</property>
408                       </packing>
409                     </child>
410                     <child>
411                       <object class="GtkLabel" id="alarm_low_thresold_unit">
412                         <property name="visible">True</property>
413                         <property name="can_focus">False</property>
414                         <property name="valign">start</property>
415                         <property name="xalign">0</property>
416                         <property name="label" translatable="yes">N/A</property>
417                       </object>
418                       <packing>
419                         <property name="expand">True</property>
420                         <property name="fill">True</property>
421                         <property name="position">1</property>
422                       </packing>
423                     </child>
424                   </object>
425                   <packing>
426                     <property name="left_attach">1</property>
427                     <property name="right_attach">2</property>
428                     <property name="top_attach">10</property>
429                     <property name="bottom_attach">11</property>
430                   </packing>
431                 </child>
432               </object>
433               <packing>
434                 <property name="resize">True</property>
435                 <property name="shrink">False</property>
436               </packing>
437             </child>
438           </object>
439           <packing>
440             <property name="expand">True</property>
441             <property name="fill">True</property>
442             <property name="position">1</property>
443           </packing>
444         </child>
445       </object>
446     </child>
447     <action-widgets>
448       <action-widget response="-3">btn_ok</action-widget>
449       <action-widget response="0">btn_cancel</action-widget>
450     </action-widgets>
451   </object>
452   <object class="GtkListStore" id="sensors_liststore">
453     <columns>
454       <!-- column-name sensor_name -->
455       <column type="gchararray"/>
456     </columns>
457   </object>
458   <object class="GtkAdjustment" id="temp_limit">
459     <property name="upper">256</property>
460     <property name="step_increment">1</property>
461     <property name="page_increment">10</property>
462   </object>
463 </interface>