added fan alerts support
[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_high_thresold_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>
9   </object>
10   <object class="GtkAdjustment" id="alarm_low_thresold_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>
15   </object>
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>
33             <child>
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>
42               </object>
43               <packing>
44                 <property name="expand">False</property>
45                 <property name="fill">False</property>
46                 <property name="position">0</property>
47               </packing>
48             </child>
49             <child>
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>
58               </object>
59               <packing>
60                 <property name="expand">False</property>
61                 <property name="fill">False</property>
62                 <property name="position">1</property>
63               </packing>
64             </child>
65           </object>
66           <packing>
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>
71           </packing>
72         </child>
73         <child>
74           <object class="GtkHPaned" id="hpaned1">
75             <property name="visible">True</property>
76             <property name="can_focus">True</property>
77             <child>
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"/>
84                 </child>
85               </object>
86               <packing>
87                 <property name="resize">False</property>
88                 <property name="shrink">True</property>
89               </packing>
90             </child>
91             <child>
92               <object class="GtkTable" id="table1">
93                 <property name="visible">True</property>
94                 <property name="can_focus">False</property>
95                 <property name="n_rows">11</property>
96                 <property name="n_columns">2</property>
97                 <child>
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>
103                   </object>
104                   <packing>
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>
111                   </packing>
112                 </child>
113                 <child>
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>
120                   </object>
121                   <packing>
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>
127                   </packing>
128                 </child>
129                 <child>
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>
137                   </object>
138                   <packing>
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>
145                   </packing>
146                 </child>
147                 <child>
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>
153                   </object>
154                   <packing>
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>
159                   </packing>
160                 </child>
161                 <child>
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>
167                   </object>
168                   <packing>
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>
175                   </packing>
176                 </child>
177                 <child>
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>
183                   </object>
184                   <packing>
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>
190                   </packing>
191                 </child>
192                 <child>
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>
198                     <attributes>
199                       <attribute name="weight" value="bold"/>
200                     </attributes>
201                   </object>
202                   <packing>
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>
208                   </packing>
209                 </child>
210                 <child>
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>
216                   </object>
217                   <packing>
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>
222                   </packing>
223                 </child>
224                 <child>
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>
230                     <attributes>
231                       <attribute name="weight" value="bold"/>
232                     </attributes>
233                   </object>
234                   <packing>
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>
240                   </packing>
241                 </child>
242                 <child>
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="draw_indicator">True</property>
251                   </object>
252                   <packing>
253                     <property name="right_attach">2</property>
254                     <property name="top_attach">8</property>
255                     <property name="bottom_attach">9</property>
256                     <property name="x_padding">14</property>
257                     <property name="y_padding">4</property>
258                   </packing>
259                 </child>
260                 <child>
261                   <object class="GtkLabel" id="label1">
262                     <property name="visible">True</property>
263                     <property name="can_focus">False</property>
264                     <property name="xalign">0</property>
265                     <property name="label" translatable="yes">Sensor Information</property>
266                     <attributes>
267                       <attribute name="weight" value="bold"/>
268                     </attributes>
269                   </object>
270                   <packing>
271                     <property name="right_attach">2</property>
272                     <property name="x_padding">4</property>
273                     <property name="y_padding">4</property>
274                   </packing>
275                 </child>
276                 <child>
277                   <object class="GtkCheckButton" id="sensor_draw">
278                     <property name="label" translatable="yes">Draw sensor curve</property>
279                     <property name="use_action_appearance">False</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>
286                   </object>
287                   <packing>
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>
293                   </packing>
294                 </child>
295                 <child>
296                   <object class="GtkHBox" id="hbox1">
297                     <property name="visible">True</property>
298                     <property name="can_focus">False</property>
299                     <child>
300                       <object class="GtkSpinButton" id="sensor_alarm_high_thresold">
301                         <property name="visible">True</property>
302                         <property name="can_focus">True</property>
303                         <property name="invisible_char">•</property>
304                         <property name="invisible_char_set">True</property>
305                         <property name="primary_icon_activatable">False</property>
306                         <property name="secondary_icon_activatable">False</property>
307                         <property name="adjustment">alarm_high_thresold_value</property>
308                         <property name="climb_rate">1</property>
309                         <property name="snap_to_ticks">True</property>
310                         <property name="numeric">True</property>
311                         <property name="update_policy">if-valid</property>
312                       </object>
313                       <packing>
314                         <property name="expand">False</property>
315                         <property name="fill">True</property>
316                         <property name="position">0</property>
317                       </packing>
318                     </child>
319                     <child>
320                       <object class="GtkLabel" id="sensor_alarm_high_thresold_unit">
321                         <property name="visible">True</property>
322                         <property name="can_focus">False</property>
323                         <property name="valign">start</property>
324                         <property name="xalign">0</property>
325                         <property name="label" translatable="yes">N/A</property>
326                       </object>
327                       <packing>
328                         <property name="expand">True</property>
329                         <property name="fill">True</property>
330                         <property name="position">1</property>
331                       </packing>
332                     </child>
333                   </object>
334                   <packing>
335                     <property name="left_attach">1</property>
336                     <property name="right_attach">2</property>
337                     <property name="top_attach">9</property>
338                     <property name="bottom_attach">10</property>
339                   </packing>
340                 </child>
341                 <child>
342                   <object class="GtkColorButton" id="sensor_color">
343                     <property name="use_action_appearance">False</property>
344                     <property name="visible">True</property>
345                     <property name="can_focus">True</property>
346                     <property name="receives_default">True</property>
347                     <property name="use_action_appearance">False</property>
348                     <property name="xalign">0</property>
349                     <property name="color">#000000000000</property>
350                   </object>
351                   <packing>
352                     <property name="left_attach">1</property>
353                     <property name="right_attach">2</property>
354                     <property name="top_attach">6</property>
355                     <property name="bottom_attach">7</property>
356                     <property name="x_options"></property>
357                     <property name="x_padding">4</property>
358                     <property name="y_padding">4</property>
359                   </packing>
360                 </child>
361                 <child>
362                   <object class="GtkLabel" id="alarm_high_thresold_label">
363                     <property name="visible">True</property>
364                     <property name="can_focus">False</property>
365                     <property name="xalign">0.0099999997764825821</property>
366                     <property name="label" translatable="yes">High thresold:</property>
367                   </object>
368                   <packing>
369                     <property name="top_attach">9</property>
370                     <property name="bottom_attach">10</property>
371                     <property name="x_options">GTK_FILL</property>
372                     <property name="x_padding">14</property>
373                     <property name="y_padding">4</property>
374                   </packing>
375                 </child>
376                 <child>
377                   <object class="GtkLabel" id="alarm_low_thresold_label">
378                     <property name="visible">True</property>
379                     <property name="can_focus">False</property>
380                     <property name="xalign">0.0099999997764825821</property>
381                     <property name="label" translatable="yes">Low thresold:</property>
382                   </object>
383                   <packing>
384                     <property name="top_attach">10</property>
385                     <property name="bottom_attach">11</property>
386                     <property name="x_options">GTK_FILL</property>
387                     <property name="x_padding">14</property>
388                     <property name="y_padding">4</property>
389                   </packing>
390                 </child>
391                 <child>
392                   <object class="GtkHBox" id="alarm_low_thresold_box">
393                     <property name="visible">True</property>
394                     <property name="can_focus">False</property>
395                     <child>
396                       <object class="GtkSpinButton" id="sensor_alarm_low_thresold">
397                         <property name="visible">True</property>
398                         <property name="can_focus">True</property>
399                         <property name="invisible_char">•</property>
400                         <property name="invisible_char_set">True</property>
401                         <property name="primary_icon_activatable">False</property>
402                         <property name="secondary_icon_activatable">False</property>
403                         <property name="adjustment">alarm_low_thresold_value</property>
404                         <property name="climb_rate">1</property>
405                         <property name="snap_to_ticks">True</property>
406                         <property name="numeric">True</property>
407                         <property name="update_policy">if-valid</property>
408                       </object>
409                       <packing>
410                         <property name="expand">False</property>
411                         <property name="fill">True</property>
412                         <property name="position">0</property>
413                       </packing>
414                     </child>
415                     <child>
416                       <object class="GtkLabel" id="sensor_alarm_low_thresold_unit">
417                         <property name="visible">True</property>
418                         <property name="can_focus">False</property>
419                         <property name="valign">start</property>
420                         <property name="xalign">0</property>
421                         <property name="label" translatable="yes">N/A</property>
422                       </object>
423                       <packing>
424                         <property name="expand">True</property>
425                         <property name="fill">True</property>
426                         <property name="position">1</property>
427                       </packing>
428                     </child>
429                   </object>
430                   <packing>
431                     <property name="left_attach">1</property>
432                     <property name="right_attach">2</property>
433                     <property name="top_attach">10</property>
434                     <property name="bottom_attach">11</property>
435                   </packing>
436                 </child>
437               </object>
438               <packing>
439                 <property name="resize">True</property>
440                 <property name="shrink">False</property>
441               </packing>
442             </child>
443           </object>
444           <packing>
445             <property name="expand">True</property>
446             <property name="fill">True</property>
447             <property name="position">1</property>
448           </packing>
449         </child>
450       </object>
451     </child>
452     <action-widgets>
453       <action-widget response="-3">btn_ok</action-widget>
454       <action-widget response="0">btn_cancel</action-widget>
455     </action-widgets>
456   </object>
457   <object class="GtkListStore" id="sensors_liststore">
458     <columns>
459       <!-- column-name sensor_name -->
460       <column type="gchararray"/>
461     </columns>
462   </object>
463 </interface>