~specto/specto/main

« back to all changes in this revision

Viewing changes to data/uis/edit_watch.ui

  • Committer: Jean-François Fortin Tam
  • Date: 2011-06-23 02:53:04 UTC
  • Revision ID: nekohayo@gmail.com-20110623025304-mv5b3btsd989gvhl
Properly set the orientation of vboxes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0" encoding="UTF-8"?>
2
2
<interface>
3
3
  <requires lib="gtk+" version="2.16"/>
4
 
  <!-- interface-naming-policy toplevel-contextual -->
 
4
  <object class="GtkAdjustment" id="adjustment1">
 
5
    <property name="upper">255</property>
 
6
    <property name="value">60</property>
 
7
    <property name="step_increment">1</property>
 
8
    <property name="page_increment">10</property>
 
9
  </object>
5
10
  <object class="GtkDialog" id="edit_watch">
6
11
    <property name="visible">True</property>
 
12
    <property name="can_focus">False</property>
7
13
    <property name="border_width">12</property>
8
14
    <property name="title" translatable="yes">Watch $WATCH_NAME</property>
9
15
    <property name="window_position">center</property>
10
16
    <property name="type_hint">dialog</property>
11
17
    <child internal-child="vbox">
12
 
      <object class="GtkVBox" id="vbox1">
 
18
      <object class="GtkBox" id="vbox1">
13
19
        <property name="visible">True</property>
 
20
        <property name="can_focus">False</property>
 
21
        <property name="orientation">vertical</property>
14
22
        <property name="spacing">24</property>
 
23
        <child internal-child="action_area">
 
24
          <object class="GtkButtonBox" id="dialog-action_area1">
 
25
            <property name="visible">True</property>
 
26
            <property name="can_focus">False</property>
 
27
            <property name="layout_style">end</property>
 
28
            <child>
 
29
              <object class="GtkButton" id="button_help">
 
30
                <property name="label">gtk-remove</property>
 
31
                <property name="visible">True</property>
 
32
                <property name="can_focus">True</property>
 
33
                <property name="can_default">True</property>
 
34
                <property name="receives_default">False</property>
 
35
                <property name="use_action_appearance">False</property>
 
36
                <property name="use_stock">True</property>
 
37
                <signal name="clicked" handler="on_button_remove_clicked" swapped="no"/>
 
38
              </object>
 
39
              <packing>
 
40
                <property name="expand">False</property>
 
41
                <property name="fill">False</property>
 
42
                <property name="position">0</property>
 
43
              </packing>
 
44
            </child>
 
45
            <child>
 
46
              <object class="GtkButton" id="button_cancel">
 
47
                <property name="label">gtk-cancel</property>
 
48
                <property name="visible">True</property>
 
49
                <property name="can_focus">True</property>
 
50
                <property name="can_default">True</property>
 
51
                <property name="receives_default">False</property>
 
52
                <property name="use_action_appearance">False</property>
 
53
                <property name="use_stock">True</property>
 
54
                <signal name="clicked" handler="on_button_cancel_clicked" swapped="no"/>
 
55
              </object>
 
56
              <packing>
 
57
                <property name="expand">False</property>
 
58
                <property name="fill">False</property>
 
59
                <property name="position">1</property>
 
60
              </packing>
 
61
            </child>
 
62
            <child>
 
63
              <object class="GtkButton" id="button_save">
 
64
                <property name="label">gtk-save</property>
 
65
                <property name="visible">True</property>
 
66
                <property name="can_focus">True</property>
 
67
                <property name="can_default">True</property>
 
68
                <property name="has_default">True</property>
 
69
                <property name="receives_default">False</property>
 
70
                <property name="use_action_appearance">False</property>
 
71
                <property name="use_stock">True</property>
 
72
                <signal name="clicked" handler="on_button_save_clicked" swapped="no"/>
 
73
              </object>
 
74
              <packing>
 
75
                <property name="expand">False</property>
 
76
                <property name="fill">False</property>
 
77
                <property name="position">2</property>
 
78
              </packing>
 
79
            </child>
 
80
          </object>
 
81
          <packing>
 
82
            <property name="expand">False</property>
 
83
            <property name="fill">True</property>
 
84
            <property name="pack_type">end</property>
 
85
            <property name="position">0</property>
 
