fixed margin, padding, etc
[psensor.git] / src / glade / psensor-pref.glade
1 <?xml version="1.0" encoding="UTF-8"?>
2 <interface>
3   <!-- interface-requires gtk+ 3.0 -->
4   <object class="GtkDialog" id="dialog1">
5     <property name="can_focus">False</property>
6     <property name="border_width">5</property>
7     <property name="title" translatable="yes">Edit Preferences</property>
8     <property name="modal">True</property>
9     <property name="destroy_with_parent">True</property>
10     <property name="type_hint">normal</property>
11     <child internal-child="vbox">
12       <object class="GtkBox" id="dialog-vbox1">
13         <property name="visible">True</property>
14         <property name="can_focus">False</property>
15         <property name="spacing">2</property>
16         <child internal-child="action_area">
17           <object class="GtkButtonBox" id="dialog-action_area1">
18             <property name="visible">True</property>
19             <property name="can_focus">False</property>
20             <property name="layout_style">end</property>
21             <child>
22               <object class="GtkButton" id="button1">
23                 <property name="label">gtk-ok</property>
24                 <property name="use_action_appearance">False</property>
25                 <property name="visible">True</property>
26                 <property name="can_focus">True</property>
27                 <property name="receives_default">True</property>
28                 <property name="use_action_appearance">False</property>
29                 <property name="use_stock">True</property>
30               </object>
31               <packing>
32                 <property name="expand">False</property>
33                 <property name="fill">False</property>
34                 <property name="position">0</property>
35               </packing>
36             </child>
37             <child>
38               <object class="GtkButton" id="button2">
39                 <property name="label">gtk-cancel</property>
40                 <property name="use_action_appearance">False</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="GtkNotebook" id="notebook">
63             <property name="visible">True</property>
64             <property name="can_focus">True</property>
65             <child>
66               <object class="GtkTable" id="table1">
67                 <property name="visible">True</property>
68                 <property name="can_focus">False</property>
69                 <property name="n_rows">8</property>
70                 <property name="n_columns">3</property>
71                 <child>
72                   <object class="GtkLabel" id="label14">
73                     <property name="visible">True</property>
74                     <property name="can_focus">False</property>
75                     <property name="xalign">0</property>
76                     <property name="label" translatable="yes">Position of sensors table:</property>
77                   </object>
78                   <packing>
79                     <property name="x_padding">14</property>
80                     <property name="y_padding">4</property>
81                   </packing>
82                 </child>
83                 <child>
84                   <object class="GtkCheckButton" id="hide_window_decoration">
85                     <property name="label" translatable="yes">Hide window decoration</property>
86                     <property name="use_action_appearance">False</property>
87                     <property name="visible">True</property>
88                     <property name="can_focus">True</property>
89                     <property name="receives_default">False</property>
90                     <property name="use_action_appearance">False</property>
91                     <property name="xalign">0</property>
92                     <property name="draw_indicator">True</property>
93                   </object>
94                   <packing>
95                     <property name="right_attach">3</property>
96                     <property name="top_attach">1</property>
97                     <property name="bottom_attach">2</property>
98                     <property name="x_padding">14</property>
99                     <property name="y_padding">4</property>
100                   </packing>
101                 </child>
102                 <child>
103                   <object class="GtkCheckButton" id="keep_window_below">
104                     <property name="label" translatable="yes">Keep window below</property>
105                     <property name="use_action_appearance">False</property>
106                     <property name="visible">True</property>
107                     <property name="can_focus">True</property>
108                     <property name="receives_default">False</property>
109                     <property name="use_action_appearance">False</property>
110                     <property name="xalign">0</property>
111                     <property name="draw_indicator">True</property>
112                   </object>
113                   <packing>
114                     <property name="right_attach">3</property>
115                     <property name="top_attach">2</property>
116                     <property name="bottom_attach">3</property>
117                     <property name="x_padding">14</property>
118                     <property name="y_padding">4</property>
119                   </packing>
120                 </child>
121                 <child>
122                   <object class="GtkComboBox" id="sensors_list_position">
123                     <property name="visible">True</property>
124                     <property name="can_focus">False</property>
125                     <property name="model">liststore1</property>
126                     <child>
127                       <object class="GtkCellRendererText" id="renderer1"/>
128                       <attributes>
129                         <attribute name="text">0</attribute>
130                       </attributes>
131                     </child>
132                   </object>
133                   <packing>
134                     <property name="left_attach">1</property>
135                     <property name="right_attach">3</property>
136                     <property name="x_padding">4</property>
137                     <property name="y_padding">4</property>
138                   </packing>
139                 </child>
140                 <child>
141                   <object class="GtkCheckButton" id="enable_menu">
142                     <property name="label" translatable="yes">Enable menu</property>
143                     <property name="use_action_appearance">False</property>
144                     <property name="visible">True</property>
145                     <property name="can_focus">True</property>
146                     <property name="receives_default">False</property>
147                     <property name="use_action_appearance">False</property>
148                     <property name="xalign">0</property>
149                     <property name="draw_indicator">True</property>
150                   </object>
151                   <packing>
152                     <property name="right_attach">3</property>
153                     <property name="top_attach">3</property>
154                     <property name="bottom_attach">4</property>
155                     <property name="x_padding">14</property>
156                     <property name="y_padding">4</property>
157                   </packing>
158                 </child>
159                 <child>
160                   <object class="GtkCheckButton" id="enable_launcher_counter">
161                     <property name="label" translatable="yes">Enable Unity Launcher counter</property>
162                     <property name="use_action_appearance">False</property>
163                     <property name="visible">True</property>
164                     <property name="can_focus">True</property>
165                     <property name="receives_default">False</property>
166                     <property name="use_action_appearance">False</property>
167                     <property name="xalign">0</property>
168                     <property name="draw_indicator">True</property>
169                   </object>
170                   <packing>
171                     <property name="right_attach">3</property>
172                     <property name="top_attach">4</property>
173                     <property name="bottom_attach">5</property>
174                     <property name="x_padding">14</property>
175                     <property name="y_padding">4</property>
176                   </packing>
177                 </child>
178                 <child>
179                   <object class="GtkCheckButton" id="hide_on_startup">
180                     <property name="label" translatable="yes">Hide window on startup</property>
181                     <property name="use_action_appearance">False</property>
182                     <property name="visible">True</property>
183                     <property name="can_focus">True</property>
184                     <property name="receives_default">False</property>
185                     <property name="use_action_appearance">False</property>
186                     <property name="xalign">0</property>
187                     <property name="draw_indicator">True</property>
188                   </object>
189                   <packing>
190                     <property name="right_attach">3</property>
191                     <property name="top_attach">5</property>
192                     <property name="bottom_attach">6</property>
193                     <property name="x_padding">14</property>
194                     <property name="y_padding">4</property>
195                   </packing>
196                 </child>
197                 <child>
198                   <object class="GtkCheckButton" id="restore_window">
199                     <property name="label" translatable="yes">Restore window position and size</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">3</property>
210                     <property name="top_attach">6</property>
211                     <property name="bottom_attach">7</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="temperature_unit_label">
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">Temperature unit:</property>
222                   </object>
223                   <packing>
224                     <property name="top_attach">7</property>
225                     <property name="bottom_attach">8</property>
226                     <property name="x_padding">14</property>
227                   </packing>
228                 </child>
229                 <child>
230                   <object class="GtkComboBoxText" id="temperature_unit">
231                     <property name="visible">True</property>
232                     <property name="can_focus">False</property>
233                     <property name="entry_text_column">0</property>
234                     <property name="id_column">1</property>
235                     <items>
236                       <item translatable="yes">Celcius</item>
237                       <item translatable="yes">Fahrenheit</item>
238                     </items>
239                   </object>
240                   <packing>
241                     <property name="left_attach">1</property>
242                     <property name="right_attach">3</property>
243                     <property name="top_attach">7</property>
244                     <property name="bottom_attach">8</property>
245                     <property name="x_padding">4</property>
246                     <property name="y_padding">4</property>
247                   </packing>
248                 </child>
249               </object>
250             </child>
251             <child type="tab">
252               <object class="GtkLabel" id="Interface">
253                 <property name="visible">True</property>
254                 <property name="can_focus">False</property>
255                 <property name="label" translatable="yes">Interface</property>
256               </object>
257               <packing>
258                 <property name="tab_fill">False</property>
259               </packing>
260             </child>
261             <child>
262               <object class="GtkGrid" id="grid1">
263                 <property name="visible">True</property>
264                 <property name="can_focus">False</property>
265                 <property name="valign">start</property>
266                 <property name="row_homogeneous">True</property>
267                 <child>
268                   <object class="GtkColorButton" id="color_fg">
269                     <property name="use_action_appearance">False</property>
270                     <property name="visible">True</property>
271                     <property name="can_focus">True</property>
272                     <property name="receives_default">True</property>
273                     <property name="halign">start</property>
274                     <property name="use_action_appearance">False</property>
275                     <property name="color">#000000000000</property>
276                   </object>
277                   <packing>
278                     <property name="left_attach">1</property>
279                     <property name="top_attach">1</property>
280                     <property name="width">1</property>
281                     <property name="height">1</property>
282                   </packing>
283                 </child>
284                 <child>
285                   <object class="GtkLabel" id="label2">
286                     <property name="visible">True</property>
287                     <property name="can_focus">False</property>
288                     <property name="valign">start</property>
289                     <property name="margin_left">14</property>
290                     <property name="xalign">0</property>
291                     <property name="label" translatable="yes">Foreground:</property>
292                   </object>
293                   <packing>
294                     <property name="left_attach">0</property>
295                     <property name="top_attach">1</property>
296                     <property name="width">2</property>
297                     <property name="height">1</property>
298                   </packing>
299                 </child>
300                 <child>
301                   <object class="GtkLabel" id="label3">
302                     <property name="visible">True</property>
303                     <property name="can_focus">False</property>
304                     <property name="margin_left">14</property>
305                     <property name="xalign">0</property>
306                     <property name="label" translatable="yes">Background:</property>
307                   </object>
308                   <packing>
309                     <property name="left_attach">0</property>
310                     <property name="top_attach">2</property>
311                     <property name="width">2</property>
312                     <property name="height">1</property>
313                   </packing>
314                 </child>
315                 <child>
316                   <object class="GtkColorButton" id="color_bg">
317                     <property name="use_action_appearance">False</property>
318                     <property name="visible">True</property>
319                     <property name="can_focus">True</property>
320                     <property name="receives_default">True</property>
321                     <property name="halign">start</property>
322                     <property name="use_action_appearance">False</property>
323                     <property name="color">#000000000000</property>
324                   </object>
325                   <packing>
326                     <property name="left_attach">1</property>
327                     <property name="top_attach">2</property>
328                     <property name="width">1</property>
329                     <property name="height">1</property>
330                   </packing>
331                 </child>
332                 <child>
333                   <object class="GtkLabel" id="label4">
334                     <property name="visible">True</property>
335                     <property name="can_focus">False</property>
336                     <property name="margin_left">14</property>
337                     <property name="xalign">0</property>
338                     <property name="label" translatable="yes">Background opacity:</property>
339                   </object>
340                   <packing>
341                     <property name="left_attach">0</property>
342                     <property name="top_attach">3</property>
343                     <property name="width">1</property>
344                     <property name="height">1</property>
345                   </packing>
346                 </child>
347                 <child>
348                   <object class="GtkHBox" id="hbox1">
349                     <property name="visible">True</property>
350                     <property name="can_focus">False</property>
351                     <property name="spacing">8</property>
352                     <child>
353                       <object class="GtkLabel" id="label15">
354                         <property name="visible">True</property>
355                         <property name="can_focus">False</property>
356                         <property name="xalign">0</property>
357                         <property name="label" translatable="yes">&lt;i&gt;Min&lt;/i&gt;</property>
358                         <property name="use_markup">True</property>
359                       </object>
360                       <packing>
361                         <property name="expand">False</property>
362                         <property name="fill">True</property>
363                         <property name="position">0</property>
364                       </packing>
365                     </child>
366                     <child>
367                       <object class="GtkHScale" id="bg_opacity">
368                         <property name="visible">True</property>
369                         <property name="can_focus">True</property>
370                         <property name="adjustment">opacity</property>
371                         <property name="draw_value">False</property>
372                       </object>
373                       <packing>
374                         <property name="expand">True</property>
375                         <property name="fill">True</property>
376                         <property name="position">1</property>
377                       </packing>
378                     </child>
379                     <child>
380                       <object class="GtkLabel" id="label16">
381                         <property name="visible">True</property>
382                         <property name="can_focus">False</property>
383                         <property name="xalign">0</property>
384                         <property name="label" translatable="yes">&lt;i&gt;Max&lt;/i&gt;</property>
385                         <property name="use_markup">True</property>
386                       </object>
387                       <packing>
388                         <property name="expand">False</property>
389                         <property name="fill">True</property>
390                         <property name="position">2</property>
391                       </packing>
392                     </child>
393                   </object>
394                   <packing>
395                     <property name="left_attach">1</property>
396                     <property name="top_attach">3</property>
397                     <property name="width">2</property>
398                     <property name="height">1</property>
399                   </packing>
400                 </child>
401                 <child>
402                   <object class="GtkLabel" id="label1">
403                     <property name="visible">True</property>
404                     <property name="can_focus">False</property>
405                     <property name="margin_left">4</property>
406                     <property name="margin_right">4</property>
407                     <property name="margin_top">4</property>
408                     <property name="margin_bottom">4</property>
409                     <property name="xalign">0</property>
410                     <property name="label" translatable="yes">Colors</property>
411                     <attributes>
412                       <attribute name="weight" value="bold"/>
413                     </attributes>
414                   </object>
415                   <packing>
416                     <property name="left_attach">0</property>
417                     <property name="top_attach">0</property>
418                     <property name="width">2</property>
419                     <property name="height">1</property>
420                   </packing>
421                 </child>
422                 <child>
423                   <object class="GtkLabel" id="label7">
424                     <property name="visible">True</property>
425                     <property name="can_focus">False</property>
426                     <property name="margin_left">14</property>
427                     <property name="xalign">0</property>
428                     <property name="label" translatable="yes">Monitoring duration:</property>
429                   </object>
430                   <packing>
431                     <property name="left_attach">0</property>
432                     <property name="top_attach">5</property>
433                     <property name="width">1</property>
434                     <property name="height">1</property>
435                   </packing>
436                 </child>
437                 <child>
438                   <object class="GtkSpinButton" id="monitoring_duration">
439                     <property name="visible">True</property>
440                     <property name="can_focus">True</property>
441                     <property name="invisible_char">•</property>
442                     <property name="invisible_char_set">True</property>
443                     <property name="primary_icon_activatable">False</property>
444                     <property name="secondary_icon_activatable">False</property>
445                     <property name="adjustment">mins</property>
446                   </object>
447                   <packing>
448                     <property name="left_attach">1</property>
449                     <property name="top_attach">5</property>
450                     <property name="width">1</property>
451                     <property name="height">1</property>
452                   </packing>
453                 </child>
454                 <child>
455                   <object class="GtkLabel" id="label9">
456                     <property name="visible">True</property>
457                     <property name="can_focus">False</property>
458                     <property name="label" translatable="yes">minute(s)</property>
459                   </object>
460                   <packing>
461                     <property name="left_attach">2</property>
462                     <property name="top_attach">5</property>
463                     <property name="width">1</property>
464                     <property name="height">1</property>
465                   </packing>
466                 </child>
467                 <child>
468                   <object class="GtkLabel" id="label8">
469                     <property name="visible">True</property>
470                     <property name="can_focus">False</property>
471                     <property name="label" translatable="yes">second(s)</property>
472                   </object>
473                   <packing>
474                     <property name="left_attach">2</property>
475                     <property name="top_attach">6</property>
476                     <property name="width">1</property>
477                     <property name="height">1</property>
478                   </packing>
479                 </child>
480                 <child>
481                   <object class="GtkSpinButton" id="update_interval">
482                     <property name="visible">True</property>
483                     <property name="can_focus">True</property>
484                     <property name="invisible_char">•</property>
485                     <property name="invisible_char_set">True</property>
486                     <property name="primary_icon_activatable">False</property>
487                     <property name="secondary_icon_activatable">False</property>
488                     <property name="adjustment">secs</property>
489                   </object>
490                   <packing>
491                     <property name="left_attach">1</property>
492                     <property name="top_attach">6</property>
493                     <property name="width">1</property>
494                     <property name="height">1</property>
495                   </packing>
496                 </child>
497                 <child>
498                   <object class="GtkLabel" id="label6">
499                     <property name="visible">True</property>
500                     <property name="can_focus">False</property>
501                     <property name="margin_left">14</property>
502                     <property name="xalign">0</property>
503                     <property name="label" translatable="yes">Update interval:</property>
504                   </object>
505                   <packing>
506                     <property name="left_attach">0</property>
507                     <property name="top_attach">6</property>
508                     <property name="width">1</property>
509                     <property name="height">1</property>
510                   </packing>
511                 </child>
512                 <child>
513                   <object class="GtkLabel" id="Measures">
514                     <property name="visible">True</property>
515                     <property name="can_focus">False</property>
516                     <property name="margin_left">4</property>
517                     <property name="margin_right">4</property>
518                     <property name="margin_top">8</property>
519                     <property name="margin_bottom">4</property>
520                     <property name="xalign">0</property>
521                     <property name="label" translatable="yes">Measures</property>
522                     <attributes>
523                       <attribute name="weight" value="bold"/>
524                     </attributes>
525                   </object>
526                   <packing>
527                     <property name="left_attach">0</property>
528                     <property name="top_attach">4</property>
529                     <property name="width">1</property>
530                     <property name="height">1</property>
531                   </packing>
532                 </child>
533                 <child>
534                   <placeholder/>
535                 </child>
536                 <child>
537                   <placeholder/>
538                 </child>
539                 <child>
540                   <placeholder/>
541                 </child>
542                 <child>
543                   <placeholder/>
544                 </child>
545                 <child>
546                   <placeholder/>
547                 </child>
548               </object>
549               <packing>
550                 <property name="position">1</property>
551               </packing>
552             </child>
553             <child type="tab">
554               <object class="GtkLabel" id="Graph">
555                 <property name="visible">True</property>
556                 <property name="can_focus">False</property>
557                 <property name="label" translatable="yes">Graph</property>
558               </object>
559               <packing>
560                 <property name="position">1</property>
561                 <property name="tab_fill">False</property>
562               </packing>
563             </child>
564             <child>
565               <object class="GtkGrid" id="grid2">
566                 <property name="visible">True</property>
567                 <property name="can_focus">False</property>
568                 <child>
569                   <object class="GtkLabel" id="label11">
570                     <property name="visible">True</property>
571                     <property name="can_focus">False</property>
572                     <property name="halign">start</property>
573                     <property name="valign">start</property>
574                     <property name="margin_left">8</property>
575                     <property name="margin_top">4</property>
576                     <property name="margin_bottom">4</property>
577                     <property name="xalign">0</property>
578                     <property name="label" translatable="yes">Measure update interval:</property>
579                   </object>
580                   <packing>
581                     <property name="left_attach">0</property>
582                     <property name="top_attach">0</property>
583                     <property name="width">1</property>
584                     <property name="height">1</property>
585                   </packing>
586                 </child>
587                 <child>
588                   <object class="GtkSpinButton" id="sensor_update_interval">
589                     <property name="visible">True</property>
590                     <property name="can_focus">True</property>
591                     <property name="invisible_char">•</property>
592                     <property name="invisible_char_set">True</property>
593                     <property name="primary_icon_activatable">False</property>
594                     <property name="secondary_icon_activatable">False</property>
595                     <property name="adjustment">secs2</property>
596                   </object>
597                   <packing>
598                     <property name="left_attach">1</property>
599                     <property name="top_attach">0</property>
600                     <property name="width">1</property>
601                     <property name="height">1</property>
602                   </packing>
603                 </child>
604                 <child>
605                   <object class="GtkLabel" id="label12">
606                     <property name="visible">True</property>
607                     <property name="can_focus">False</property>
608                     <property name="margin_left">4</property>
609                     <property name="margin_right">4</property>
610                     <property name="margin_top">4</property>
611                     <property name="margin_bottom">4</property>
612                     <property name="label" translatable="yes">second(s)</property>
613                   </object>
614                   <packing>
615                     <property name="left_attach">2</property>
616                     <property name="top_attach">0</property>
617                     <property name="width">1</property>
618                     <property name="height">1</property>
619                   </packing>
620                 </child>
621                 <child>
622                   <placeholder/>
623                 </child>
624                 <child>
625                   <placeholder/>
626                 </child>
627                 <child>
628                   <placeholder/>
629                 </child>
630               </object>
631               <packing>
632                 <property name="position">2</property>
633                 <property name="tab_fill">False</property>
634               </packing>
635             </child>
636             <child type="tab">
637               <object class="GtkLabel" id="Sensors">
638                 <property name="visible">True</property>
639                 <property name="can_focus">False</property>
640                 <property name="label" translatable="yes">Sensors</property>
641               </object>
642               <packing>
643                 <property name="position">2</property>
644                 <property name="tab_fill">False</property>
645               </packing>
646             </child>
647           </object>
648           <packing>
649             <property name="expand">False</property>
650             <property name="fill">True</property>
651             <property name="position">1</property>
652           </packing>
653         </child>
654       </object>
655     </child>
656     <action-widgets>
657       <action-widget response="-3">button1</action-widget>
658       <action-widget response="0">button2</action-widget>
659     </action-widgets>
660   </object>
661   <object class="GtkListStore" id="liststore1">
662     <columns>
663       <!-- column-name gchararray1 -->
664       <column type="gchararray"/>
665     </columns>
666     <data>
667       <row>
668         <col id="0" translatable="yes">Right</col>
669       </row>
670       <row>
671         <col id="0" translatable="yes">Left</col>
672       </row>
673       <row>
674         <col id="0" translatable="yes">Top</col>
675       </row>
676       <row>
677         <col id="0" translatable="yes">Bottom</col>
678       </row>
679     </data>
680   </object>
681   <object class="GtkAdjustment" id="mins">
682     <property name="lower">1</property>
683     <property name="upper">65535</property>
684     <property name="value">10</property>
685     <property name="step_increment">1</property>
686     <property name="page_increment">10</property>
687   </object>
688   <object class="GtkAdjustment" id="opacity">
689     <property name="upper">1</property>
690     <property name="step_increment">0.01</property>
691     <property name="page_increment">0.10000000000000001</property>
692   </object>
693   <object class="GtkAdjustment" id="secs">
694     <property name="lower">1</property>
695     <property name="upper">256</property>
696     <property name="value">1</property>
697     <property name="step_increment">1</property>
698     <property name="page_increment">10</property>
699   </object>
700   <object class="GtkAdjustment" id="secs2">
701     <property name="lower">1</property>
702     <property name="upper">256</property>
703     <property name="step_increment">1</property>
704     <property name="page_increment">10</property>
705   </object>
706 </interface>