add_new_contact_window.ui 18.8 KB
Newer Older
Yann Leboulanger's avatar
Yann Leboulanger committed
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- Generated with glade 3.22.1 -->
3
<interface>
Sophie Herold's avatar
Sophie Herold committed
4
5
6
7
8
9
10
11
12
  <requires lib="gtk+" version="3.20"/>
  <object class="GtkListStore" id="account_liststore">
    <columns>
      <!-- column-name id -->
      <column type="gchararray"/>
      <!-- column-name label -->
      <column type="gchararray"/>
    </columns>
  </object>
13
14
15
16
17
18
  <object class="GtkListStore" id="groups_liststore">
    <columns>
      <!-- column-name item -->
      <column type="gchararray"/>
    </columns>
  </object>
Sophie Herold's avatar
Sophie Herold committed
19
20
21
22
23
  <object class="GtkTextBuffer" id="message_textbuffer">
    <property name="text" translatable="yes">I would like to add you to my contact list.</property>
    <signal name="end-user-action" handler="on_message_textbuffer_changed" swapped="no"/>
  </object>
  <object class="GtkListStore" id="protocol">
24
    <columns>
Sophie Herold's avatar
Sophie Herold committed
25
26
27
28
29
      <!-- column-name label -->
      <column type="gchararray"/>
      <!-- column-name icon -->
      <column type="gchararray"/>
      <!-- column-name agent -->
30
31
32
      <column type="gchararray"/>
    </columns>
  </object>
Sophie Herold's avatar
Sophie Herold committed
33
  <object class="GtkListStore" id="protocol_jid">
34
35
36
37
38
    <columns>
      <!-- column-name item -->
      <column type="gchararray"/>
    </columns>
  </object>
Sophie Herold's avatar
Sophie Herold committed
39
40
41
  <object class="GtkBox" id="add_contact_box">
    <property name="width_request">400</property>
    <property name="visible">True</property>
Yann Leboulanger's avatar
Yann Leboulanger committed
42
    <property name="can_focus">False</property>
Sophie Herold's avatar
Sophie Herold committed
43
44
45
46
47
48
    <property name="margin_left">18</property>
    <property name="margin_right">18</property>
    <property name="margin_bottom">18</property>
    <property name="orientation">vertical</property>
    <property name="spacing">6</property>
    <property name="baseline_position">top</property>
49
    <child>
Sophie Herold's avatar
Sophie Herold committed
50
      <object class="GtkLabel" id="prompt_label">
Yann Leboulanger's avatar
Yann Leboulanger committed
51
        <property name="can_focus">False</property>
52
        <property name="no_show_all">True</property>
Sophie Herold's avatar
Sophie Herold committed
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
        <property name="halign">center</property>
        <property name="margin_top">18</property>
        <property name="use_markup">True</property>
        <property name="justify">center</property>
        <property name="wrap">True</property>
        <style>
          <class name="dim-label"/>
        </style>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="fill">False</property>
        <property name="position">0</property>
      </packing>
    </child>
    <child>
      <object class="GtkGrid">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="row_spacing">6</property>
        <property name="column_spacing">12</property>
74
        <child>
Sophie Herold's avatar
Sophie Herold committed
75
          <object class="GtkLabel" id="uid_label">
76
            <property name="visible">True</property>
Yann Leboulanger's avatar
Yann Leboulanger committed
77
            <property name="can_focus">False</property>
Sophie Herold's avatar
Sophie Herold committed
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
            <property name="halign">end</property>
            <property name="label" translatable="yes">_Jabber ID</property>
            <property name="use_underline">True</property>
            <style>
              <class name="dim-label"/>
            </style>
          </object>
          <packing>
            <property name="left_attach">0</property>
            <property name="top_attach">2</property>
          </packing>
        </child>
        <child>
          <object class="GtkLabel" id="nickname_label">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="halign">end</property>
            <property name="label" translatable="yes">_Nickname</property>
            <property name="use_underline">True</property>
97
            <property name="xalign">0.5</property>
Sophie Herold's avatar
Sophie Herold committed
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
            <style>
              <class name="dim-label"/>
            </style>
          </object>
          <packing>
            <property name="left_attach">0</property>
            <property name="top_attach">3</property>
          </packing>
        </child>
        <child>
          <object class="GtkLabel" id="group_label">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="halign">end</property>
            <property name="label" translatable="yes">_Group</property>
            <property name="use_underline">True</property>
lovetox's avatar
lovetox committed
114
            <property name="xalign">0</property>