86
          </packing>
 
87
        </child>
15
88
        <child>
16
89
          <object class="GtkNotebook" id="notebook1">
17
90
            <property name="visible">True</property>
20
93
            <child>
21
94
              <object class="GtkVBox" id="vbox4">
22
95
                <property name="visible">True</property>
 
96
                <property name="can_focus">False</property>
23
97
                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
24
98
                <property name="spacing">6</property>
25
99
                <child>
26
100
                  <object class="GtkFrame" id="frame2">
27
101
                    <property name="visible">True</property>
 
102
                    <property name="can_focus">False</property>
28
103
                    <property name="label_xalign">0</property>
29
104
                    <property name="label_yalign">0</property>
30
105
                    <property name="shadow_type">none</property>
31
106
                    <child>
32
107
                      <object class="GtkAlignment" id="alignment2">
33
108
                        <property name="visible">True</property>
 
109
                        <property name="can_focus">False</property>
34
110
                        <property name="xalign">0</property>
35
111
                        <property name="yalign">0</property>
36
112
                        <property name="left_padding">12</property>
37
113
                        <child>
38
114
                          <object class="GtkTable" id="table1">
39
115
                            <property name="visible">True</property>
 
116
                            <property name="can_focus">False</property>
40
117
                            <property name="border_width">6</property>
41
118
                            <property name="n_rows">2</property>
42
119
                            <property name="n_columns">2</property>
45
122
                            <child>
46
123
                              <object class="GtkLabel" id="label_name1">
47
124
                                <property name="visible">True</property>
 
125
                                <property name="can_focus">False</property>
48
126
                                <property name="xalign">0</property>
49
127
                                <property name="yalign">0</property>
50
128
                                <property name="label" translatable="yes">Name:</property>
69
147
                            <child>
70
148
                              <object class="GtkLabel" id="label_refresh1">
71
149
                                <property name="visible">True</property>
 
150
                                <property name="can_focus">False</property>
72
151
                                <property name="xalign">0</property>
73
152
                                <property name="yalign">0</property>
74
153
                                <property name="label" translatable="yes">Refresh Interval:</property>
83
162
                            <child>
84
163
                              <object class="GtkHBox" id="hbox2">
85
164
                                <property name="visible">True</property>
 
165
                                <property name="can_focus">False</property>
86
166
                                <property name="spacing">6</property>
87
167
                                <child>
88
168
                                  <object class="GtkSpinButton" id="refresh">
92
172
                                    <property name="climb_rate">1</property>
93
173
                                  </object>
94
174
                                  <packing>
 
175
                                    <property name="expand">True</property>
 
176
                                    <property name="fill">True</property>
95
177
                                    <property name="position">0</property>
96
178
                                  </packing>
97
179
                                </child>
98
180
                                <child>
99
181
                                  <object class="GtkComboBox" id="refresh_unit">
100
182
                                    <property name="visible">True</property>
 
183
                                    <property name="can_focus">False</property>
101
184
                                    <property name="model">liststore1</property>
102
 
                                    <signal name="changed" handler="on_refresh_unit_changed"/>
 
185
                                    <signal name="changed" handler="on_refresh_unit_changed" swapped="no"/>
103
186
                                    <child>
104
187
                                      <object class="GtkCellRendererText" id="cellrenderertext1"/>
105
188
                                      <attributes>
136
219
                    <child type="label">
137
220
                      <object class="GtkLabel" id="label2">
138
221
                        <property name="visible">True</property>
 
222
                        <property name="can_focus">False</property>
139
223
                        <property name="xalign">0</property>
140
224
                        <property name="yalign">0</property>
141
225
                        <property name="label" translatable="yes">&lt;b&gt;General settings&lt;/b&gt;</property>
145
229
                  </object>
146
230
                  <packing>
147
231
                    <property name="expand">False</property>
 
232
                    <property name="fill">True</property>
148
233
                    <property name="padding">6</property>
149
234
                    <property name="position">0</property>
150
235
                  </packing>
152
237
                <child>
153
238
                  <object class="GtkFrame" id="frame1">
154
239
                    <property name="visible">True</property>
 
240
                    <property name="can_focus">False</property>
155
241
                    <property name="label_xalign">0</property>
156
242
                    <property name="label_yalign">0</property>
