8b098b7531157bc47c03168b31cdd0f8a0c36cce
[psensor-pkg-debian.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="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>
23             <child>
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>
31               </object>
32               <packing>
33                 <property name="expand">False</property>
34                 <property name="fill">False</property>
35                 <property name="position">0</property>
36               </packing>
37             </child>
38             <child>
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>
46               </object>
47               <packing>
48                 <property name="expand">False</property>
49                 <property name="fill">False</property>
50                 <property name="position">1</property>
51               </packing>
52             </child>
53           </object>
54           <packing>
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>
59           </packing>
60         </child>
61         <child>
62           <object class="GtkHPaned" id="hpaned1">
63             <property name="visible">True</property>
64             <property name="can_focus">True</property>
65             <child>
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               </object>
71               <packing>
72                 <property name="resize">False</property>
73                 <property name="shrink">True</property>
74               </packing>
75             </child>
76             <child>
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>
82                 <child>
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>
88                   </object>
89                   <packing>
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>
96                   </packing>
97                 </child>
98                 <child>
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>
105                   </object>
106                   <packing>
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>
112                   </packing>
113                 </child>
114                 <child>
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>
124                   </object>
125                   <packing>
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>
132                   </packing>
133                 </child>
134                 <child>
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>
140                   </object>
141                   <packing>
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>
146                   </packing>
147                 </child>
148                 <child>
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>
154                   </object>
155                   <packing>
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>
162                   </packing>
163                 </child>
164                 <child>
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>
170                   </object>
171                   <packing>
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>
177                   </packing>
178                 </child>
179                 <child>
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>
185                     <attributes>
186                       <attribute name="weight" value="bold"/>
187                     </attributes>
188                   </object>
189                   <packing>
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>
195                   </packing>
196                 </child>
197                 <child>
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>
203                   </object>
204                   <packing>
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>
209                   </packing>
210                 </child>
211                 <child>
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>
217                     <attributes>
218                       <attribute name="weight" value="bold"/>
219                     </attributes>
220                   </object>
221                   <packing>
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>
227                   </packing>
228                 </child>
229                 <child>
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>
237                   </object>
238                   <packing>
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>
244                   </packing>
245                 </child>
246                 <child>
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>
252                   </object>
253                   <packing>
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>
259                   </packing>
260                 </child>
261                 <child>
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>
267                     <attributes>
268                       <attribute name="weight" value="bold"/>
269                     </attributes>
270                   </object>
271                   <packing>
272                     <property name="right_attach">2</property>
273                     <property name="x_padding">4</property>
274                     <property name="y_padding">4</property>
275                   </packing>
276                 </child>
277                 <child>
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>
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_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>
315                       </object>
316                       <packing>
317                         <property name="expand">False</property>
318                         <property name="fill">True</property>
319                         <property name="position">0</property>
320                       </packing>
321                     </child>
322                     <child>
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>
328                       </object>
329                       <packing>
330                         <property name="expand">True</property>
331                         <property name="fill">True</property>
332                         <property name="position">1</property>
333                       </packing>
334                     </child>
335                   </object>
336                   <packing>
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>
341                   </packing>
342                 </child>
343                 <child>
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>
351                   </object>
352                   <packing>
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>
360                   </packing>
361                 </child>
362               </object>
363               <packing>
364                 <property name="resize">True</property>
365                 <property name="shrink">False</property>
366               </packing>
367             </child>
368           </object>
369           <packing>
370             <property name="expand">True</property>
371             <property name="fill">True</property>
372             <property name="position">1</property>
373           </packing>
374         </child>
375       </object>
376     </child>
377     <action-widgets>
378       <action-widget response="-3">btn_ok</action-widget>
379       <action-widget response="0">btn_cancel</action-widget>
380     </action-widgets>
381   </object>
382   <object class="GtkListStore" id="sensors_liststore">
383     <columns>
384       <!-- column-name sensor_name -->
385       <column type="gchararray"/>
386     </columns>
387   </object>
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>
392   </object>
393 </interface>