~charlesk/gnome-control-center/make-new-panel

« back to all changes in this revision

Viewing changes to panels/datetime/datetime.ui

  • Committer: Bazaar Package Importer
  • Author(s): Rodrigo Moya
  • Date: 2011-05-17 10:47:27 UTC
  • mfrom: (0.1.11 experimental) (1.1.45 upstream)
  • Revision ID: james.westby@ubuntu.com-20110517104727-lqel6m8vhfw5jby1
Tags: 1:3.0.1.1-1ubuntu1
* Rebase on Debian, remaining Ubuntu changes:
* debian/control:
  - Build-Depend on hardening-wrapper, dpkg-dev and dh-autoreconf
  - Add dependency on ubuntu-system-service
  - Remove dependency on gnome-icon-theme-symbolic
  - Move dependency on apg, gnome-icon-theme-symbolic and accountsservice to
    be a Recommends: until we get them in main
* debian/rules:
  - Use autoreconf
  - Add binary-post-install rule for gnome-control-center-data
  - Run dh-autoreconf
* debian/gnome-control-center.dirs:
* debian/gnome-control-center.links:
  - Add a link to the control center shell for indicators
* debian/patches/00_disable-nm.patch:
  - Temporary patch to disable building with NetworkManager until we get
    the new one in the archive
* debian/patches/01_git_remove_gettext_calls.patch:
  - Remove calls to AM_GNU_GETTEXT, IT_PROG_INTLTOOL should be enough
* debian/patches/01_git_kill_warning.patch:
  - Kill warning
* debian/patches/50_ubuntu_systemwide_prefs.patch:
  - Ubuntu specific proxy preferences
* debian/patches/51_ubuntu_system_keyboard.patch:
  - Implement the global keyboard spec at https://wiki.ubuntu.com/DefaultKeyboardSettings

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<interface>
 
3
  <requires lib="gtk+" version="2.16"/>
 
4
  <!-- interface-naming-policy project-wide -->
 
5
  <object class="GtkWindow" id="window1">
 
6
    <child>
 
7
      <object class="GtkAlignment" id="datetime-panel">
 
8
        <property name="visible">True</property>
 
9
        <property name="top_padding">10</property>
 
10
        <property name="left_padding">10</property>
 
11
        <property name="bottom_padding">10</property>
 
12
        <property name="right_padding">10</property>
 
13
        <child>
 
14
          <object class="GtkVBox" id="hbox">
 
15
            <property name="visible">True</property>
 
16
            <property name="orientation">vertical</property>
 
17
            <child>
 
18
              <object class="GtkHBox" id="vbox">
 
19
                <property name="visible">True</property>
 
20
                <property name="spacing">24</property>
 
21
                <child>
 
22
                  <object class="GtkVBox" id="map-vbox">
 
23
                    <property name="visible">True</property>
 
24
                    <property name="orientation">vertical</property>
 
25
                    <property name="spacing">6</property>
 
26
                    <child>
 
27
                      <object class="GtkAspectFrame" id="aspectmap">
 
28
                        <property name="visible">True</property>
 
29
                        <property name="label_xalign">0</property>
 
30
                        <property name="shadow_type">none</property>
 
31
                        <child>
 
32
                          <placeholder/>
 
33
                        </child>
 
34
                      </object>
 
35
                      <packing>
 
36
                        <property name="position">0</property>
 
37
                      </packing>
 
38
                    </child>
 
39
                    <child>
 
40
                      <object class="GtkHBox" id="hbox1">
 
41
                        <property name="visible">True</property>
 
42
                        <property name="spacing">12</property>
 
43
                        <child>
 
44
                          <object class="GtkLabel" id="label1">
 
45
                            <property name="visible">True</property>
 
46
                            <property name="xalign">0</property>
 
47
                            <property name="label" translatable="yes">Region:</property>
 
48
                          </object>
 
49
                          <packing>
 
50
                            <property name="expand">False</property>
 
51
                            <property name="position">0</property>
 
52
                          </packing>
 
53
                        </child>
 
54
                        <child>
 
55
                          <object class="GtkComboBox" id="region_combobox">
 
56
                            <property name="visible">True</property>
 
57
                            <property name="model">region-liststore</property>
 
58
                            <child>
 
59
                              <object class="GtkCellRendererText" id="cellrenderertext1"/>
 
60
                              <attributes>
 
61
                                <attribute name="text">1</attribute>
 
62
                              </attributes>
 
63
                            </child>
 
64
                          </object>
 
65
                          <packing>
 
66
                            <property name="position">1</property>
 
