import psensor trunk from private svn
[psensor.git] / src / glade / sensor-edit.glade
1 <?xml version="1.0" encoding="UTF-8"?>
2 <interface>
3   <requires lib="gtk+" version="2.16"/>
4   <!-- interface-naming-policy project-wide -->
5   <object class="GtkDialog" id="dialog1">
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     <property name="has_separator">True</property>
12     <child internal-child="vbox">
13       <object class="GtkVBox" id="dialog-vbox1">
14         <property name="visible">True</property>
15         <property name="spacing">2</property>
16         <child>
17           <object class="GtkTable" id="table1">
18             <property name="visible">True</property>
19             <property name="n_rows">10</property>
20             <property name="n_columns">2</property>
21             <child>
22               <object class="GtkLabel" id="sensor_id">
23                 <property name="visible">True</property>
24                 <property name="xalign">0</property>
25                 <property name="label" translatable="yes">N/A</property>
26               </object>
27               <packing>
28                 <property name="left_attach">1</property>
29                 <property name="right_attach">2</property>
30                 <property name="top_attach">1</property>
31                 <property name="bottom_attach">2</property>
32                 <property name="x_padding">4</property>
33                 <property name="y_padding">4</property>
34               </packing>
35             </child>
36             <child>
37               <object class="GtkLabel" id="label3">
38                 <property name="visible">True</property>
39                 <property name="xalign">0</property>
40                 <property name="xpad">10</property>
41                 <property name="label" translatable="yes">Name:</property>
42               </object>
43               <packing>
44                 <property name="top_attach">3</property>
45                 <property name="bottom_attach">4</property>
46                 <property name="x_options">GTK_FILL</property>
47                 <property name="x_padding">4</property>
48                 <property name="y_padding">4</property>
49               </packing>
50             </child>
51             <child>
52               <object class="GtkEntry" id="sensor_name">
53                 <property name="visible">True</property>
54                 <property name="can_focus">True</property>
55                 <property name="invisible_char">•</property>
56               </object>
57               <packing>
58                 <property name="left_attach">1</property>
59                 <property name="right_attach">2</property>
60                 <property name="top_attach">3</property>
61                 <property name="bottom_attach">4</property>
62                 <property name="x_padding">4</property>
63                 <property name="y_padding">4</property>
64               </packing>
65             </child>
66             <child>
67               <object class="GtkLabel" id="label4">
68                 <property name="visible">True</property>
69                 <property name="xalign">0</property>
70                 <property name="label" translatable="yes">Type:</property>
71               </object>
72               <packing>
73                 <property name="top_attach">2</property>
74                 <property name="bottom_attach">3</property>
75                 <property name="x_padding">14</property>
76                 <property name="y_padding">4</property>
77               </packing>
78             </child>
79             <child>
80               <object class="GtkLabel" id="sensor_type">
81                 <property name="visible">True</property>
82                 <property name="xalign">0</property>
83                 <property name="label" translatable="yes">N/A</property>
84               </object>
85               <packing>
86                 <property name="left_attach">1</property>
87                 <property name="right_attach">2</property>
88                 <property name="top_attach">2</property>
89                 <property name="bottom_attach">3</property>
90                 <property name="x_padding">4</property>
91                 <property name="y_padding">4</property>
92               </packing>
93             </child>
94             <child>
95               <object class="GtkLabel" id="label2">
96                 <property name="visible">True</property>
97                 <property name="xalign">0</property>
98                 <property name="label" translatable="yes">Id:</property>
99               </object>
100               <packing>
101                 <property name="top_attach">1</property>
102                 <property name="bottom_attach">2</property>
103                 <property name="x_options">GTK_FILL</property>
104                 <property name="x_padding">14</property>
105                 <property name="y_padding">4</property>
106               </packing>
107             </child>
108             <child>
109               <object class="GtkLabel" id="label5">
110                 <property name="visible">True</property>
111                 <property name="xalign">0</property>
112                 <property name="label" translatable="yes">Graph</property>
113                 <attributes>
114                   <attribute name="weight" value="bold"/>
115                 </attributes>
116               </object>
117               <packing>
118                 <property name="right_attach">2</property>
119                 <property name="top_attach">4</property>
120                 <property name="bottom_attach">5</property>
121                 <property name="x_padding">4</property>
122                 <property name="y_padding">4</property>
123               </packing>
124             </child>
125             <child>
126               <object class="GtkLabel" id="label7">
127                 <property name="visible">True</property>
128                 <property name="xalign">0</property>
129                 <property name="label" translatable="yes">Color:</property>
130               </object>
131               <packing>
132                 <property name="top_attach">6</property>
133                 <property name="bottom_attach">7</property>
134                 <property name="x_padding">14</property>
135                 <property name="y_padding">4</property>
136               </packing>
137             </child>
138             <child>
139               <object class="GtkLabel" id="label6">
140                 <property name="visible">True</property>
141                 <property name="xalign">0</property>
142                 <property name="label" translatable="yes">Alarm</property>
143                 <attributes>
144                   <attribute name="weight" value="bold"/>
145                 </attributes>
146               </object>
147               <packing>
148                 <property name="right_attach">2</property>
149                 <property name="top_attach">7</property>
150                 <property name="bottom_attach">8</property>
151                 <property name="x_padding">4</property>
152                 <property name="y_padding">4</property>
153               </packing>
154             </child>
155             <child>
156               <object class="GtkCheckButton" id="sensor_alarm">
157                 <property name="label" translatable="yes">Activate desktop notifications</property>
158                 <property name="visible">True</property>
159                 <property name="can_focus">True</property>
160                 <property name="receives_default">False</property>
161                 <property name="draw_indicator">True</property>
162               </object>
163               <packing>
164                 <property name="right_attach">2</property>
165                 <property name="top_attach">8</property>
166                 <property name="bottom_attach">9</property>
167                 <property name="x_padding">14</property>
168                 <property name="y_padding">4</property>
169               </packing>
170             </child>
171             <child>
172               <object class="GtkLabel" id="label8">
173                 <property name="visible">True</property>
174                 <property name="xalign">0</property>
175                 <property name="label" translatable="yes">Temperature limit:</property>
176               </object>
177               <packing>
178                 <property name="top_attach">9</property>
179                 <property name="bottom_attach">10</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="label1">
187                 <property name="visible">True</property>
188                 <property name="xalign">0</property>
189                 <property name="label" translatable="yes">Sensor Information</property>
190                 <attributes>
191                   <attribute name="weight" value="bold"/>
192                 </attributes>
193               </object>
194               <packing>
195                 <property name="right_attach">2</property>
196                 <property name="x_padding">4</property>
197                 <property name="y_padding">4</property>
198               </packing>
199             </child>
200             <child>
201               <object class="GtkCheckButton" id="sensor_draw">
202                 <property name="label" translatable="yes">Draw sensor curve</property>
203                 <property name="visible">True</property>
204                 <property name="can_focus">True</property>
205                 <property name="receives_default">False</property>
206                 <property name="yalign">0.41999998688697815</property>
207                 <property name="draw_indicator">True</property>
208               </object>
209               <packing>
210                 <property name="right_attach">2</property>
211                 <property name="top_attach">5</property>
212                 <property name="bottom_attach">6</property>
213                 <property name="x_padding">14</property>
214                 <property name="y_padding">4</property>
215               </packing>
216             </child>
217             <child>
218               <object class="GtkHBox" id="hbox1">
219                 <property name="visible">True</property>
220                 <child>
221                   <object class="GtkSpinButton" id="sensor_temp_limit">
222                     <property name="visible">True</property>
223                     <property name="can_focus">True</property>
224                     <property name="max_length">3</property>
225                     <property name="invisible_char">•</property>
226                     <property name="adjustment">temp_limit</property>
227                     <property name="climb_rate">1</property>
228                     <property name="snap_to_ticks">True</property>
229                     <property name="numeric">True</property>
230                     <property name="update_policy">if-valid</property>
231                   </object>
232                   <packing>
233                     <property name="expand">False</property>
234                     <property name="position">0</property>
235                   </packing>
236                 </child>
237                 <child>
238                   <object class="GtkLabel" id="label9">
239                     <property name="visible">True</property>
240                     <property name="xalign">0</property>
241                     <property name="label" translatable="yes">°C</property>
242                   </object>
243                   <packing>
244                     <property name="position">1</property>
245                   </packing>
246                 </child>
247               </object>
248               <packing>
249                 <property name="left_attach">1</property>
250                 <property name="right_attach">2</property>
251                 <property name="top_attach">9</property>
252                 <property name="bottom_attach">10</property>
253               </packing>
254             </child>
255             <child>
256               <object class="GtkColorButton" id="sensor_color">
257                 <property name="visible">True</property>
258                 <property name="can_focus">True</property>
259                 <property name="receives_default">True</property>
260                 <property name="xalign">0</property>
261                 <property name="color">#000000000000</property>
262               </object>
263               <packing>
264                 <property name="left_attach">1</property>
265                 <property name="right_attach">2</property>
266                 <property name="top_attach">6</property>
267                 <property name="bottom_attach">7</property>
268                 <property name="x_options"></property>
269                 <property name="x_padding">4</property>
270                 <property name="y_padding">4</property>
271               </packing>
272             </child>
273           </object>
274           <packing>
275             <property name="position">1</property>
276           </packing>
277         </child>
278         <child internal-child="action_area">
279           <object class="GtkHButtonBox" id="dialog-action_area1">
280             <property name="visible">True</property>
281             <property name="layout_style">end</property>
282             <child>
283               <object class="GtkButton" id="btn_ok">
284                 <property name="label">gtk-ok</property>
285                 <property name="visible">True</property>
286                 <property name="can_focus">True</property>
287                 <property name="receives_default">True</property>
288                 <property name="use_stock">True</property>
289               </object>
290               <packing>
291                 <property name="expand">False</property>
292                 <property name="fill">False</property>
293                 <property name="position">0</property>
294               </packing>
295             </child>
296             <child>
297               <object class="GtkButton" id="btn_cancel">
298                 <property name="label">gtk-cancel</property>
299                 <property name="visible">True</property>
300                 <property name="can_focus">True</property>
301                 <property name="receives_default">True</property>
302                 <property name="use_stock">True</property>
303               </object>
304               <packing>
305                 <property name="expand">False</property>
306                 <property name="fill">False</property>
307                 <property name="position">1</property>
308               </packing>
309             </child>
310           </object>
311           <packing>
312             <property name="expand">False</property>
313             <property name="pack_type">end</property>
314             <property name="position">0</property>
315           </packing>
316         </child>
317       </object>
318     </child>
319     <action-widgets>
320       <action-widget response="-3">btn_ok</action-widget>
321       <action-widget response="0">btn_cancel</action-widget>
322     </action-widgets>
323   </object>
324   <object class="GtkAdjustment" id="temp_limit">
325     <property name="upper">256</property>
326     <property name="step_increment">1</property>
327     <property name="page_increment">10</property>
328   </object>
329 </interface>