display the name of chip in sensor preferences.
[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_threshold_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_threshold_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">15</property>
96                 <property name="n_columns">2</property>
97                 <child>
98                   <object class="GtkEntry" id="sensor_name">
99                     <property name="visible">True</property>
100                     <property name="can_focus">True</property>
101                     <property name="invisible_char">•</property>
102                     <property name="invisible_char_set">True</property>
103                     <property name="primary_icon_activatable">False</property>
104                     <property name="secondary_icon_activatable">False</property>
105                   </object>
106                   <packing>
107                     <property name="left_attach">1</property>
108                     <property name="right_attach">2</property>
109                     <property name="top_attach">1</property>
110                     <property name="bottom_attach">2</property>
111                     <property name="x_padding">4</property>
112                     <property name="y_padding">4</property>
113                   </packing>
114                 </child>
115                 <child>
116                   <object class="GtkLabel" id="label4">
117                     <property name="visible">True</property>
118                     <property name="can_focus">False</property>
119                     <property name="xalign">0</property>
120                     <property name="yalign">0.49000000953674316</property>
121                     <property name="label" translatable="yes">Type:</property>
122                     <property name="justify">fill</property>
123                   </object>
124                   <packing>
125                     <property name="top_attach">2</property>
126                     <property name="bottom_attach">3</property>
127                     <property name="x_padding">14</property>
128                     <property name="y_padding">4</property>
129                   </packing>
130                 </child>
131                 <child>
132                   <object class="GtkLabel" id="sensor_type">
133                     <property name="visible">True</property>
134                     <property name="can_focus">False</property>
135                     <property name="xalign">0</property>
136                     <property name="label" translatable="yes">N/A</property>
137                   </object>
138                   <packing>
139                     <property name="left_attach">1</property>
140                     <property name="right_attach">2</property>
141                     <property name="top_attach">2</property>
142                     <property name="bottom_attach">3</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="label5">
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">Graph</property>
153                     <attributes>
154                       <attribute name="weight" value="bold"/>
155                     </attributes>
156                   </object>
157                   <packing>
158                     <property name="right_attach">2</property>
159                     <property name="top_attach">6</property>
160                     <property name="bottom_attach">7</property>
161                     <property name="x_padding">4</property>
162                     <property name="y_padding">4</property>
163                   </packing>
164                 </child>
165                 <child>
166                   <object class="GtkLabel" id="label7">
167                     <property name="visible">True</property>
168                     <property name="can_focus">False</property>
169                     <property name="xalign">0</property>
170                     <property name="label" translatable="yes">Color:</property>
171                   </object>
172                   <packing>
173                     <property name="top_attach">8</property>
174                     <property name="bottom_attach">9</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="label6">
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">Alarm</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">9</property>
192                     <property name="bottom_attach">10</property>
193                     <property name="x_padding">4</property>
194                     <property name="y_padding">4</property>
195                   </packing>
196                 </child>
197                 <child>
198                   <object class="GtkCheckButton" id="sensor_alarm">
199                     <property name="label" translatable="yes">Activate desktop notifications</property>
200                     <property name="use_action_appearance">False</property>
201                     <property name="visible">True</property>
202                     <property name="can_focus">True</property>
203                     <property name="receives_default">False</property>
204                     <property name="use_action_appearance">False</property>
205                     <property name="xalign">0</property>
206                     <property name="draw_indicator">True</property>
207                   </object>
208                   <packing>
209                     <property name="right_attach">2</property>
210                     <property name="top_attach">10</property>
211                     <property name="bottom_attach">11</property>
212                     <property name="x_padding">14</property>
213                     <property name="y_padding">4</property>
214                   </packing>
215                 </child>
216                 <child>
217                   <object class="GtkLabel" id="label1">
218                     <property name="visible">True</property>
219                     <property name="can_focus">False</property>
220                     <property name="xalign">0</property>
221                     <property name="label" translatable="yes">Sensor Information</property>
222                     <attributes>
223                       <attribute name="weight" value="bold"/>
224                     </attributes>
225                   </object>
226                   <packing>
227                     <property name="right_attach">2</property>
228                     <property name="x_padding">4</property>
229                     <property name="y_padding">4</property>
230                   </packing>
231                 </child>
232                 <child>
233                   <object class="GtkCheckButton" id="sensor_draw">
234                     <property name="label" translatable="yes">Draw sensor curve</property>
235                     <property name="use_action_appearance">False</property>
236                     <property name="visible">True</property>
237                     <property name="can_focus">True</property>
238                     <property name="receives_default">False</property>
239                     <property name="use_action_appearance">False</property>
240                     <property name="xalign">0</property>
241                     <property name="draw_indicator">True</property>
242                   </object>
243                   <packing>
244                     <property name="right_attach">2</property>
245                     <property name="top_attach">7</property>
246                     <property name="bottom_attach">8</property>
247                     <property name="x_padding">14</property>
248                     <property name="y_padding">4</property>
249                   </packing>
250                 </child>
251                 <child>
252                   <object class="GtkHBox" id="hbox1">
253                     <property name="visible">True</property>
254                     <property name="can_focus">False</property>
255                     <child>
256                       <object class="GtkSpinButton" id="sensor_alarm_high_threshold">
257                         <property name="visible">True</property>
258                         <property name="can_focus">True</property>
259                         <property name="invisible_char">•</property>
260                         <property name="invisible_char_set">True</property>
261                         <property name="primary_icon_activatable">False</property>
262                         <property name="secondary_icon_activatable">False</property>
263                         <property name="adjustment">alarm_high_threshold_value</property>
264                         <property name="climb_rate">1</property>
265                         <property name="snap_to_ticks">True</property>
266                         <property name="numeric">True</property>
267                         <property name="update_policy">if-valid</property>
268                       </object>
269                       <packing>
270                         <property name="expand">False</property>
271                         <property name="fill">True</property>
272                         <property name="position">0</property>
273                       </packing>
274                     </child>
275                     <child>
276                       <object class="GtkLabel" id="sensor_alarm_high_threshold_unit">
277                         <property name="visible">True</property>
278                         <property name="can_focus">False</property>
279                         <property name="valign">start</property>
280                         <property name="xalign">0</property>
281                         <property name="label" translatable="yes">N/A</property>
282                       </object>
283                       <packing>
284                         <property name="expand">True</property>
285                         <property name="fill">True</property>
286                         <property name="position">1</property>
287                       </packing>
288                     </child>
289                   </object>
290                   <packing>
291                     <property name="left_attach">1</property>
292                     <property name="right_attach">2</property>
293                     <property name="top_attach">11</property>
294                     <property name="bottom_attach">12</property>
295                   </packing>
296                 </child>
297                 <child>
298                   <object class="GtkColorButton" id="sensor_color">
299                     <property name="use_action_appearance">False</property>
300                     <property name="visible">True</property>
301                     <property name="can_focus">True</property>
302                     <property name="receives_default">True</property>
303                     <property name="use_action_appearance">False</property>
304                     <property name="xalign">0</property>
305                     <property name="color">#000000000000</property>
306                   </object>
307                   <packing>
308                     <property name="left_attach">1</property>
309                     <property name="right_attach">2</property>
310                     <property name="top_attach">8</property>
311                     <property name="bottom_attach">9</property>
312                     <property name="x_options"></property>
313                     <property name="x_padding">4</property>
314                     <property name="y_padding">4</property>
315                   </packing>
316                 </child>
317                 <child>
318                   <object class="GtkLabel" id="alarm_high_threshold_label">
319                     <property name="visible">True</property>
320                     <property name="can_focus">False</property>
321                     <property name="xalign">0.0099999997764825821</property>
322                     <property name="label" translatable="yes">High threshold:</property>
323                   </object>
324                   <packing>
325                     <property name="top_attach">11</property>
326                     <property name="bottom_attach">12</property>
327                     <property name="x_options">GTK_FILL</property>
328                     <property name="x_padding">14</property>
329                     <property name="y_padding">4</property>
330                   </packing>
331                 </child>
332                 <child>
333                   <object class="GtkLabel" id="alarm_low_threshold_label">
334                     <property name="visible">True</property>
335                     <property name="can_focus">False</property>
336                     <property name="xalign">0.0099999997764825821</property>
337                     <property name="label" translatable="yes">Low threshold:</property>
338                   </object>
339                   <packing>
340                     <property name="top_attach">12</property>
341                     <property name="bottom_attach">13</property>
342                     <property name="x_options">GTK_FILL</property>
343                     <property name="x_padding">14</property>
344                     <property name="y_padding">4</property>
345                   </packing>
346                 </child>
347                 <child>
348                   <object class="GtkHBox" id="alarm_low_threshold_box">
349                     <property name="visible">True</property>
350                     <property name="can_focus">False</property>
351                     <child>
352                       <object class="GtkSpinButton" id="sensor_alarm_low_threshold">
353                         <property name="visible">True</property>
354                         <property name="can_focus">True</property>
355                         <property name="invisible_char">•</property>
356                         <property name="invisible_char_set">True</property>
357                         <property name="primary_icon_activatable">False</property>
358                         <property name="secondary_icon_activatable">False</property>
359                         <property name="adjustment">alarm_low_threshold_value</property>
360                         <property name="climb_rate">1</property>
361                         <property name="snap_to_ticks">True</property>
362                         <property name="numeric">True</property>
363                         <property name="update_policy">if-valid</property>
364                       </object>
365                       <packing>
366                         <property name="expand">False</property>
367                         <property name="fill">True</property>
368                         <property name="position">0</property>
369                       </packing>
370                     </child>
371                     <child>
372                       <object class="GtkLabel" id="sensor_alarm_low_threshold_unit">
373                         <property name="visible">True</property>
374                         <property name="can_focus">False</property>
375                         <property name="valign">start</property>
376                         <property name="xalign">0</property>
377                         <property name="label" translatable="yes">N/A</property>
378                       </object>
379                       <packing>
380                         <property name="expand">True</property>
381                         <property name="fill">True</property>
382                         <property name="position">1</property>
383                       </packing>
384                     </child>
385                   </object>
386                   <packing>
387                     <property name="left_attach">1</property>
388                     <property name="right_attach">2</property>
389                     <property name="top_attach">12</property>
390                     <property name="bottom_attach">13</property>
391                   </packing>
392                 </child>
393                 <child>
394                   <object class="GtkLabel" id="indicator_label">
395                     <property name="visible">True</property>
396                     <property name="can_focus">False</property>
397                     <property name="xalign">0</property>
398                     <property name="label" translatable="yes">Ubuntu Application Indicator</property>
399                     <attributes>
400                       <attribute name="weight" value="bold"/>
401                     </attributes>
402                   </object>
403                   <packing>
404                     <property name="right_attach">2</property>
405                     <property name="top_attach">13</property>
406                     <property name="bottom_attach">14</property>
407                     <property name="x_padding">4</property>
408                     <property name="y_padding">4</property>
409                   </packing>
410                 </child>
411                 <child>
412                   <object class="GtkCheckButton" id="indicator_checkbox">
413                     <property name="label" translatable="yes">Display sensor in the Application Indicator menu</property>
414                     <property name="use_action_appearance">False</property>
415                     <property name="visible">True</property>
416                     <property name="can_focus">True</property>
417                     <property name="receives_default">False</property>
418                     <property name="use_action_appearance">False</property>
419                     <property name="xalign">0</property>
420                     <property name="draw_indicator">True</property>
421                   </object>
422                   <packing>
423                     <property name="right_attach">2</property>
424                     <property name="top_attach">14</property>
425                     <property name="bottom_attach">15</property>
426                     <property name="x_padding">14</property>
427                     <property name="y_padding">4</property>
428                   </packing>
429                 </child>
430                 <child>
431                   <object class="GtkLabel" id="chip_name_label">
432                     <property name="visible">True</property>
433                     <property name="can_focus">False</property>
434                     <property name="xalign">0</property>
435                     <property name="label" translatable="yes">Chip:</property>
436                   </object>
437                   <packing>
438                     <property name="top_attach">3</property>
439                     <property name="bottom_attach">4</property>
440                     <property name="x_options">GTK_FILL</property>
441                     <property name="x_padding">14</property>
442                     <property name="y_padding">4</property>
443                   </packing>
444                 </child>
445                 <child>
446                   <object class="GtkLabel" id="chip_name">
447                     <property name="visible">True</property>
448                     <property name="can_focus">False</property>
449                     <property name="xalign">0</property>
450                     <property name="label" translatable="yes">N/A</property>
451                   </object>
452                   <packing>
453                     <property name="left_attach">1</property>
454                     <property name="right_attach">2</property>
455                     <property name="top_attach">3</property>
456                     <property name="bottom_attach">4</property>
457                     <property name="x_padding">4</property>
458                     <property name="y_padding">4</property>
459                   </packing>
460                 </child>
461                 <child>
462                   <object class="GtkExpander" id="expander1">
463                     <property name="visible">True</property>
464                     <property name="can_focus">True</property>
465                     <child>
466                       <object class="GtkGrid" id="grid1">
467                         <property name="visible">True</property>
468                         <property name="can_focus">False</property>
469                         <property name="margin_left">4</property>
470                         <property name="margin_right">4</property>
471                         <property name="margin_top">4</property>
472                         <property name="margin_bottom">4</property>
473                         <property name="hexpand">True</property>
474                         <property name="vexpand">True</property>
475                         <child>
476                           <object class="GtkLabel" id="label2">
477                             <property name="visible">True</property>
478                             <property name="can_focus">False</property>
479                             <property name="xalign">0</property>
480                             <property name="label" translatable="yes">Id:</property>
481                           </object>
482                           <packing>
483                             <property name="left_attach">0</property>
484                             <property name="top_attach">0</property>
485                             <property name="width">1</property>
486                             <property name="height">1</property>
487                           </packing>
488                         </child>
489                         <child>
490                           <object class="GtkLabel" id="sensor_id">
491                             <property name="visible">True</property>
492                             <property name="can_focus">False</property>
493                             <property name="margin_left">4</property>
494                             <property name="margin_right">4</property>
495                             <property name="margin_top">4</property>
496                             <property name="margin_bottom">4</property>
497                             <property name="hexpand">True</property>
498                             <property name="xalign">0</property>
499                             <property name="label" translatable="yes">N/A</property>
500                           </object>
501                           <packing>
502                             <property name="left_attach">1</property>
503                             <property name="top_attach">0</property>
504                             <property name="width">1</property>
505                             <property name="height">1</property>
506                           </packing>
507                         </child>
508                       </object>
509                     </child>
510                     <child type="label">
511                       <object class="GtkLabel" id="details_label">
512                         <property name="visible">True</property>
513                         <property name="can_focus">False</property>
514                         <property name="label" translatable="yes">Details</property>
515                       </object>
516                     </child>
517                   </object>
518                   <packing>
519                     <property name="right_attach">2</property>
520                     <property name="top_attach">5</property>
521                     <property name="bottom_attach">6</property>
522                     <property name="x_padding">14</property>
523                     <property name="y_padding">4</property>
524                   </packing>
525                 </child>
526                 <child>
527                   <placeholder/>
528                 </child>
529                 <child>
530                   <placeholder/>
531                 </child>
532                 <child>
533                   <object class="GtkLabel" id="label3">
534                     <property name="visible">True</property>
535                     <property name="can_focus">False</property>
536                     <property name="xalign">0</property>
537                     <property name="xpad">10</property>
538                     <property name="label" translatable="yes">Name:</property>
539                   </object>
540                   <packing>
541                     <property name="top_attach">1</property>
542                     <property name="bottom_attach">2</property>
543                     <property name="x_options">GTK_FILL</property>
544                     <property name="x_padding">4</property>
545                     <property name="y_padding">4</property>
546                   </packing>
547                 </child>
548               </object>
549               <packing>
550                 <property name="resize">True</property>
551                 <property name="shrink">False</property>
552               </packing>
553             </child>
554           </object>
555           <packing>
556             <property name="expand">True</property>
557             <property name="fill">True</property>
558             <property name="position">1</property>
559           </packing>
560         </child>
561       </object>
562     </child>
563     <action-widgets>
564       <action-widget response="-3">btn_ok</action-widget>
565       <action-widget response="0">btn_cancel</action-widget>
566     </action-widgets>
567   </object>
568   <object class="GtkListStore" id="sensors_liststore">
569     <columns>
570       <!-- column-name sensor_name -->
571       <column type="gchararray"/>
572     </columns>
573   </object>
574 </interface>