67
                          </packing>
 
68
                        </child>
 
69
                        <child>
 
70
                          <object class="GtkLabel" id="label4">
 
71
                            <property name="visible">True</property>
 
72
                            <property name="xalign">0</property>
 
73
                            <property name="label" translatable="yes">City:</property>
 
74
                          </object>
 
75
                          <packing>
 
76
                            <property name="expand">False</property>
 
77
                            <property name="position">2</property>
 
78
                          </packing>
 
79
                        </child>
 
80
                        <child>
 
81
                          <object class="GtkComboBox" id="city_combobox">
 
82
                            <property name="visible">True</property>
 
83
                            <property name="model">city-modelsort</property>
 
84
                            <child>
 
85
                              <object class="GtkCellRendererText" id="cellrenderertext2"/>
 
86
                              <attributes>
 
87
                                <attribute name="text">2</attribute>
 
88
                              </attributes>
 
89
                            </child>
 
90
                          </object>
 
91
                          <packing>
 
92
                            <property name="position">3</property>
 
93
                          </packing>
 
94
                        </child>
 
95
                      </object>
 
96
                      <packing>
 
97
                        <property name="expand">False</property>
 
98
                        <property name="pack_type">end</property>
 
99
                        <property name="position">1</property>
 
100
                      </packing>
 
101
                    </child>
 
102
                  </object>
 
103
                  <packing>
 
104
                    <property name="position">0</property>
 
105
                  </packing>
 
106
                </child>
 
107
                <child>
 
108
                  <object class="GtkVBox" id="vbox4">
 
109
                    <property name="visible">True</property>
 
110
                    <property name="orientation">vertical</property>
 
111
                    <child>
 
112
                      <object class="GtkHBox" id="hbox2">
 
113
                        <property name="visible">True</property>
 
114
                        <property name="spacing">12</property>
 
115
                        <child>
 
116
                          <object class="GtkLabel" id="label3">
 
117
                            <property name="visible">True</property>
 
118
                            <property name="xalign">0</property>
 
119
                            <property name="label" translatable="yes">Network Time</property>
 
120
                          </object>
 
121
                          <packing>
 
122
                            <property name="position">1</property>
 
123
                          </packing>
 
124
                        </child>
 
125
                        <child>
 
126
                          <object class="GtkSwitch" id="network_time_switch">
 
127
                            <property name="visible">True</property>
 
128
                            <property name="can_focus">True</property>
 
129
                            <property name="receives_default">True</property>
 
130
                          </object>
 
131
                          <packing>
 
132
                            <property name="pack_type">end</property>
 
133
                            <property name="position">2</property>
 
134
                            <property name="expand">False</property>
 
135
                          </packing>
 
136
                        </child>
 
137
                      </object>
 
138
                      <packing>
 
139
                        <property name="position">0</property>
 
140
                        <property name="padding">6</property>
 
141
                        <property name="expand">False</property>
 
142
                      </packing>
 
143
                    </child>
 
144
                    <child>
 
145
                      <object class="GtkAlignment" id="alignment2">
 
146
                        <property name="visible">True</property>
 
147
                        <property name="xscale">0</property>
 
148
                        <child>
 
149
                          <object class="GtkTable" id="table2">
 
150
                            <property name="visible">True</property>
 
151
                            <property name="n_rows">3</property>
 
152
                            <property name="n_columns">4</property>
 
153
                            <property name="column_spacing">12</property>
 
154
                            <property name="row_spacing">6</property>
 
155
                            <child>
 
156
                              <object class="GtkLabel" id="label2">
 
157
                                <property name="visible">True</property>
 
158
                                <property name="label" translatable="yes" comments="Translator: this is the separator between hours and minutes, like in HH:MM">:</property>
 
159
                                <attributes>
 
160
                                  <attribute name="weight" value="bold"/>
 
161
                                  <attribute name="scale" value="2.500000"/>
 
162
                                </attributes>
 
163
                              </object>
 
164
                              <packing>
 
165
                                <property name="left_attach">1</property>
 
166
                                <property name="right_attach">2</property>
 
167
                                <property name="top_attach">1</property>
 
168
                                <property name="bottom_attach">2</property>
 
169
                              </packing>
 
170
                            </child>
 
171
                            <child>
 
172
                              <object class="GtkLabel" id="hours_label">
 
173
                                <property name="visible">True</property>
 
174
                                <property name="label">16</property>
 
175
                                <attributes>
 
176
                                  <attribute name="weight" value="bold"/>
 
177
                                  <attribute name="scale" value="2.500000"/>
 
178
                                </attributes>
 
