~leo.robol/lum/trunk

« back to all changes in this revision

Viewing changes to lum/interface/ui/LumNewUserDialog.ui

  • Committer: Leonardo Robol
  • Date: 2010-09-19 15:31:17 UTC
  • Revision ID: git-v1:281ceece5234622daba78fabf0efaf6cc893693c
Moved source to better suit setup.py

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.16"/>
4
 
  <!-- interface-naming-policy project-wide -->
5
 
  <object class="GtkDialog" id="new_user_dialog">
6
 
    <property name="border_width">5</property>
7
 
    <property name="title" translatable="yes">Create new user</property>
8
 
    <property name="type_hint">normal</property>
9
 
    <property name="has_separator">False</property>
10
 
    <child internal-child="vbox">
11
 
      <object class="GtkVBox" id="dialog-vbox1">
12
 
        <property name="visible">True</property>
13
 
        <property name="spacing">2</property>
14
 
        <child>
15
 
          <object class="GtkVBox" id="vbox1">
16
 
            <property name="visible">True</property>
17
 
            <child>
18
 
              <object class="GtkHBox" id="hbox1">
19
 
                <property name="visible">True</property>
20
 
                <child>
21
 
                  <object class="GtkImage" id="image1">
22
 
                    <property name="visible">True</property>
23
 
                    <property name="stock">gtk-new</property>
24
 
                    <property name="icon-size">5</property>
25
 
                  </object>
26
 
                  <packing>
27
 
                    <property name="position">0</property>
28
 
                  </packing>
29
 
                </child>
30
 
                <child>
31
 
                  <object class="GtkLabel" id="label8">
32
 
                    <property name="visible">True</property>
33
 
                    <property name="label" translatable="yes">Insert new user data and press Save when done</property>
34
 
                    <property name="wrap">True</property>
35
 
                  </object>
36
 
                  <packing>
37
 
                    <property name="position">1</property>
38
 
                  </packing>
39
 
                </child>
40
 
              </object>
41
 
              <packing>
42
 
                <property name="position">0</property>
43
 
              </packing>
44
 
            </child>
45
 
            <child>
46
 
              <object class="GtkFrame" id="frame1">
47
 
                <property name="visible">True</property>
48
 
                <property name="label_xalign">0</property>
49
 
                <property name="shadow_type">none</property>
50
 
                <child>
51
 
                  <object class="GtkAlignment" id="alignment1">
52
 
                    <property name="visible">True</property>
53
 
                    <property name="top_padding">5</property>
54
 
                    <property name="left_padding">12</property>
55
 
                    <child>
56
 
                      <object class="GtkTable" id="table1">
57
 
                        <property name="visible">True</property>
58
 
                        <property name="n_rows">3</property>
59
 
                        <property name="n_columns">2</property>
60
 
                        <child>
61
 
                          <object class="GtkLabel" id="label3">
62
 
                            <property name="visible">True</property>
63
 
                            <property name="xalign">0</property>
64
 
                            <property name="xpad">5</property>
65
 
                            <property name="label" translatable="yes">Name</property>
66
 
                          </object>
67
 
                          <packing>
68
 
                            <property name="top_attach">1</property>
69
 
                            <property name="bottom_attach">2</property>
70
 
                            <property name="x_options">GTK_FILL</property>
71
 
                          </packing>
72
 
                        </child>
73
 
                        <child>
74
 
                          <object class="GtkEntry" id="givenName_entry">
75
 
                            <property name="visible">True</property>
76
 
                            <property name="can_focus">True</property>
77
 
                            <property name="invisible_char">●</property>
78
 
                          </object>
79
 
                          <packing>
80
 
                            <property name="left_attach">1</property>
81
 
                            <property name="right_attach">2</property>
82
 
                            <property name="top_attach">1</property>
83
 
                            <property name="bottom_attach">2</property>
84
 
                          </packing>
85
 
                        </child>
86
 
                        <child>
87
 
                          <object class="GtkLabel" id="label4">
88
 
                            <property name="visible">True</property>
89
 
                            <property name="xalign">0</property>
90
 
                            <property name="xpad">5</property>
91
 
                            <property name="label" translatable="yes">Surname</property>
92
 
                          </object>
93
 
                          <packing>
94
 
                            <property name="top_attach">2</property>
95
 
                            <property name="bottom_attach">3</property>
96
 
                            <property name="x_options">GTK_FILL</property>
97
 
                          </packing>
98
 
                        </child>