Sophie Herold's avatar
Sophie Herold committed
115
116
117
            <style>
              <class name="dim-label"/>
            </style>
118
          </object>
119
          <packing>
Sophie Herold's avatar
Sophie Herold committed
120
121
122
123
124
125
126
127
128
129
            <property name="left_attach">0</property>
            <property name="top_attach">4</property>
          </packing>
        </child>
        <child>
          <object class="GtkEntry" id="uid_entry">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="hexpand">True</property>
            <property name="activates_default">True</property>
130
            <property name="placeholder_text">user@example.org</property>
Sophie Herold's avatar
Sophie Herold committed
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
          </object>
          <packing>
            <property name="left_attach">1</property>
            <property name="top_attach">2</property>
          </packing>
        </child>
        <child>
          <object class="GtkEntry" id="nickname_entry">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="hexpand">True</property>
            <property name="activates_default">True</property>
          </object>
          <packing>
            <property name="left_attach">1</property>
            <property name="top_attach">3</property>
147
148
149
          </packing>
        </child>
        <child>
Sophie Herold's avatar
Sophie Herold committed
150
          <object class="GtkComboBoxText" id="group_comboboxentry">
151
            <property name="visible">True</property>
Yann Leboulanger's avatar
Yann Leboulanger committed
152
            <property name="can_focus">False</property>
Sophie Herold's avatar
Sophie Herold committed
153
154
155
156
157
158
159
            <property name="hexpand">True</property>
            <property name="has_entry">True</property>
            <child internal-child="entry">
              <object class="GtkEntry" id="comboboxtext-entry">
                <property name="can_focus">True</property>
                <property name="activates_default">True</property>
                <property name="placeholder_text" translatable="yes">Choose or type new group name</property>
160
              </object>
161
            </child>
162
          </object>
163
          <packing>
Sophie Herold's avatar
Sophie Herold committed
164
165
            <property name="left_attach">1</property>
            <property name="top_attach">4</property>
166
167
168
          </packing>
        </child>
        <child>
Sophie Herold's avatar
Sophie Herold committed
169
          <object class="GtkLabel" id="account_label">
Yann Leboulanger's avatar
Yann Leboulanger committed
170
            <property name="can_focus">False</property>
171
            <property name="no_show_all">True</property>
Sophie Herold's avatar
Sophie Herold committed
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
            <property name="halign">end</property>
            <property name="margin_bottom">12</property>
            <property name="label" translatable="yes">A_ccount</property>
            <property name="use_underline">True</property>
            <style>
              <class name="dim-label"/>
            </style>
          </object>
          <packing>
            <property name="left_attach">0</property>
            <property name="top_attach">0</property>
          </packing>
        </child>
        <child>
          <object class="GtkLabel" id="protocol_label">
            <property name="can_focus">False</property>
188
            <property name="no_show_all">True</property>
Sophie Herold's avatar
Sophie Herold committed
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
            <property name="halign">end</property>
            <property name="label" translatable="yes">_Protocol</property>
            <property name="use_underline">True</property>
            <property name="xalign">0</property>
            <style>
              <class name="dim-label"/>
            </style>
          </object>
          <packing>
            <property name="left_attach">0</property>
            <property name="top_attach">1</property>
          </packing>
        </child>
        <child>
          <object class="GtkBox">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="spacing">12</property>
207
            <child>
208
              <object class="GtkComboBox" id="protocol_combobox">
Yann Leboulanger's avatar
Yann Leboulanger committed
209
                <property name="can_focus">False</property>
210
                <property name="no_show_all">True</property>
Sophie Herold's avatar
Sophie Herold committed
211
                <property name="model">protocol</property>
Yann Leboulanger's avatar
Yann Leboulanger committed
212
                <signal name="changed" handler="on_protocol_combobox_changed" swapped="no"/>
Sophie Herold's avatar
Sophie Herold committed
213
214
215
216
217
218
219
220
221
222
223
224
225
226
                <child>
                  <object class="GtkCellRendererPixbuf"/>
                  <attributes>
                    <attribute name="icon-name">1</attribute>
                  </attributes>
                </child>
                <child>
                  <object class="GtkCellRendererText">
                    <property name="xpad">5</property>
                  </object>
                  <attributes>
                    <attribute name="text">0</attribute>
                  </attributes>
                </child>
227
              </object>
228
229
230
              <packing>
                <property name="expand">False</property>
                <property name="fill">False</property>
Sophie Herold's avatar
Sophie Herold committed
231
                <property name="position">0</property>