179
                              </object>
 
180
                              <packing>
 
181
                                <property name="top_attach">1</property>
 
182
                                <property name="bottom_attach">2</property>
 
183
                              </packing>
 
184
                            </child>
 
185
                            <child>
 
186
                              <object class="GtkLabel" id="minutes_label">
 
187
                                <property name="visible">True</property>
 
188
                                <property name="label">45</property>
 
189
                                <attributes>
 
190
                                  <attribute name="weight" value="bold"/>
 
191
                                  <attribute name="scale" value="2.500000"/>
 
192
                                </attributes>
 
193
                              </object>
 
194
                              <packing>
 
195
                                <property name="left_attach">2</property>
 
196
                                <property name="right_attach">3</property>
 
197
                                <property name="top_attach">1</property>
 
198
                                <property name="bottom_attach">2</property>
 
199
                              </packing>
 
200
                            </child>
 
201
                            <child>
 
202
                              <object class="GtkButton" id="hour_up_button">
 
203
                                <property name="visible">True</property>
 
204
                                <property name="can_focus">True</property>
 
205
                                <property name="receives_default">True</property>
 
206
                                <property name="relief">none</property>
 
207
                                <child>
 
208
                                  <object class="GtkArrow" id="arrow1">
 
209
                                    <property name="visible">True</property>
 
210
                                    <property name="arrow_type">up</property>
 
211
                                  </object>
 
212
                                </child>
 
213
                              </object>
 
214
                            </child>
 
215
                            <child>
 
216
                              <object class="GtkButton" id="hour_down_button">
 
217
                                <property name="visible">True</property>
 
218
                                <property name="can_focus">True</property>
 
219
                                <property name="receives_default">True</property>
 
220
                                <property name="relief">none</property>
 
221
                                <child>
 
222
                                  <object class="GtkArrow" id="arrow2">
 
223
                                    <property name="visible">True</property>
 
224
                                    <property name="arrow_type">down</property>
 
225
                                  </object>
 
226
                                </child>
 
227
                              </object>
 
228
                              <packing>
 
229
                                <property name="top_attach">2</property>
 
230
                                <property name="bottom_attach">3</property>
 
231
                              </packing>
 
232
                            </child>
 
233
                            <child>
 
234
                              <object class="GtkButton" id="min_up_button">
 
235
                                <property name="visible">True</property>
 
236
                                <property name="can_focus">True</property>
 
237
                                <property name="receives_default">True</property>
 
238
                                <property name="relief">none</property>
 
239
                                <child>
 
240
                                  <object class="GtkArrow" id="arrow4">
 
241
                                    <property name="visible">True</property>
 
242
                                    <property name="arrow_type">up</property>
 
243
                                  </object>
 
244
                                </child>
 
245
                              </object>
 
246
                              <packing>
 
247
                                <property name="left_attach">2</property>
 
248
                                <property name="right_attach">3</property>
 
249
                              </packing>
 
250
                            </child>
 
251
                            <child>
 
252
                              <object class="GtkButton" id="min_down_button">
 
253
                                <property name="visible">True</property>
 
254
                                <property name="can_focus">True</property>
 
255
                                <property name="receives_default">True</property>
 
256
                                <property name="relief">none</property>
 
257
                                <child>
 
258
                                  <object class="GtkArrow" id="arrow3">
 
259
                                    <property name="visible">True</property>
 
260
                                    <property name="arrow_type">down</property>
 
261
                                  </object>
 
262
                                </child>
 
263
                              </object>
 
264
                              <packing>
 
265
                                <property name="left_attach">2</property>
 
266
                                <property name="right_attach">3</property>
 
267
                                <property name="top_attach">2</property>
 
268
                                <property name="bottom_attach">3</property>
 
269
                              </packing>
 
270
                            </child>
 
271
                            <child>
 
272
                              <placeholder/>
 
273
                            </child>
 
274
                            <child>
 
275
                              <placeholder/>
 
276
                            </child>
 
277
                            <child>
 
278
                              <object class="GtkLabel" id="ampm_label">
 
279
                                <property name="visible">False</property>
 
280
                                <property name="label">AM</property>
 
281
                                <attributes>
 
282
                                  <attribute name="weight" value="bold"/>
 
283
                                  <attribute name="scale" value="2.500000"/>
 
284
                                </attributes>
 
285
                              </object>
 
286
                              <packing>
 
287
                                <property name="left_attach">3</property>
 
288
                                <property name="right_attach">4</property>
 
289
                                <property name="top_attach">1</property>
 
290
                                <property name="bottom_attach">2</property>
 