99
 
                        <child>
100
 
                          <object class="GtkEntry" id="sn_entry">
101
 
                            <property name="visible">True</property>
102
 
                            <property name="can_focus">True</property>
103
 
                            <property name="invisible_char">●</property>
104
 
                          </object>
105
 
                          <packing>
106
 
                            <property name="left_attach">1</property>
107
 
                            <property name="right_attach">2</property>
108
 
                            <property name="top_attach">2</property>
109
 
                            <property name="bottom_attach">3</property>
110
 
                          </packing>
111
 
                        </child>
112
 
                        <child>
113
 
                          <object class="GtkLabel" id="label9">
114
 
                            <property name="visible">True</property>
115
 
                            <property name="xalign">0</property>
116
 
                            <property name="xpad">5</property>
117
 
                            <property name="label" translatable="yes">Username</property>
118
 
                          </object>
119
 
                        </child>
120
 
                        <child>
121
 
                          <object class="GtkEntry" id="username_entry">
122
 
                            <property name="visible">True</property>
123
 
                            <property name="can_focus">True</property>
124
 
                            <property name="invisible_char">●</property>
125
 
                            <signal name="focus_out_event" handler="on_username_entry_focus_out_event"/>
126
 
                          </object>
127
 
                          <packing>
128
 
                            <property name="left_attach">1</property>
129
 
                            <property name="right_attach">2</property>
130
 
                          </packing>
131
 
                        </child>
132
 
                      </object>
133
 
                    </child>
134
 
                  </object>
135
 
                </child>
136
 
                <child type="label">
137
 
                  <object class="GtkLabel" id="label1">
138
 
                    <property name="visible">True</property>
139
 
                    <property name="label" translatable="yes">&lt;b&gt;Personal data&lt;/b&gt;</property>
140
 
                    <property name="use_markup">True</property>
141
 
                  </object>
142
 
                </child>
143
 
              </object>
144
 
              <packing>
145
 
                <property name="padding">5</property>
146
 
                <property name="position">1</property>
147
 
              </packing>
148
 
            </child>
149
 
            <child>
150
 
              <object class="GtkFrame" id="frame2">
151
 
                <property name="visible">True</property>
152
 
                <property name="label_xalign">0</property>
153
 
                <property name="shadow_type">none</property>
154
 
                <child>
155
 
                  <object class="GtkAlignment" id="alignment2">
156
 
                    <property name="visible">True</property>
157
 
                    <property name="top_padding">5</property>
158
 
                    <property name="left_padding">12</property>
159
 
                    <child>
160
 
                      <object class="GtkTable" id="table2">
161
 
                        <property name="visible">True</property>
162
 
                        <property name="n_rows">3</property>
163
 
                        <property name="n_columns">2</property>
164
 
                        <child>
165
 
                          <object class="GtkLabel" id="label5">
166
 
                            <property name="visible">True</property>
167
 
                            <property name="xalign">0</property>
168
 
                            <property name="xpad">5</property>
169
 
                            <property name="label" translatable="yes">Home directory</property>
170
 
                          </object>
171
 
                          <packing>
172
 
                            <property name="x_options">GTK_FILL</property>
173
 
                          </packing>
174
 
                        </child>
175
 
                        <child>
176
 
                          <object class="GtkEntry" id="home_entry">
177
 
                            <property name="visible">True</property>
178
 
                            <property name="can_focus">True</property>
179
 
                            <property name="invisible_char">●</property>
180
 
                          </object>
181
 
                          <packing>
182
 
                            <property name="left_attach">1</property>
183
 
                            <property name="right_attach">2</property>
184
 
                          </packing>
185
 
                        </child>
186
 
                        <child>
187
 
                          <object class="GtkLabel" id="label6">
188
 
                            <property name="visible">True</property>
189
 
                            <property name="xalign">0</property>
190
 
                            <property name="xpad">5</property>
191
 
                            <property name="label" translatable="yes">Shell</property>
192
 
                          </object>
193
 
                          <packing>
194
 
                            <property name="top_attach">1</property>
195
 
                            <property name="bottom_attach">2</property>
196
 
                            <property name="x_options">GTK_FILL</property>
197
 
                          </packing>
198
 
                        </child>
199
 
                        <child>
200
 
                          <object class="GtkEntry" id="shell_entry">
201
 
                            <property name="visible">True</property>
202
 
                            <property name="can_focus">True</property>
203
 
                            <property name="invisible_char">●</property>