232
233
234
              </packing>
            </child>
            <child>
235
              <object class="GtkComboBox" id="protocol_jid_combobox">
Yann Leboulanger's avatar
Yann Leboulanger committed
236
                <property name="can_focus">False</property>
237
                <property name="no_show_all">True</property>
Sophie Herold's avatar
Sophie Herold committed
238
                <property name="model">protocol_jid</property>
Yann Leboulanger's avatar
Yann Leboulanger committed
239
                <signal name="changed" handler="on_protocol_jid_combobox_changed" swapped="no"/>
240
241
242
243
244
245
246
                <child>
                  <object class="GtkCellRendererText" id="cellrenderertext2"/>
                  <attributes>
                    <attribute name="text">0</attribute>
                  </attributes>
                </child>
              </object>
247
              <packing>
Yann Leboulanger's avatar
Yann Leboulanger committed
248
249
                <property name="expand">True</property>
                <property name="fill">True</property>
Sophie Herold's avatar
Sophie Herold committed
250
                <property name="position">1</property>
251
252
              </packing>
            </child>
253
          </object>
254
          <packing>
Sophie Herold's avatar
Sophie Herold committed
255
256
            <property name="left_attach">1</property>
            <property name="top_attach">1</property>
257
258
259
          </packing>
        </child>
        <child>
Sophie Herold's avatar
Sophie Herold committed
260
          <object class="GtkComboBox" id="account_combobox">
Yann Leboulanger's avatar
Yann Leboulanger committed
261
            <property name="can_focus">False</property>
262
            <property name="no_show_all">True</property>
Sophie Herold's avatar
Sophie Herold committed
263
264
265
266
267
            <property name="margin_bottom">12</property>
            <property name="model">account_liststore</property>
            <property name="entry_text_column">1</property>
            <property name="id_column">0</property>
            <signal name="changed" handler="on_account_combobox_changed" swapped="no"/>
268
            <child>
Sophie Herold's avatar
Sophie Herold committed
269
270
271
272
              <object class="GtkCellRendererText" id="cellrenderertext3"/>
              <attributes>
                <attribute name="text">1</attribute>
              </attributes>
273
            </child>
274
          </object>
275
          <packing>
Sophie Herold's avatar
Sophie Herold committed
276
277
            <property name="left_attach">1</property>
            <property name="top_attach">0</property>
278
279
          </packing>
        </child>
Sophie Herold's avatar
Sophie Herold committed
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="fill">True</property>
        <property name="padding">18</property>
        <property name="position">3</property>
      </packing>
    </child>
    <child>
      <object class="GtkCheckButton" id="auto_authorize_checkbutton">
        <property name="label" translatable="yes">A_llow contact to view my status</property>
        <property name="visible">True</property>
        <property name="can_focus">True</property>
        <property name="receives_default">False</property>
        <property name="no_show_all">True</property>
        <property name="halign">start</property>
        <property name="use_underline">True</property>
        <property name="active">True</property>
        <property name="draw_indicator">True</property>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="fill">False</property>
        <property name="position">4</property>
      </packing>
    </child>
    <child>
      <object class="GtkScrolledWindow" id="message_scrolledwindow">
        <property name="height_request">60</property>
        <property name="visible">True</property>
        <property name="can_focus">True</property>
        <property name="no_show_all">True</property>
        <property name="margin_top">18</property>
        <property name="shadow_type">etched-in</property>
        <property name="min_content_height">5</property>
315
        <child>
Sophie Herold's avatar
Sophie Herold committed
316
          <object class="GtkTextView" id="message_textview">
317
318
            <property name="visible">True</property>
            <property name="can_focus">True</property>
Sophie Herold's avatar
Sophie Herold committed
319
320
321
322
323
324
            <property name="wrap_mode">word</property>
            <property name="left_margin">6</property>
            <property name="right_margin">6</property>
            <property name="top_margin">6</property>
            <property name="bottom_margin">6</property>
            <property name="buffer">message_textbuffer</property>
325
          </object>
326
        </child>
Sophie Herold's avatar
Sophie Herold committed
327
328
329
330
331
332
333
334
335
336
337
338
      </object>
      <packing>
        <property name="expand">True</property>
        <property name="fill">True</property>
        <property name="position">4</property>
      </packing>
    </child>
    <child>
      <object class="GtkRevealer" id="save_message_revealer">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="transition_type">crossfade</property>
339
340
341
342
343
344
        <child>
          <object class="GtkCheckButton" id="save_message_checkbutton">
            <property name="label" translatable="yes">_Save subscription message</property>
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="receives_default">False</property>
Sophie Herold's avatar
Sophie Herold committed
345
            <property name="halign">start</property>
