~kroq-gar78/ubuntu/precise/gnome-control-center/fix-885947

« back to all changes in this revision

Viewing changes to panels/screen/screen.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="GtkListStore" id="lock_liststore">
 
6
    <columns>
 
7
      <!-- column-name name -->
 
8
      <column type="gchararray"/>
 
9
      <!-- column-name value -->
 
10
      <column type="gint"/>
 
11
    </columns>
 
12
    <data>
 
13
      <row>
 
14
        <col id="0" translatable="yes">Screen turns off</col>
 
15
        <col id="1">0</col>
 
16
      </row>
 
17
      <row>
 
18
        <col id="0" translatable="yes">30 seconds</col>
 
19
        <col id="1">30</col>
 
20
      </row>
 
21
      <row>
 
22
        <col id="0" translatable="yes">1 minute</col>
 
23
        <col id="1">60</col>
 
24
      </row>
 
25
      <row>
 
26
        <col id="0" translatable="yes">2 minutes</col>
 
27
        <col id="1">120</col>
 
28
      </row>
 
29
      <row>
 
30
        <col id="0" translatable="yes">3 minutes</col>
 
31
        <col id="1">180</col>
 
32
      </row>
 
33
      <row>
 
34
        <col id="0" translatable="yes">5 minutes</col>
 
35
        <col id="1">300</col>
 
36
      </row>
 
37
      <row>
 
38
        <col id="0" translatable="yes">10 minutes</col>
 
39
        <col id="1">600</col>
 
40
      </row>
 
41
      <row>
 
42
        <col id="0" translatable="yes">30 minutes</col>
 
43
        <col id="1">1800</col>
 
44
      </row>
 
45
      <row>
 
46
        <col id="0" translatable="yes">1 hour</col>
 
47
        <col id="1">3600</col>
 
48
      </row>
 
49
    </data>
 
50
  </object>
 
51
  <object class="GtkListStore" id="screen_brightness_liststore">
 
52
    <columns>
 
53
      <!-- column-name name -->
 
54
      <column type="gchararray"/>
 
55
      <!-- column-name value -->
 
56
      <column type="gint"/>
 
57
    </columns>
 
58
    <data>
 
59
      <row>
 
60
        <col id="0" translatable="yes">1 minute</col>
 
61
        <col id="1">60</col>
 
62
      </row>
 
63
      <row>
 
64
        <col id="0" translatable="yes">2 minutes</col>
 
65
        <col id="1">120</col>
 
66
      </row>
 
67
      <row>
 
68
        <col id="0" translatable="yes">3 minutes</col>
 
69
        <col id="1">180</col>
 
70
      </row>
 
71
      <row>
 
72
        <col id="0" translatable="yes">5 minutes</col>
 
73
        <col id="1">300</col>
 
74
      </row>
 
75
      <row>
 
76
        <col id="0" translatable="yes">10 minutes</col>
 
77
        <col id="1">600</col>
 
78
      </row>
 
79
      <row>
 
80
        <col id="0" translatable="yes">30 minutes</col>
 
81
        <col id="1">1800</col>
 
82
      </row>
 
83
      <row>
 
84
        <col id="0" translatable="yes">1 hour</col>
 
85
        <col id="1">3600</col>
 
86
      </row>
 
87
    </data>
 
88
  </object>
 
89
  <object class="GtkWindow" id="window1">
 
90
    <child>
 
91
      <object class="GtkVBox" id="screen_vbox">
 
92
        <property name="visible">True</property>
 
93
        <property name="orientation">vertical</property>
 
94
        <child>
 
95
          <object class="GtkVBox" id="vbox9">
 
96
            <property name="visible">True</property>
 
97
            <property name="border_width">10</property>
 
98
            <property name="orientation">vertical</property>
 
99
            <property name="spacing">12</property>
 
100
            <child>
 
101
              <object class="GtkFrame" id="frame1">
 
102
                <property name="visible">True</property>
 
103
                <property name="label_xalign">0</property>
 
104
                <property name="shadow_type">none</property>
 
105
                <child>
 
106
                  <object class="GtkAlignment" id="alignment1">
 
107
                    <property name="visible">True</property>
 
108
                    <property name="top_padding">6</property>
 
109
                    <property name="left_padding">12</property>
 
110
                    <child>
 
111
                      <object class="GtkVBox" id="vbox3">
 
112
                        <property name="visible">True</property>
 
113
                        <property name="orientation">vertical</property>
 
114
                        <property name="spacing">6</property>
 
115
                        <child>
 