157
243
                    <property name="shadow_type">none</property>
158
244
                    <child>
159
245
                      <object class="GtkAlignment" id="alignment1">
160
246
                        <property name="visible">True</property>
 
247
                        <property name="can_focus">False</property>
161
248
                        <property name="xalign">0</property>
162
249
                        <property name="yalign">0</property>
163
250
                        <property name="left_padding">12</property>
164
251
                        <child>
165
252
                          <object class="GtkVBox" id="vbox_watch_options">
166
253
                            <property name="visible">True</property>
 
254
                            <property name="can_focus">False</property>
167
255
                            <property name="border_width">6</property>
168
256
                            <property name="spacing">6</property>
169
257
                            <child>
179
267
                    <child type="label">
180
268
                      <object class="GtkLabel" id="label7">
181
269
                        <property name="visible">True</property>
 
270
                        <property name="can_focus">False</property>
182
271
                        <property name="xalign">0</property>
183
272
                        <property name="yalign">0</property>
184
273
                        <property name="label" translatable="yes">&lt;b&gt;Watch options&lt;/b&gt;</property>
187
276
                    </child>
188
277
                  </object>
189
278
                  <packing>
 
279
                    <property name="expand">True</property>
 
280
                    <property name="fill">True</property>
190
281
                    <property name="padding">6</property>
191
282
                    <property name="position">1</property>
192
283
                  </packing>
196
287
            <child type="tab">
197
288
              <object class="GtkLabel" id="label1">
198
289
                <property name="visible">True</property>
 
290
                <property name="can_focus">False</property>
199
291
                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
200
292
                <property name="label" translatable="yes">General options</property>
201
293
              </object>
206
298
            <child>
207
299
              <object class="GtkVBox" id="vbox2">
208
300
                <property name="visible">True</property>
 
301
                <property name="can_focus">False</property>
209
302
                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
210
303
                <property name="spacing">6</property>
211
304
                <child>
212
305
                  <object class="GtkTable" id="table2">
213
306
                    <property name="visible">True</property>
 
307
                    <property name="can_focus">False</property>
214
308
                    <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
215
309
                    <property name="n_rows">3</property>
216
310
                    <property name="column_spacing">6</property>
218
312
                    <child>
219
313
                      <object class="GtkLabel" id="label4">
220
314
                        <property name="visible">True</property>
 
315
                        <property name="can_focus">False</property>
221
316
                        <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
222
317
                        <property name="xalign">0</property>
223
318
                        <property name="xpad">6</property>
245
340
                        <property name="can_focus">True</property>
246
341
                        <property name="receives_default">False</property>
247
342
                        <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
 
343
                        <property name="use_action_appearance">False</property>
248
344
                        <property name="draw_indicator">True</property>
249
 
                        <signal name="toggled" handler="check_command_toggled"/>
 
345
                        <signal name="toggled" handler="check_command_toggled" swapped="no"/>
250
346
                      </object>
251
347
                      <packing>
252
348
                        <property name="top_attach">1</property>
257
353
                  </object>
258
354
                  <packing>
259
355
                    <property name="expand">False</property>
 
356
                    <property name="fill">True</property>
260
357
                    <property name="padding">6</property>
261
358
                    <property name="position">0</property>
262
359
                  </packing>
264
361
                <child>
265
362
                  <object class="GtkTable" id="table3">
266
363
                    <property name="visible">True</property>
 
364
                    <property name="can_focus">False</property>
267
365
                    <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
268
366
                    <property name="n_rows">2</property>
269
367
                    <child>
287
385
                        <property name="can_focus">True</property>
288
386
                        <property name="receives_default">False</property>
289
387
                        <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
 
388
                        <property name="use_action_appearance">False</property>
290
389
                        <property name="draw_indicator">True</property>
291
 
                        <signal name="toggled" handler="check_open_toggled"/>
 
390
                        <signal name="toggled" handler="check_open_toggled" swapped="no"/>
292
391
                      </object>
293
392
                      <packing>
294
393
                        <property name="x_padding">6</property>
297
396
                  </object>
298
397
                  <packing>
299
398
                    <property name="expand">False</property>
 
399
                    <property name="fill">True</property>
300
400
                    <property name="padding">6</property>
301
401
                    <property name="position">1</property>