291
                              </packing>
 
292
                            </child>
 
293
                            <child>
 
294
                              <object class="GtkButton" id="ampm_up_button">
 
295
                                <property name="visible">False</property>
 
296
                                <property name="can_focus">True</property>
 
297
                                <property name="receives_default">True</property>
 
298
                                <property name="relief">none</property>
 
299
                                <child>
 
300
                                  <object class="GtkArrow" id="arrow5">
 
301
                                    <property name="visible">True</property>
 
302
                                    <property name="arrow_type">up</property>
 
303
                                  </object>
 
304
                                </child>
 
305
                              </object>
 
306
                              <packing>
 
307
                                <property name="left_attach">3</property>
 
308
                                <property name="right_attach">4</property>
 
309
                              </packing>
 
310
                            </child>
 
311
                            <child>
 
312
                              <object class="GtkButton" id="ampm_down_button">
 
313
                                <property name="visible">False</property>
 
314
                                <property name="can_focus">True</property>
 
315
                                <property name="receives_default">True</property>
 
316
                                <property name="relief">none</property>
 
317
                                <child>
 
318
                                  <object class="GtkArrow" id="arrow6">
 
319
                                    <property name="visible">True</property>
 
320
                                    <property name="arrow_type">down</property>
 
321
                                  </object>
 
322
                                </child>
 
323
                              </object>
 
324
                              <packing>
 
325
                                <property name="left_attach">3</property>
 
326
                                <property name="right_attach">4</property>
 
327
                                <property name="top_attach">2</property>
 
328
                                <property name="bottom_attach">3</property>
 
329
                              </packing>
 
330
                            </child>
 
331
                          </object>
 
332
                        </child>
 
333
                      </object>
 
334
                      <packing>
 
335
                        <property name="expand">False</property>
 
336
                        <property name="padding">12</property>
 
337
                        <property name="position">1</property>
 
338
                      </packing>
 
339
                    </child>
 
340
                    <child>
 
341
                      <object class="GtkHBox" id="hbox23">
 
342
                        <property name="visible">True</property>
 
343
                        <property name="spacing">12</property>
 
344
                        <child>
 
345
                          <object class="GtkLabel" id="label33">
 
346
                            <property name="visible">True</property>
 
347
                            <property name="xalign">0</property>
 
348
                            <property name="label" translatable="yes">24-Hour Time</property>
 
349
                          </object>
 
350
                          <packing>
 
351
                            <property name="position">1</property>
 
352
                          </packing>
 
353
                        </child>
 
354
                        <child>
 
355
                          <object class="GtkSwitch" id="24h_time_switch">
 
356
                            <property name="visible">True</property>
 
357
                            <property name="can_focus">True</property>
 
358
                          </object>
 
359
                          <packing>
 
360
                            <property name="pack_type">end</property>
 
361
                            <property name="position">2</property>
 
362
                            <property name="expand">False</property>
 
363
                          </packing>
 
364
                        </child>
 
365
                      </object>
 
366
                      <packing>
 
367
                        <property name="position">3</property>
 
368
                        <property name="padding">6</property>
 
369
                        <property name="expand">False</property>
 
370
                        <property name="pack_type">end</property>
 
371
                      </packing>
 
372
                    </child>
 
373
                    <child>
 
374
                      <object class="GtkHBox" id="table1">
 
375
                        <property name="visible">True</property>
 
376
                        <property name="spacing">12</property>
 
377
                        <child>
 
378
                          <object class="GtkComboBox" id="month-combobox">
 
379
                            <property name="visible">True</property>
 
380
                            <property name="model">month-liststore</property>
 
381
                            <child>
 
382
                              <object class="GtkCellRendererText" id="cellrenderertext3"/>
 
383
                              <attributes>
 
384
                                <attribute name="text">0</attribute>
 
385
                              </attributes>
 
386
                            </child>
 
387
                          </object>
 
388
                          <packing>
 
389
                          </packing>
 
390
                        </child>
 
391
                        <child>
 
392
                          <object class="GtkSpinButton" id="day-spinbutton">
 
393
                            <property name="visible">True</property>
 
394
                            <property name="can_focus">True</property>
 
395
                            <property name="invisible_char">&#x2022;</property>
 
396
                            <property name="width_chars">3</property>
 
397
                            <property name="numeric">True</property>
 
398
                            <property name="wrap">True</property>
 
399
                          </object>
 
400
                          <packing>
 
401
                          </packing>
 
402
                        </child>
 
403
                        <child>
 
404
                          <object class="GtkSpinButton" id="year-spinbutton">
 
