~lightdm-gtk-greeter-team/lightdm-gtk-greeter/trunk

« back to all changes in this revision

Viewing changes to data/greeter.ui

  • Committer: Robert Ancell
  • Date: 2011-11-29 03:06:00 UTC
  • Revision ID: robert.ancell@canonical.com-20111129030600-a3yg839xmbd1kr0e
Split lightdm-gtk-greeter out of lightdm

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<interface>
 
3
  <requires lib="gtk+" version="2.24"/>
 
4
  <object class="GtkListStore" id="language_liststore">
 
5
    <columns>
 
6
      <!-- column-name label -->
 
7
      <column type="gchararray"/>
 
8
      <!-- column-name key -->
 
9
      <column type="gchararray"/>
 
10
    </columns>
 
11
  </object>
 
12
  <object class="GtkWindow" id="login_window">
 
13
    <property name="can_focus">False</property>
 
14
    <property name="resizable">False</property>
 
15
    <property name="decorated">False</property>
 
16
    <property name="has_resize_grip">False</property>
 
17
    <child>
 
18
      <object class="GtkNotebook" id="login_notebook">
 
19
        <property name="width_request">400</property>
 
20
        <property name="visible">True</property>
 
21
        <property name="can_focus">True</property>
 
22
        <property name="show_tabs">False</property>
 
23
        <child>
 
24
          <object class="GtkVBox" id="vbox2">
 
25
            <property name="visible">True</property>
 
26
            <property name="can_focus">False</property>
 
27
            <property name="border_width">12</property>
 
28
            <property name="spacing">6</property>
 
29
            <child>
 
30
              <object class="GtkImage" id="image1">
 
31
                <property name="visible">True</property>
 
32
                <property name="can_focus">False</property>
 
33
                <property name="pixel_size">64</property>
 
34
                <property name="icon_name">computer</property>
 
35
              </object>
 
36
              <packing>
 
37
                <property name="expand">False</property>
 
38
                <property name="fill">True</property>
 
39
                <property name="position">0</property>
 
40
              </packing>
 
41
            </child>
 
42
            <child>
 
43
              <object class="GtkLabel" id="hostname_label">
 
44
                <property name="visible">True</property>
 
45
                <property name="can_focus">False</property>
 
46
                <property name="label" comments="This is a placeholder string and will be replaced with the hostname of the system">[hostname]</property>
 
47
              </object>
 
48
              <packing>
 
49
                <property name="expand">True</property>
 
50
                <property name="fill">True</property>
 
51
                <property name="position">1</property>
 
52
              </packing>
 
53
            </child>
 
54
            <child>
 
55
              <object class="GtkTreeView" id="user_treeview">
 
56
                <property name="can_focus">True</property>
 
57
                <property name="model">user_liststore</property>
 
58
                <property name="headers_visible">False</property>
 
59
                <property name="fixed_height_mode">True</property>
 
60
                <property name="enable_grid_lines">horizontal</property>
 
61
                <child internal-child="selection">
 
62
                  <object class="GtkTreeSelection" id="treeview-selection1">
 
63
                     <signal name="changed" handler="user_treeview_selection_changed_cb" swapped="no"/>
 
64
                  </object>
 
65
                </child>
 
66
              </object>
 
67
              <packing>
 
68
                <property name="expand">True</property>
 
69
                <property name="fill">True</property>
 
70
                <property name="position">2</property>
 
71
              </packing>
 
72
            </child>
 
73
            <child>
 
74
              <object class="GtkVBox" id="login_box">
 
75
                <property name="can_focus">False</property>
 
76
                <property name="spacing">6</property>
 
77
                <child>
 
78
                  <object class="GtkHBox" id="prompt_box">
 
79
                    <property name="can_focus">False</property>
 
80
                    <property name="spacing">6</property>
 
81
                    <child>
 
82
                      <object class="GtkLabel" id="prompt_label">
 
83
                        <property name="visible">True</property>
 
84
                        <property name="can_focus">False</property>
 
85
                        <property name="label" comments="This is a placeholder string and will be replaced by the greeter with a prompt string from PAM.">[prompt]</property>
 
86
                      </object>
 
87
                      <packing>
 
88
                        <property name="expand">False</property>
 
89
                        <property name="fill">True</property>
 
90
                        <property name="position">0</property>
 
91
                      </packing>
 
92
                    </child>
 
93
                    <child>
 
94
                      <object class="GtkEntry" id="prompt_entry">
 
95
                        <property name="visible">True</property>
 
96
                        <property name="can_focus">True</property>
 
97
                        <property name="invisible_char">•</property>
 
98
                        <property name="primary_icon_activatable">False</property>
 
99
                        <property name="secondary_icon_activatable">False</property>
 