116
                          <object class="GtkHScale" id="screen_brightness_hscale">
 
117
                            <property name="visible">True</property>
 
118
                            <property name="can_focus">True</property>
 
119
                            <property name="digits">0</property>
 
120
                            <property name="draw_value">False</property>
 
121
                            <property name="value_pos">bottom</property>
 
122
                          </object>
 
123
                          <packing>
 
124
                            <property name="position">0</property>
 
125
                          </packing>
 
126
                        </child>
 
127
                        <child>
 
128
                          <object class="GtkCheckButton" id="screen_auto_reduce_checkbutton">
 
129
                            <property name="label" translatable="yes">Dim screen to save power</property>
 
130
                            <property name="visible">True</property>
 
131
                            <property name="can_focus">True</property>
 
132
                            <property name="receives_default">False</property>
 
133
                            <property name="draw_indicator">True</property>
 
134
                          </object>
 
135
                          <packing>
 
136
                            <property name="expand">False</property>
 
137
                            <property name="position">1</property>
 
138
                          </packing>
 
139
                        </child>
 
140
                        <child>
 
141
                          <object class="GtkHBox" id="hbox9">
 
142
                            <property name="visible">True</property>
 
143
                            <property name="spacing">6</property>
 
144
                            <child>
 
145
                              <object class="GtkLabel" id="turn_off_after_label">
 
146
                                <property name="visible">True</property>
 
147
                                <property name="xalign">0</property>
 
148
                                <property name="label" translatable="yes">Turn off after:</property>
 
149
                              </object>
 
150
                              <packing>
 
151
                                <property name="expand">False</property>
 
152
                                <property name="fill">False</property>
 
153
                                <property name="position">0</property>
 
154
                              </packing>
 
155
                            </child>
 
156
                            <child>
 
157
                              <object class="GtkComboBoxText" id="screen_brightness_combobox">
 
158
                                <property name="visible">True</property>
 
159
                                <property name="model">screen_brightness_liststore</property>
 
160
                              </object>
 
161
                              <packing>
 
162
                                <property name="expand">False</property>
 
163
                                <property name="fill">False</property>
 
164
                                <property name="position">1</property>
 
165
                              </packing>
 
166
                            </child>
 
167
                          </object>
 
168
                          <packing>
 
169
                            <property name="expand">False</property>
 
170
                            <property name="fill">False</property>
 
171
                            <property name="position">2</property>
 
172
                          </packing>
 
173
                        </child>
 
174
                      </object>
 
175
                    </child>
 
176
                  </object>
 
177
                </child>
 
178
                <child type="label">
 
179
                  <object class="GtkLabel" id="label5">
 
180
                    <property name="visible">True</property>
 
181
                    <property name="label" translatable="yes">Brightness</property>
 
182
                    <property name="use_markup">True</property>
 
183
                    <attributes>
 
184
                      <attribute name="weight" value="bold"/>
 
185
                    </attributes>
 
186
                  </object>
 
187
                </child>
 
188
              </object>
 
189
              <packing>
 
190
                <property name="expand">False</property>
 
191
                <property name="position">0</property>
 
192
              </packing>
 
193
            </child>
 
194
            <child>
 
195
              <object class="GtkFrame" id="frame2">
 
196
                <property name="visible">True</property>
 
197
                <property name="label_xalign">0</property>
 
198
                <property name="shadow_type">none</property>
 
199
                <child>
 
200
                  <object class="GtkAlignment" id="alignment2">
 
201
                    <property name="visible">True</property>
 
202
                    <property name="top_padding">6</property>
 
203
                    <property name="left_padding">12</property>
 
204
                    <child>
 
205
                      <object class="GtkVBox" id="screen_lock_main_box">
 
206
                        <property name="visible">True</property>
 
207
                        <property name="orientation">vertical</property>
 
208
                        <property name="spacing">6</property>
 
209
                        <child>
 
210
                          <object class="GtkHBox" id="hbox8">
 
211
                            <property name="visible">True</property>
 
212
                            <child>
 
213
                              <object class="GtkSwitch" id="screen_lock_on_switch">
 
214
                                <property name="visible">True</property>
 
215
                                <property name="can_focus">True</property>
 
216
                                <property name="receives_default">False</property>
 
217
                              </object>
 
218
                              <packing>
 
219
                                <property name="expand">False</property>
 
220
                                <property name="position">0</property>
 
221
                              </packing>
 
222
                            </child>
 
223
                          </object>
 
224
                          <packing>
 
225
                            <property name="expand">False</property>
 
226
                            <property name="fill">False</property>
 