405
                            <property name="visible">True</property>
 
406
                            <property name="can_focus">True</property>
 
407
                            <property name="invisible_char">&#x2022;</property>
 
408
                            <property name="width_chars">5</property>
 
409
                            <property name="numeric">True</property>
 
410
                            <property name="wrap">True</property>
 
411
                          </object>
 
412
                          <packing>
 
413
                          </packing>
 
414
                        </child>
 
415
                      </object>
 
416
                      <packing>
 
417
                        <property name="expand">False</property>
 
418
                        <property name="padding">12</property>
 
419
                        <property name="position">2</property>
 
420
                      </packing>
 
421
                    </child>
 
422
                  </object>
 
423
                  <packing>
 
424
                    <property name="expand">False</property>
 
425
                    <property name="position">1</property>
 
426
                  </packing>
 
427
                </child>
 
428
              </object>
 
429
              <packing>
 
430
                <property name="position">1</property>
 
431
              </packing>
 
432
            </child>
 
433
          </object>
 
434
        </child>
 
435
      </object>
 
436
    </child>
 
437
  </object>
 
438
  <object class="GtkListStore" id="region-liststore">
 
439
    <columns>
 
440
      <!-- column-name region -->
 
441
      <column type="gchararray"/>
 
442
      <!-- column-name region-translated -->
 
443
      <column type="gchararray"/>
 
444
    </columns>
 
445
  </object>
 
446
  <object class="GtkListStore" id="city-liststore">
 
447
    <columns>
 
448
      <!-- column-name city -->
 
449
      <column type="gchararray"/>
 
450
      <!-- column-name region -->
 
451
      <column type="gchararray"/>
 
452
      <!-- column-name city-translated -->
 
453
      <column type="gchararray"/>
 
454
      <!-- column-name region-translated -->
 
455
      <column type="gchararray"/>
 
456
      <!-- column-name zone -->
 
457
      <column type="gchararray"/>
 
458
    </columns>
 
459
  </object>
 
460
  <object class="GtkListStore" id="month-liststore">
 
461
    <columns>
 
462
      <!-- column-name gchararray1 -->
 
463
      <column type="gchararray"/>
 
464
    </columns>
 
465
    <data>
 
466
      <row>
 
467
        <col id="0" translatable="yes">January</col>
 
468
      </row>
 
469
      <row>
 
470
        <col id="0" translatable="yes">February</col>
 
471
      </row>
 
472
      <row>
 
473
        <col id="0" translatable="yes">March</col>
 
474
      </row>
 
475
      <row>
 
476
        <col id="0" translatable="yes">April</col>
 
477
      </row>
 
478
      <row>
 
479
        <col id="0" translatable="yes">May</col>
 
480
      </row>
 
481
      <row>
 
482
        <col id="0" translatable="yes">June</col>
 
483
      </row>
 
484
      <row>
 
485
        <col id="0" translatable="yes">July</col>
 
486
      </row>
 
487
      <row>
 
488
        <col id="0" translatable="yes">August</col>
 
489
      </row>
 
490
      <row>
 
491
        <col id="0" translatable="yes">September</col>
 
492
      </row>
 
493
      <row>
 
494
        <col id="0" translatable="yes">October</col>
 
495
      </row>
 
496
      <row>
 
497
        <col id="0" translatable="yes">November</col>
 
498
      </row>
 
499
      <row>
 
500
        <col id="0" translatable="yes">December</col>
 
501
      </row>
 
502
    </data>
 
503
  </object>
 
504
  <object class="GtkListStore" id="day-liststore">
 
505
    <columns>
 
506
      <!-- column-name gchararray1 -->
 
507
      <column type="gchararray"/>
 
508
    </columns>
 
509
    <data>
 
510
      <row>
 
511
        <col id="0">22</col>
 
512
      </row>
 
513
    </data>
 
514
  </object>
 
515
  <object class="GtkListStore" id="year-liststore">
 
516
    <columns>
 
517
      <!-- column-name gchararray1 -->
 
518
      <column type="gchararray"/>
 
519
    </columns>
 
520
    <data>
 
521
      <row>
 
522
        <col id="0">2010</col>
 
523
      </row>
 
524
    </data>
 
525
  </object>
 
526
  <object class="GtkTreeModelFilter" id="city-modelfilter">
 
527
    <property name="child_model">city-liststore</property>
 
528
  </object>
 
529
  <object class="GtkTreeModelSort" id="city-modelsort">
 
530
    <property name="model">city-modelfilter</property>
 
531
  </object>
 
532
</interface>