100
                        <signal name="activate" handler="login_cb" swapped="no"/>
 
101
                      </object>
 
102
                      <packing>
 
103
                        <property name="expand">True</property>
 
104
                        <property name="fill">True</property>
 
105
                        <property name="position">1</property>
 
106
                      </packing>
 
107
                    </child>
 
108
                  </object>
 
109
                  <packing>
 
110
                    <property name="expand">True</property>
 
111
                    <property name="fill">True</property>
 
112
                    <property name="position">0</property>
 
113
                  </packing>
 
114
                </child>
 
115
                <child>
 
116
                  <object class="GtkLabel" id="message_label">
 
117
                    <property name="can_focus">False</property>
 
118
                    <property name="label" comments="This is a placeholder string and will be replaced with a message from PAM">[message]</property>
 
119
                  </object>
 
120
                  <packing>
 
121
                    <property name="expand">False</property>
 
122
                    <property name="fill">True</property>
 
123
                    <property name="position">1</property>
 
124
                  </packing>
 
125
                </child>
 
126
                <child>
 
127
                  <object class="GtkHBox" id="hbox2">
 
128
                    <property name="visible">True</property>
 
129
                    <property name="can_focus">False</property>
 
130
                    <property name="spacing">6</property>
 
131
                    <child>
 
132
                      <object class="GtkComboBox" id="session_combobox">
 
133
                        <property name="can_focus">False</property>
 
134
                        <property name="model">session_liststore</property>
 
135
                      </object>
 
136
                      <packing>
 
137
                        <property name="expand">True</property>
 
138
                        <property name="fill">True</property>
 
139
                        <property name="position">0</property>
 
140
                      </packing>
 
141
                    </child>
 
142
                    <child>
 
143
                      <object class="GtkComboBox" id="language_combobox">
 
144
                        <property name="can_focus">False</property>
 
145
                        <property name="model">language_liststore</property>
 
146
                      </object>
 
147
                      <packing>
 
148
                        <property name="expand">True</property>
 
149
                        <property name="fill">True</property>
 
150
                        <property name="position">1</property>
 
151
                      </packing>
 
152
                    </child>
 
153
                    <child>
 
154
                      <object class="GtkButton" id="login_button">
 
155
                        <property name="label" translatable="yes">Login</property>
 
156
                        <property name="visible">True</property>
 
157
                        <property name="can_focus">True</property>
 
158
                        <property name="receives_default">True</property>
 
159
                        <property name="use_action_appearance">False</property>
 
160
                        <signal name="clicked" handler="login_cb" swapped="no"/>
 
161
                      </object>
 
162
                      <packing>
 
163
                        <property name="expand">False</property>
 
164
                        <property name="fill">True</property>
 
165
                        <property name="pack_type">end</property>
 
166
                        <property name="position">2</property>
 
167
                      </packing>
 
168
                    </child>
 
169
                    <child>
 
170
                      <object class="GtkButton" id="cancel_button">
 
171
                        <property name="label" translatable="yes">Cancel</property>
 
172
                        <property name="visible">True</property>
 
173
                        <property name="can_focus">True</property>
 
174
                        <property name="receives_default">True</property>
 
175
                        <property name="use_action_appearance">False</property>
 
176
                        <signal name="clicked" handler="cancel_cb" swapped="no"/>
 
177
                      </object>
 
178
                      <packing>
 
179
                        <property name="expand">False</property>
 
180
                        <property name="fill">True</property>
 
181
                        <property name="pack_type">end</property>
 
182
                        <property name="position">3</property>
 
183
                      </packing>
 
184
                    </child>
 
185
                  </object>
 
186
                  <packing>
 
187
                    <property name="expand">True</property>
 
188
                    <property name="fill">True</property>
 
189
                    <property name="position">2</property>
 
190
                  </packing>
 
191
                </child>
 
192
              </object>
 
193
              <packing>
 
194
                <property name="expand">False</property>
 
195
                <property name="fill">True</property>
 
196
                <property name="position">3</property>
 
197
              </packing>
 
198
            </child>
 
199
          </object>
 
200
        </child>
 
201
        <child type="tab">
 
202
          <placeholder/>
 
203
        </child>
 
204
      </object>
 
205
    </child>
 
206
  </object>
 
207
  <object class="GtkWindow" id="panel_window">
 
208
    <property name="can_focus">False</property>
 
209
    <property name="decorated">False</property>
 
210
    <property name="has_resize_grip">False</property>
 
211
    <child>
 
212
      <object class="GtkMenuBar" id="menubar">
 
213
        <property name="visible">True</property>
 
214
        <property name="can_focus">False</property>
 
215
        <property name="pack_direction">rtl</property>
 