302
402
                  </packing>
312
412
            <child type="tab">
313
413
              <object class="GtkLabel" id="label3">
314
414
                <property name="visible">True</property>
 
415
                <property name="can_focus">False</property>
315
416
                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
316
417
                <property name="label" translatable="yes">Advanced options</property>
317
418
              </object>
325
426
                <property name="visible">True</property>
326
427
                <property name="can_focus">True</property>
327
428
                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
328
 
                <property name="hscrollbar_policy">automatic</property>
329
 
                <property name="vscrollbar_policy">automatic</property>
330
429
                <child>
331
430
                  <object class="GtkTextView" id="error_log">
332
431
                    <property name="visible">True</property>
342
441
            <child type="tab">
343
442
              <object class="GtkLabel" id="label5">
344
443
                <property name="visible">True</property>
 
444
                <property name="can_focus">False</property>
345
445
                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
346
446
                <property name="label" translatable="yes">Error log</property>
347
447
              </object>
352
452
            </child>
353
453
          </object>
354
454
          <packing>
 
455
            <property name="expand">False</property>
 
456
            <property name="fill">True</property>
355
457
            <property name="position">2</property>
356
458
          </packing>
357
459
        </child>
358
 
        <child internal-child="action_area">
359
 
          <object class="GtkHButtonBox" id="dialog-action_area1">
360
 
            <property name="visible">True</property>
361
 
            <property name="layout_style">end</property>
362
 
            <child>
363
 
              <object class="GtkButton" id="button_help">
364
 
                <property name="label">gtk-remove</property>
365
 
                <property name="visible">True</property>
366
 
                <property name="can_focus">True</property>
367
 
                <property name="can_default">True</property>
368
 
                <property name="receives_default">False</property>
369
 
                <property name="use_stock">True</property>
370
 
                <signal name="clicked" handler="on_button_remove_clicked"/>
371
 
              </object>
372
 
              <packing>
373
 
                <property name="expand">False</property>
374
 
                <property name="fill">False</property>
375
 
                <property name="position">0</property>
376
 
              </packing>
377
 
            </child>
378
 
            <child>
379
 
              <object class="GtkButton" id="button_cancel">
380
 
                <property name="label">gtk-cancel</property>
381
 
                <property name="visible">True</property>
382
 
                <property name="can_focus">True</property>
383
 
                <property name="can_default">True</property>
384
 
                <property name="receives_default">False</property>
385
 
                <property name="use_stock">True</property>
386
 
                <signal name="clicked" handler="on_button_cancel_clicked"/>
387
 
              </object>
388
 
              <packing>
389
 
                <property name="expand">False</property>
390
 
                <property name="fill">False</property>
391
 
                <property name="position">1</property>
392
 
              </packing>
393
 
            </child>
394
 
            <child>
395
 
              <object class="GtkButton" id="button_save">
396
 
                <property name="label">gtk-save</property>
397
 
                <property name="visible">True</property>
398
 
                <property name="can_focus">True</property>
399
 
                <property name="can_default">True</property>
400
 
                <property name="has_default">True</property>
401
 
                <property name="receives_default">False</property>
402
 
                <property name="use_stock">True</property>
403
 
                <signal name="clicked" handler="on_button_save_clicked"/>
404
 
              </object>
405
 
              <packing>
406
 
                <property name="expand">False</property>
407
 
                <property name="fill">False</property>
408
 
                <property name="position">2</property>
409
 
              </packing>
410
 
            </child>
411
 
          </object>
412
 
          <packing>
413
 
            <property name="expand">False</property>
414
 
            <property name="pack_type">end</property>
415
 
            <property name="position">0</property>
416
 
          </packing>
417
 
        </child>
418
460
      </object>
419
461
    </child>
420
462
    <action-widgets>
423
465
      <action-widget response="0">button_save</action-widget>
424
466
    </action-widgets>
425
467
  </object>
426
 
  <object class="GtkAdjustment" id="adjustment1">
427
 
    <property name="value">60</property>
428
 
    <property name="upper">255</property>
429
 
    <property name="step_increment">1</property>
430
 
    <property name="page_increment">10</property>
431
 
  </object>
432
468
  <object class="GtkListStore" id="liststore1">
433
469
    <columns>
434
470
      <!-- column-name item -->