227
                            <property name="position">0</property>
 
228
                          </packing>
 
229
                        </child>
 
230
                        <child>
 
231
                          <object class="GtkHBox" id="screen_lock_hbox">
 
232
                            <property name="visible">True</property>
 
233
                            <property name="spacing">6</property>
 
234
                            <child>
 
235
                              <object class="GtkLabel" id="lock_screen_after_label">
 
236
                                <property name="visible">True</property>
 
237
                                <property name="xalign">0</property>
 
238
                                <property name="label" translatable="yes">Lock screen after:</property>
 
239
                              </object>
 
240
                              <packing>
 
241
                                <property name="expand">False</property>
 
242
                                <property name="fill">False</property>
 
243
                                <property name="position">0</property>
 
244
                              </packing>
 
245
                            </child>
 
246
                            <child>
 
247
                              <object class="GtkComboBoxText" id="screen_lock_combobox">
 
248
                                <property name="visible">True</property>
 
249
                                <property name="model">lock_liststore</property>
 
250
                              </object>
 
251
                              <packing>
 
252
                                <property name="expand">False</property>
 
253
                                <property name="fill">False</property>
 
254
                                <property name="position">1</property>
 
255
                              </packing>
 
256
                            </child>
 
257
                          </object>
 
258
                          <packing>
 
259
                            <property name="expand">False</property>
 
260
                            <property name="fill">False</property>
 
261
                            <property name="position">1</property>
 
262
                          </packing>
 
263
                        </child>
 
264
                        <child>
 
265
                          <object class="GtkHBox" id="hbox2">
 
266
                            <property name="no_show_all">True</property>
 
267
                            <child>
 
268
                              <object class="GtkCheckButton" id="screen_lock_not_home_checkbutton">
 
269
                                <property name="label" translatable="yes" comments="To translators: This asks whether you want to lock the screen (through the screensaver) when you're detected to be physically in your home (your house, etc.)">Don't lock when at home</property>
 
270
                                <property name="visible">True</property>
 
271
                                <property name="can_focus">True</property>
 
272
                                <property name="receives_default">False</property>
 
273
                                <property name="draw_indicator">True</property>
 
274
                              </object>
 
275
                              <packing>
 
276
                                <property name="position">0</property>
 
277
                              </packing>
 
278
                            </child>
 
279
                            <child>
 
280
                              <object class="GtkLinkButton" id="screen_locations_linkbutton">
 
281
                                <property name="label" translatable="yes">Locations...</property>
 
282
                                <property name="visible">True</property>
 
283
                                <property name="can_focus">True</property>
 
284
                                <property name="receives_default">True</property>
 
285
                                <property name="relief">none</property>
 
286
                                <property name="image_position">right</property>
 
287
                                <property name="uri">http://glade.gnome.org</property>
 
288
                              </object>
 
289
                              <packing>
 
290
                                <property name="expand">False</property>
 
291
                                <property name="position">1</property>
 
292
                              </packing>
 
293
                            </child>
 
294
                          </object>
 
295
                          <packing>
 
296
                            <property name="position">2</property>
 
297
                          </packing>
 
298
                        </child>
 
299
                      </object>
 
300
                    </child>
 
301
                  </object>
 
302
                </child>
 
303
                <child type="label">
 
304
                  <object class="GtkLabel" id="label6">
 
305
                    <property name="visible">True</property>
 
306
                    <property name="label" translatable="yes">Lock</property>
 
307
                    <property name="use_markup">True</property>
 
308
                    <attributes>
 
309
                      <attribute name="weight" value="bold"/>
 
310
                    </attributes>
 
311
                  </object>
 
312
                </child>
 
313
              </object>
 
314
              <packing>
 
315
                <property name="expand">False</property>
 
316
                <property name="position">1</property>
 
317
              </packing>
 
318
            </child>
 
319
          </object>
 
320
          <packing>
 
321
            <property name="position">0</property>
 
322
          </packing>
 
323
        </child>
 
324
      </object>
 
325
    </child>
 
326
  </object>
 
327
  <object class="GtkSizeGroup" id="sizegroup1">
 
328
    <widgets>
 
329
      <widget name="screen_brightness_combobox"/>
 
330
      <widget name="screen_lock_combobox"/>
 
331
    </widgets>
 
332
  </object>
 
333
  <object class="GtkSizeGroup" id="sizegroup2">
 
334
    <widgets>
 
335
      <widget name="turn_off_after_label"/>
 
336
      <widget name="lock_screen_after_label"/>
 
337
    </widgets>
 
338
  </object>
 
339
</interface>