216
        <child>
 
217
          <object class="GtkMenuItem" id="power_menuitem">
 
218
            <property name="visible">True</property>
 
219
            <property name="can_focus">False</property>
 
220
            <property name="use_action_appearance">False</property>
 
221
            <child type="submenu">
 
222
              <object class="GtkMenu" id="power_menu">
 
223
                <property name="visible">True</property>
 
224
                <property name="can_focus">False</property>
 
225
                <child>
 
226
                  <object class="GtkMenuItem" id="suspend_menuitem">
 
227
                    <property name="visible">True</property>
 
228
                    <property name="can_focus">False</property>
 
229
                    <property name="use_action_appearance">False</property>
 
230
                    <property name="label" translatable="yes">Suspend</property>
 
231
                    <signal name="activate" handler="suspend_cb" swapped="no"/>
 
232
                  </object>
 
233
                </child>
 
234
                <child>
 
235
                  <object class="GtkMenuItem" id="hibernate_menuitem">
 
236
                    <property name="visible">True</property>
 
237
                    <property name="can_focus">False</property>
 
238
                    <property name="use_action_appearance">False</property>
 
239
                    <property name="label" translatable="yes">Hibernate</property>
 
240
                    <signal name="activate" handler="hibernate_cb" swapped="no"/>
 
241
                  </object>
 
242
                </child>
 
243
                <child>
 
244
                  <object class="GtkMenuItem" id="restart_menuitem">
 
245
                    <property name="visible">True</property>
 
246
                    <property name="can_focus">False</property>
 
247
                    <property name="use_action_appearance">False</property>
 
248
                    <property name="label" translatable="yes">Restart...</property>
 
249
                    <signal name="activate" handler="restart_cb" swapped="no"/>
 
250
                  </object>
 
251
                </child>
 
252
                <child>
 
253
                  <object class="GtkMenuItem" id="shutdown_menuitem">
 
254
                    <property name="visible">True</property>
 
255
                    <property name="can_focus">False</property>
 
256
                    <property name="use_action_appearance">False</property>
 
257
                    <property name="label" translatable="yes">Shutdown...</property>
 
258
                    <signal name="activate" handler="shutdown_cb" swapped="no"/>
 
259
                  </object>
 
260
                </child>
 
261
              </object>
 
262
            </child>
 
263
          </object>
 
264
        </child>
 
265
        <child>
 
266
          <object class="GtkMenuItem" id="a11y_menuitem">
 
267
            <property name="visible">True</property>
 
268
            <property name="can_focus">False</property>
 
269
            <property name="use_action_appearance">False</property>
 
270
            <child type="submenu">
 
271
              <object class="GtkMenu" id="a11y_menu">
 
272
                <property name="visible">True</property>
 
273
                <property name="can_focus">False</property>
 
274
                <child>
 
275
                  <object class="GtkCheckMenuItem" id="large_font_menuitem">
 
276
                    <property name="visible">True</property>
 
277
                    <property name="can_focus">False</property>
 
278
                    <property name="use_action_appearance">False</property>
 
279
                    <property name="label" translatable="yes">Large Font</property>
 
280
                    <signal name="toggled" handler="a11y_font_cb" swapped="no"/>
 
281
                  </object>
 
282
                </child>
 
283
                <child>
 
284
                  <object class="GtkCheckMenuItem" id="high_contrast_menuitem">
 
285
                    <property name="visible">True</property>
 
286
                    <property name="can_focus">False</property>
 
287
                    <property name="use_action_appearance">False</property>
 
288
                    <property name="label" translatable="yes">High Contrast</property>
 
289
                    <signal name="toggled" handler="a11y_contrast_cb" swapped="no"/>
 
290
                  </object>
 
291
                </child>
 
292
              </object>
 
293
            </child>
 
294
          </object>
 
295
        </child>
 
296
      </object>
 
297
    </child>
 
298
  </object>
 
299
  <object class="GtkListStore" id="session_liststore">
 
300
    <columns>
 
301
      <!-- column-name label -->
 
302
      <column type="gchararray"/>
 
303
      <!-- column-name key -->
 
304
      <column type="gchararray"/>
 
305
    </columns>
 
306
  </object>
 
307
  <object class="GtkListStore" id="user_liststore">
 
308
    <columns>
 
309
      <!-- column-name username -->
 
310
      <column type="gchararray"/>
 
311
      <!-- column-name label -->
 
312
      <column type="gchararray"/>
 
313
      <!-- column-name weight -->
 
314
      <column type="gint"/>
 
315
      <!-- column-name image -->
 
316
      <column type="GdkPixbuf"/>
 
317
    </columns>
 
318
  </object>
 
319
</interface>