204
 
                            <property name="text" translatable="yes">/bin/bash</property>
205
 
                          </object>
206
 
                          <packing>
207
 
                            <property name="left_attach">1</property>
208
 
                            <property name="right_attach">2</property>
209
 
                            <property name="top_attach">1</property>
210
 
                            <property name="bottom_attach">2</property>
211
 
                          </packing>
212
 
                        </child>
213
 
                        <child>
214
 
                          <object class="GtkLabel" id="label7">
215
 
                            <property name="visible">True</property>
216
 
                            <property name="xalign">0</property>
217
 
                            <property name="xpad">5</property>
218
 
                            <property name="label" translatable="yes">Group</property>
219
 
                          </object>
220
 
                          <packing>
221
 
                            <property name="top_attach">2</property>
222
 
                            <property name="bottom_attach">3</property>
223
 
                          </packing>
224
 
                        </child>
225
 
                        <child>
226
 
                          <object class="GtkEntry" id="group_entry">
227
 
                            <property name="visible">True</property>
228
 
                            <property name="can_focus">True</property>
229
 
                            <property name="invisible_char">●</property>
230
 
                          </object>
231
 
                          <packing>
232
 
                            <property name="left_attach">1</property>
233
 
                            <property name="right_attach">2</property>
234
 
                            <property name="top_attach">2</property>
235
 
                            <property name="bottom_attach">3</property>
236
 
                          </packing>
237
 
                        </child>
238
 
                      </object>
239
 
                    </child>
240
 
                  </object>
241
 
                </child>
242
 
                <child type="label">
243
 
                  <object class="GtkLabel" id="label2">
244
 
                    <property name="visible">True</property>
245
 
                    <property name="label" translatable="yes">&lt;b&gt;System settings&lt;/b&gt;</property>
246
 
                    <property name="use_markup">True</property>
247
 
                  </object>
248
 
                </child>
249
 
              </object>
250
 
              <packing>
251
 
                <property name="padding">6</property>
252
 
                <property name="position">2</property>
253
 
              </packing>
254
 
            </child>
255
 
          </object>
256
 
          <packing>
257
 
            <property name="position">1</property>
258
 
          </packing>
259
 
        </child>
260
 
        <child internal-child="action_area">
261
 
          <object class="GtkHButtonBox" id="dialog-action_area1">
262
 
            <property name="visible">True</property>
263
 
            <property name="layout_style">end</property>
264
 
            <child>
265
 
              <object class="GtkButton" id="button2">
266
 
                <property name="label">gtk-cancel</property>
267
 
                <property name="visible">True</property>
268
 
                <property name="can_focus">True</property>
269
 
                <property name="receives_default">True</property>
270
 
                <property name="use_stock">True</property>
271
 
              </object>
272
 
              <packing>
273
 
                <property name="expand">False</property>
274
 
                <property name="fill">False</property>
275
 
                <property name="position">0</property>
276
 
              </packing>
277
 
            </child>
278
 
            <child>
279
 
              <object class="GtkButton" id="button1">
280
 
                <property name="label">gtk-save</property>
281
 
                <property name="visible">True</property>
282
 
                <property name="can_focus">True</property>
283
 
                <property name="receives_default">True</property>
284
 
                <property name="use_stock">True</property>
285
 
              </object>
286
 
              <packing>
287
 
                <property name="expand">False</property>
288
 
                <property name="fill">False</property>
289
 
                <property name="position">1</property>
290
 
              </packing>
291
 
            </child>
292
 
          </object>
293
 
          <packing>
294
 
            <property name="expand">False</property>
295
 
            <property name="pack_type">end</property>
296
 
            <property name="position">0</property>
297
 
          </packing>
298
 
        </child>
299
 
      </object>
300
 
    </child>
301
 
    <action-widgets>
302
 
      <action-widget response="0">button2</action-widget>
303
 
      <action-widget response="1">button1</action-widget>
304
 
    </action-widgets>
305
 
  </object>
306
 
  <object class="GtkAdjustment" id="uid_adjustment">
307
 
    <property name="upper">10000</property>
308
 
    <property name="step_increment">1</property>
309
 
    <property name="page_increment">10</property>
310
 
  </object>
311
 
  <object class="GtkAdjustment" id="gid_adjustment">
312
 
    <property name="upper">10000</property>
313
 
    <property name="step_increment">1</property>
314
 
    <property name="page_increment">10</property>
315
 
  </object>
316
 
</interface>