346
347
348
349
            <property name="use_underline">True</property>
            <property name="draw_indicator">True</property>
          </object>
        </child>
Sophie Herold's avatar
Sophie Herold committed
350
351
352
353
354
355
356
357
358
359
360
361
362
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="fill">True</property>
        <property name="position">5</property>
      </packing>
    </child>
    <child>
      <object class="GtkBox" id="register_hbox">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="no_show_all">True</property>
        <property name="spacing">6</property>
363
        <child>
Sophie Herold's avatar
Sophie Herold committed
364
          <object class="GtkLabel" id="label224">
365
            <property name="visible">True</property>
Yann Leboulanger's avatar
Yann Leboulanger committed
366
            <property name="can_focus">False</property>
Sophie Herold's avatar
Sophie Herold committed
367
            <property name="label" translatable="yes">You have to register with this transport
368
to be able to add a contact from this
369
protocol. Click on Register button to
370
proceed.</property>
Sophie Herold's avatar
Sophie Herold committed
371
372
            <property name="wrap">True</property>
            <property name="xalign">0</property>
373
          </object>
374
          <packing>
Yann Leboulanger's avatar
Yann Leboulanger committed
375
376
            <property name="expand">True</property>
            <property name="fill">True</property>
Sophie Herold's avatar
Sophie Herold committed
377
            <property name="position">0</property>
378
379
380
          </packing>
        </child>
        <child>
Sophie Herold's avatar
Sophie Herold committed
381
382
          <object class="GtkButton" id="register_button">
            <property name="label" translatable="yes">_Register</property>
383
            <property name="visible">True</property>
Sophie Herold's avatar
Sophie Herold committed
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
            <property name="can_focus">True</property>
            <property name="can_default">True</property>
            <property name="receives_default">False</property>
            <property name="halign">center</property>
            <property name="valign">center</property>
            <property name="use_underline">True</property>
            <signal name="clicked" handler="on_register_button_clicked" swapped="no"/>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">False</property>
            <property name="position">1</property>
          </packing>
        </child>
      </object>
      <packing>
        <property name="expand">True</property>
        <property name="fill">True</property>
        <property name="padding">18</property>
        <property name="position">7</property>
      </packing>
    </child>
    <child>
      <object class="GtkLabel" id="connected_label">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="no_show_all">True</property>
        <property name="label" translatable="yes">You must be connected to the transport to be able
412
to add a contact from this protocol.</property>
Sophie Herold's avatar
Sophie Herold committed
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="fill">False</property>
        <property name="position">8</property>
      </packing>
    </child>
    <child>
      <object class="GtkButtonBox" id="hbuttonbox1">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="margin_top">18</property>
        <property name="spacing">12</property>
        <property name="layout_style">end</property>
        <child>
          <object class="GtkButton" id="cancel_button">
            <property name="label">gtk-cancel</property>
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="can_default">True</property>
            <property name="receives_default">False</property>
            <property name="use_stock">True</property>
            <signal name="clicked" handler="on_cancel_button_clicked" swapped="no"/>
436
          </object>
437
438
439
          <packing>
            <property name="expand">False</property>
            <property name="fill">False</property>
Sophie Herold's avatar
Sophie Herold committed
440
            <property name="position">0</property>
441
442
443
          </packing>
        </child>
        <child>
Sophie Herold's avatar
Sophie Herold committed
444
445
          <object class="GtkButton" id="add_button">
            <property name="label">gtk-add</property>
446
            <property name="visible">True</property>
Sophie Herold's avatar
Sophie Herold committed
447
448
449
450
451
452
453
454
            <property name="can_focus">True</property>
            <property name="can_default">True</property>
            <property name="receives_default">False</property>
            <property name="use_stock">True</property>
            <signal name="clicked" handler="on_add_button_clicked" swapped="no"/>
            <style>
              <class name="suggested-action"/>
            </style>
455
          </object>
456
457
458
          <packing>
            <property name="expand">False</property>
            <property name="fill">False</property>
Sophie Herold's avatar
Sophie Herold committed
459
            <property name="position">1</property>
460
461
          </packing>
        </child>
462
      </object>
Sophie Herold's avatar
Sophie Herold committed
463
464
465
466
467
      <packing>
        <property name="expand">False</property>
        <property name="fill">False</property>
        <property name="position">9</property>
      </packing>
468
    </child>
469
470
  </object>
</interface>