parameters.ui 156 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
2
<interface>
jehan's avatar
jehan committed
3
  <requires lib="gtk+" version="2.18"/>
4
  <!-- interface-naming-policy toplevel-contextual -->
5 6
  <object class="GtkAdjustment" id="adjustment1">
    <property name="lower">500</property>
Simon Morlat's avatar
Simon Morlat committed
7
    <property name="upper">3001</property>
8
    <property name="value">500</property>
9
    <property name="step_increment">1</property>
Simon Morlat's avatar
Simon Morlat committed
10
    <property name="page_increment">10</property>
11 12 13
  </object>
  <object class="GtkAdjustment" id="adjustment2">
    <property name="lower">1</property>
Simon Morlat's avatar
Simon Morlat committed
14
    <property name="upper">65535</property>
15
    <property name="value">1</property>
16
    <property name="step_increment">1</property>
Simon Morlat's avatar
Simon Morlat committed
17
    <property name="page_increment">10</property>
18 19 20
  </object>
  <object class="GtkAdjustment" id="adjustment3">
    <property name="lower">1</property>
Simon Morlat's avatar
Simon Morlat committed
21
    <property name="upper">65535</property>
22
    <property name="value">1</property>
23
    <property name="step_increment">1</property>
Simon Morlat's avatar
Simon Morlat committed
24
    <property name="page_increment">10</property>
25 26
  </object>
  <object class="GtkAdjustment" id="adjustment4">
Guillaume Beraudo's avatar
Guillaume Beraudo committed
27
    <property name="upper">65535</property>
28
    <property name="value">1</property>
29
    <property name="step_increment">1</property>
Simon Morlat's avatar
Simon Morlat committed
30
    <property name="page_increment">10</property>
31 32 33
  </object>
  <object class="GtkAdjustment" id="adjustment5">
    <property name="lower">-1</property>
Simon Morlat's avatar
Simon Morlat committed
34
    <property name="upper">100000</property>
35
    <property name="step_increment">1</property>
Simon Morlat's avatar
Simon Morlat committed
36
    <property name="page_increment">10</property>
37 38 39
  </object>
  <object class="GtkAdjustment" id="adjustment6">
    <property name="lower">-1</property>
Simon Morlat's avatar
Simon Morlat committed
40
    <property name="upper">100000</property>
41
    <property name="step_increment">1</property>
Simon Morlat's avatar
Simon Morlat committed
42
    <property name="page_increment">10</property>
43
  </object>
44 45 46 47 48 49 50
  <object class="GtkAdjustment" id="adjustment7">
    <property name="lower">1</property>
    <property name="upper">65535</property>
    <property name="value">5060</property>
    <property name="step_increment">1</property>
    <property name="page_increment">9.9999999995529656</property>
  </object>
51
  <object class="GtkAdjustment" id="adjustment_max_audio_port">
Simon Morlat's avatar
Simon Morlat committed
52 53 54 55
    <property name="upper">65535</property>
    <property name="step_increment">2</property>
    <property name="page_increment">10</property>
  </object>
56
  <object class="GtkAdjustment" id="adjustment_max_video_port">
Guillaume Beraudo's avatar
Guillaume Beraudo committed
57
    <property name="upper">65535</property>
58
    <property name="step_increment">2</property>
59
    <property name="page_increment">10</property>
60
  </object>
61
  <object class="GtkAdjustment" id="adjustment_min_audio_port">
Simon Morlat's avatar
Simon Morlat committed
62 63 64 65
    <property name="upper">65535</property>
    <property name="step_increment">2</property>
    <property name="page_increment">10</property>
  </object>
66 67 68 69 70 71 72 73 74 75 76
  <object class="GtkAdjustment" id="adjustment_min_video_port">
    <property name="upper">65535</property>
    <property name="step_increment">2</property>
    <property name="page_increment">10</property>
  </object>
  <object class="GtkAdjustment" id="adjustment_tcp_port">
    <property name="upper">65535</property>
    <property name="value">1</property>
    <property name="step_increment">1</property>
    <property name="page_increment">10</property>
  </object>
77
  <object class="GtkListStore" id="liststore1"/>
78 79
  <object class="GtkListStore" id="model1">
    <columns>
Simon Morlat's avatar
Simon Morlat committed
80
      <!-- column-name gchararray -->
81 82 83 84 85 86 87 88 89 90
      <column type="gchararray"/>
    </columns>
    <data>
      <row>
        <col id="0" translatable="yes">default soundcard</col>
      </row>
    </data>
  </object>
  <object class="GtkListStore" id="model2">
    <columns>
Simon Morlat's avatar
Simon Morlat committed
91
      <!-- column-name gchararray -->
92 93 94 95 96 97 98 99 100 101
      <column type="gchararray"/>
    </columns>
    <data>
      <row>
        <col id="0" translatable="yes">default soundcard</col>
      </row>
    </data>
  </object>
  <object class="GtkListStore" id="model3">
    <columns>
Simon Morlat's avatar
Simon Morlat committed
102
      <!-- column-name gchararray -->
103 104 105 106 107 108 109 110 111 112
      <column type="gchararray"/>
    </columns>
    <data>
      <row>
        <col id="0" translatable="yes">a sound card</col>
      </row>
    </data>
  </object>
  <object class="GtkListStore" id="model4">
    <columns>
Simon Morlat's avatar
Simon Morlat committed
113
      <!-- column-name gchararray -->
114 115 116 117 118 119 120 121 122 123
      <column type="gchararray"/>
    </columns>
    <data>
      <row>
        <col id="0" translatable="yes">default camera</col>
      </row>
    </data>
  </object>
  <object class="GtkListStore" id="model5">
    <columns>
Simon Morlat's avatar
Simon Morlat committed
124
      <!-- column-name gchararray -->
125 126 127 128 129 130 131 132 133 134
      <column type="gchararray"/>
    </columns>
    <data>
      <row>
        <col id="0" translatable="yes">CIF</col>
      </row>
    </data>
  </object>
  <object class="GtkListStore" id="model6">
    <columns>
Simon Morlat's avatar
Simon Morlat committed
135
      <!-- column-name gchararray -->
136 137 138 139 140 141 142 143 144 145 146 147 148
      <column type="gchararray"/>
    </columns>
    <data>
      <row>
        <col id="0" translatable="yes">Audio codecs</col>
      </row>
      <row>
        <col id="0" translatable="yes">Video codecs</col>
      </row>
    </data>
  </object>
  <object class="GtkListStore" id="model7">
    <columns>
Simon Morlat's avatar
Simon Morlat committed
149
      <!-- column-name gchararray -->
150 151 152 153 154 155 156 157
      <column type="gchararray"/>
    </columns>
    <data>
      <row>
        <col id="0" translatable="yes">C</col>
      </row>
    </data>
  </object>
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174
  <object class="GtkListStore" id="model8">
    <columns>
      <!-- column-name gchararray1 -->
      <column type="gchararray"/>
    </columns>
    <data>
      <row>
        <col id="0" translatable="yes">SIP (UDP)</col>
      </row>
      <row>
        <col id="0" translatable="yes">SIP (TCP)</col>
      </row>
      <row>
        <col id="0" translatable="yes">SIP (TLS)</col>
      </row>
    </data>
  </object>
175
  <object class="GtkWindow" id="parameters">
176
    <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
177
    <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
178
    <property name="title" translatable="yes">Settings</property>
179
    <signal name="destroy" handler="linphone_gtk_parameters_destroyed" swapped="no"/>
aymeric's avatar
aymeric committed
180
    <child>
181
      <object class="GtkVBox" id="vbox1">
aymeric's avatar
aymeric committed
182
        <property name="visible">True</property>
183
        <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
184 185
        <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
        <child>
186
          <object class="GtkNotebook" id="notebook1">
aymeric's avatar
aymeric committed
187 188 189 190
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
            <child>
191
              <object class="GtkVBox" id="network_tab">
aymeric's avatar
aymeric committed
192
                <property name="visible">True</property>
193
                <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
194 195
                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
                <child>
196
                  <object class="GtkFrame" id="transport_frame">
aymeric's avatar
aymeric committed
197
                    <property name="visible">True</property>
198
                    <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
199 200
                    <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
                    <property name="label_xalign">0</property>
201
                    <property name="shadow_type">none</property>
aymeric's avatar
aymeric committed
202
                    <child>
203
                      <object class="GtkAlignment" id="alignment1">
aymeric's avatar
aymeric committed
204
                        <property name="visible">True</property>
205
                        <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
206 207 208
                        <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
                        <property name="left_padding">12</property>
                        <child>
209
                          <object class="GtkVBox" id="vbox3">
aymeric's avatar
aymeric committed
210
                            <property name="visible">True</property>
211
                            <property name="can_focus">False</property>
212
                            <child>
213
                              <object class="GtkHBox" id="hbox2">
214
                                <property name="visible">True</property>
215
                                <property name="can_focus">False</property>
216
                                <child>
217
                                  <object class="GtkCheckButton" id="mtu_set">
218
                                    <property name="label" translatable="yes">Set Maximum Transmission Unit:</property>
219 220
                                    <property name="visible">True</property>
                                    <property name="can_focus">True</property>
221
                                    <property name="receives_default">False</property>
222
                                    <property name="use_action_appearance">False</property>
223
                                    <property name="draw_indicator">True</property>
224
                                    <signal name="toggled" handler="linphone_gtk_mtu_set" swapped="no"/>
225
                                  </object>
226
                                  <packing>
227 228
                                    <property name="expand">True</property>
                                    <property name="fill">True</property>
229 230
                                    <property name="position">0</property>
                                  </packing>
231 232
                                </child>
                                <child>
233
                                  <object class="GtkSpinButton" id="mtu">
234 235
                                    <property name="visible">True</property>
                                    <property name="can_focus">True</property>
236 237
                                    <property name="primary_icon_activatable">False</property>
                                    <property name="secondary_icon_activatable">False</property>
238 239
                                    <property name="primary_icon_sensitive">True</property>
                                    <property name="secondary_icon_sensitive">True</property>
240
                                    <property name="adjustment">adjustment1</property>
241
                                    <signal name="value-changed" handler="linphone_gtk_mtu_changed" swapped="no"/>
242
                                  </object>
243
                                  <packing>
244 245
                                    <property name="expand">True</property>
                                    <property name="fill">True</property>
246 247 248
                                    <property name="position">1</property>
                                  </packing>
                                </child>
249
                              </object>
250
                              <packing>
251 252
                                <property name="expand">True</property>
                                <property name="fill">True</property>
253 254
                                <property name="position">0</property>
                              </packing>
255 256
                            </child>
                            <child>
257
                              <object class="GtkCheckButton" id="dtmf_sipinfo">
258
                                <property name="label" translatable="yes">Send DTMFs as SIP info</property>
259 260
                                <property name="visible">True</property>
                                <property name="can_focus">True</property>
261
                                <property name="receives_default">False</property>
262
                                <property name="use_action_appearance">False</property>
263
                                <property name="draw_indicator">True</property>
264
                                <signal name="toggled" handler="linphone_gtk_use_sip_info_dtmf_toggled" swapped="no"/>
265
                              </object>
266
                              <packing>
267 268
                                <property name="expand">True</property>
                                <property name="fill">True</property>
269 270 271 272
                                <property name="position">1</property>
                              </packing>
                            </child>
                            <child>
273
                              <object class="GtkCheckButton" id="ipv6_enabled">
274
                                <property name="label" translatable="yes">Use IPv6 instead of IPv4</property>
275 276
                                <property name="visible">True</property>
                                <property name="can_focus">True</property>
277
                                <property name="receives_default">False</property>
278
                                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
279
                                <property name="use_action_appearance">False</property>
280
                                <property name="draw_indicator">True</property>
281
                                <signal name="toggled" handler="linphone_gtk_ipv6_toggled" swapped="no"/>
282
                              </object>
283
                              <packing>
284 285
                                <property name="expand">True</property>
                                <property name="fill">True</property>
286 287 288
                                <property name="position">2</property>
                              </packing>
                            </child>
289
                          </object>
aymeric's avatar
aymeric committed
290
                        </child>
291
                      </object>
aymeric's avatar
aymeric committed
292
                    </child>
293 294
                    <child type="label">
                      <object class="GtkLabel" id="label1">
aymeric's avatar
aymeric committed
295
                        <property name="visible">True</property>
296
                        <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
297
                        <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
298
                        <property name="label" translatable="yes">&lt;b&gt;Transport&lt;/b&gt;</property>
aymeric's avatar
aymeric committed
299
                        <property name="use_markup">True</property>
300
                      </object>
aymeric's avatar
aymeric committed
301
                    </child>
302
                  </object>
303
                  <packing>
Simon Morlat's avatar
Simon Morlat committed
304
                    <property name="expand">False</property>
305
                    <property name="fill">True</property>
306 307
                    <property name="position">0</property>
                  </packing>
aymeric's avatar
aymeric committed
308 309
                </child>
                <child>
310
                  <object class="GtkFrame" id="ports_frame">
aymeric's avatar
aymeric committed
311
                    <property name="visible">True</property>
312
                    <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
313 314
                    <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
                    <property name="label_xalign">0</property>
315
                    <property name="shadow_type">none</property>
aymeric's avatar
aymeric committed
316
                    <child>
317
                      <object class="GtkAlignment" id="alignment2">
aymeric's avatar
aymeric committed
318
                        <property name="visible">True</property>
319
                        <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
320 321 322
                        <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
                        <property name="left_padding">12</property>
                        <child>
323
                          <object class="GtkTable" id="table1">
aymeric's avatar
aymeric committed
324
                            <property name="visible">True</property>
325
                            <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
326
                            <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
327
                            <property name="n_rows">7</property>
aymeric's avatar
aymeric committed
328 329
                            <property name="n_columns">2</property>
                            <child>
330
                              <object class="GtkComboBox" id="proto_combo">
aymeric's avatar
aymeric committed
331
                                <property name="visible">True</property>
Sylvain Berfini's avatar
Sylvain Berfini committed
332
                                <property name="can_focus">False</property>
333
                                <property name="model">model8</property>
334 335 336 337 338 339
                                <child>
                                  <object class="GtkCellRendererText" id="renderer1"/>
                                  <attributes>
                                    <attribute name="text">0</attribute>
                                  </attributes>
                                </child>
340
                              </object>
aymeric's avatar
aymeric committed
341 342
                            </child>
                            <child>
343
                              <object class="GtkSpinButton" id="proto_port">
aymeric's avatar
aymeric committed
344
                                <property name="visible">True</property>
345
                                <property name="can_focus">True</property>
Sylvain Berfini's avatar
Sylvain Berfini committed
346
                                <property name="invisible_char"></property>
347
                                <property name="invisible_char_set">True</property>
Sylvain Berfini's avatar
Sylvain Berfini committed
348 349
                                <property name="primary_icon_activatable">False</property>
                                <property name="secondary_icon_activatable">False</property>
350 351
                                <property name="primary_icon_sensitive">True</property>
                                <property name="secondary_icon_sensitive">True</property>
352
                                <property name="adjustment">adjustment7</property>
353
                              </object>
354 355 356 357 358 359
                              <packing>
                                <property name="left_attach">1</property>
                                <property name="right_attach">2</property>
                              </packing>
                            </child>
                            <child>
Simon Morlat's avatar
Simon Morlat committed
360
                              <object class="GtkLabel" id="media_encryption_label">
361
                                <property name="visible">True</property>
Simon Morlat's avatar
Simon Morlat committed
362 363
                                <property name="can_focus">False</property>
                                <property name="label" translatable="yes">Media encryption type</property>
364
                              </object>
aymeric's avatar
aymeric committed
365
                              <packing>
Simon Morlat's avatar
Simon Morlat committed
366
                                <property name="top_attach">3</property>
367
                                <property name="bottom_attach">5</property>
aymeric's avatar
aymeric committed
368
                              </packing>
369 370
                            </child>
                            <child>
Simon Morlat's avatar
Simon Morlat committed
371
                              <object class="GtkComboBox" id="media_encryption_combo">
aymeric's avatar
aymeric committed
372
                                <property name="visible">True</property>
Simon Morlat's avatar
Simon Morlat committed
373 374
                                <property name="can_focus">False</property>
                                <property name="active">0</property>
375
                              </object>
aymeric's avatar
aymeric committed
376
                              <packing>
377 378
                                <property name="left_attach">1</property>
                                <property name="right_attach">2</property>
Simon Morlat's avatar
Simon Morlat committed
379 380
                                <property name="top_attach">3</property>
                                <property name="bottom_attach">4</property>
aymeric's avatar
aymeric committed
381 382 383
                              </packing>
                            </child>
                            <child>
Simon Morlat's avatar
Simon Morlat committed
384
                              <object class="GtkButton" id="tunnel_edit_button">
385
                                <property name="label">gtk-edit</property>
Simon Morlat's avatar
Simon Morlat committed
386 387
                                <property name="can_focus">True</property>
                                <property name="receives_default">True</property>
388
                                <property name="use_action_appearance">False</property>
389
                                <property name="use_stock">True</property>
Simon Morlat's avatar
Simon Morlat committed
390 391 392 393 394
                                <signal name="clicked" handler="linphone_gtk_edit_tunnel" swapped="no"/>
                              </object>
                              <packing>
                                <property name="left_attach">1</property>
                                <property name="right_attach">2</property>
395 396
                                <property name="top_attach">6</property>
                                <property name="bottom_attach">7</property>
Simon Morlat's avatar
Simon Morlat committed
397 398 399 400
                              </packing>
                            </child>
                            <child>
                              <object class="GtkLabel" id="label7">
aymeric's avatar
aymeric committed
401
                                <property name="visible">True</property>
Sylvain Berfini's avatar
Sylvain Berfini committed
402
                                <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
403
                                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
Simon Morlat's avatar
Simon Morlat committed
404
                                <property name="label" translatable="yes">Video RTP/UDP:</property>
405
                                <property name="justify">right</property>
406
                              </object>
407 408 409 410 411 412
                              <packing>
                                <property name="top_attach">2</property>
                                <property name="bottom_attach">3</property>
                              </packing>
                            </child>
                            <child>
Simon Morlat's avatar
Simon Morlat committed
413
                              <object class="GtkLabel" id="label6">
414
                                <property name="visible">True</property>
Sylvain Berfini's avatar
Sylvain Berfini committed
415
                                <property name="can_focus">False</property>
Simon Morlat's avatar
Simon Morlat committed
416 417 418
                                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
                                <property name="label" translatable="yes">Audio RTP/UDP:</property>
                                <property name="justify">right</property>
419
                              </object>
aymeric's avatar
aymeric committed
420
                              <packing>
Simon Morlat's avatar
Simon Morlat committed
421 422
                                <property name="top_attach">1</property>
                                <property name="bottom_attach">2</property>
aymeric's avatar
aymeric committed
423 424 425
                              </packing>
                            </child>
                            <child>
426
                              <object class="GtkLabel" id="label13">
aymeric's avatar
aymeric committed
427
                                <property name="visible">True</property>
428 429
                                <property name="can_focus">False</property>
                                <property name="label" translatable="yes">DSCP fields</property>
430
                              </object>
431
                              <packing>
432 433
                                <property name="top_attach">5</property>
                                <property name="bottom_attach">6</property>
Guillaume Beraudo's avatar
Guillaume Beraudo committed
434 435 436
                              </packing>
                            </child>
                            <child>
437 438
                              <object class="GtkButton" id="dscp_edit_button">
                                <property name="label">gtk-edit</property>
Simon Morlat's avatar
Simon Morlat committed
439
                                <property name="visible">True</property>
Guillaume Beraudo's avatar
Guillaume Beraudo committed
440
                                <property name="can_focus">True</property>
441
                                <property name="receives_default">True</property>
442
                                <property name="use_action_appearance">False</property>
443 444
                                <property name="use_stock">True</property>
                                <signal name="clicked" handler="linphone_gtk_dscp_edit" swapped="no"/>
Guillaume Beraudo's avatar
Guillaume Beraudo committed
445 446 447 448
                              </object>
                              <packing>
                                <property name="left_attach">1</property>
                                <property name="right_attach">2</property>
449 450
                                <property name="top_attach">5</property>
                                <property name="bottom_attach">6</property>
Guillaume Beraudo's avatar
Guillaume Beraudo committed
451 452
                              </packing>
                            </child>
453
                            <child>
454
                              <object class="GtkHBox" id="hbox6">
455 456
                                <property name="visible">True</property>
                                <property name="can_focus">False</property>
457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501
                                <child>
                                  <object class="GtkSpinButton" id="audio_min_rtp_port">
                                    <property name="visible">True</property>
                                    <property name="can_focus">True</property>
                                    <property name="invisible_char"></property>
                                    <property name="primary_icon_activatable">False</property>
                                    <property name="secondary_icon_activatable">False</property>
                                    <property name="primary_icon_sensitive">True</property>
                                    <property name="secondary_icon_sensitive">True</property>
                                    <property name="adjustment">adjustment_min_audio_port</property>
                                    <property name="numeric">True</property>
                                    <signal name="value-changed" handler="linphone_gtk_min_audio_port_changed" swapped="no"/>
                                  </object>
                                  <packing>
                                    <property name="expand">True</property>
                                    <property name="fill">True</property>
                                    <property name="position">0</property>
                                  </packing>
                                </child>
                                <child>
                                  <object class="GtkSpinButton" id="audio_max_rtp_port">
                                    <property name="visible">True</property>
                                    <property name="can_focus">True</property>
                                    <property name="invisible_char"></property>
                                    <property name="invisible_char_set">True</property>
                                    <property name="primary_icon_activatable">False</property>
                                    <property name="secondary_icon_activatable">False</property>
                                    <property name="primary_icon_sensitive">True</property>
                                    <property name="secondary_icon_sensitive">True</property>
                                    <property name="adjustment">adjustment_max_audio_port</property>
                                    <property name="numeric">True</property>
                                    <signal name="value-changed" handler="linphone_gtk_max_audio_port_changed" swapped="no"/>
                                  </object>
                                  <packing>
                                    <property name="expand">True</property>
                                    <property name="fill">True</property>
                                    <property name="position">1</property>
                                  </packing>
                                </child>
                                <child>
                                  <object class="GtkCheckButton" id="fixed_audio_port">
                                    <property name="label" translatable="yes">Fixed</property>
                                    <property name="visible">True</property>
                                    <property name="can_focus">True</property>
                                    <property name="receives_default">False</property>
502
                                    <property name="use_action_appearance">False</property>
503 504 505 506 507 508 509 510 511
                                    <property name="draw_indicator">True</property>
                                    <signal name="toggled" handler="linphone_gtk_fixed_audio_port_toggle" swapped="no"/>
                                  </object>
                                  <packing>
                                    <property name="expand">True</property>
                                    <property name="fill">True</property>
                                    <property name="position">2</property>
                                  </packing>
                                </child>
512 513
                              </object>
                              <packing>
514 515 516 517
                                <property name="left_attach">1</property>
                                <property name="right_attach">2</property>
                                <property name="top_attach">1</property>
                                <property name="bottom_attach">2</property>
518 519 520
                              </packing>
                            </child>
                            <child>
521
                              <object class="GtkHBox" id="hbox17">
522
                                <property name="visible">True</property>
523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568
                                <property name="can_focus">False</property>
                                <child>
                                  <object class="GtkSpinButton" id="video_min_rtp_port">
                                    <property name="visible">True</property>
                                    <property name="can_focus">True</property>
                                    <property name="invisible_char"></property>
                                    <property name="primary_icon_activatable">False</property>
                                    <property name="secondary_icon_activatable">False</property>
                                    <property name="primary_icon_sensitive">True</property>
                                    <property name="secondary_icon_sensitive">True</property>
                                    <property name="adjustment">adjustment_min_video_port</property>
                                    <property name="numeric">True</property>
                                    <signal name="value-changed" handler="linphone_gtk_min_video_port_changed" swapped="no"/>
                                  </object>
                                  <packing>
                                    <property name="expand">True</property>
                                    <property name="fill">True</property>
                                    <property name="position">0</property>
                                  </packing>
                                </child>
                                <child>
                                  <object class="GtkSpinButton" id="video_max_rtp_port">
                                    <property name="visible">True</property>
                                    <property name="can_focus">True</property>
                                    <property name="invisible_char"></property>
                                    <property name="invisible_char_set">True</property>
                                    <property name="primary_icon_activatable">False</property>
                                    <property name="secondary_icon_activatable">False</property>
                                    <property name="primary_icon_sensitive">True</property>
                                    <property name="secondary_icon_sensitive">True</property>
                                    <property name="adjustment">adjustment_max_video_port</property>
                                    <property name="numeric">True</property>
                                    <signal name="value-changed" handler="linphone_gtk_max_video_port_changed" swapped="no"/>
                                  </object>
                                  <packing>
                                    <property name="expand">True</property>
                                    <property name="fill">True</property>
                                    <property name="position">1</property>
                                  </packing>
                                </child>
                                <child>
                                  <object class="GtkCheckButton" id="fixed_video_port">
                                    <property name="label" translatable="yes">Fixed</property>
                                    <property name="visible">True</property>
                                    <property name="can_focus">True</property>
                                    <property name="receives_default">False</property>
569
                                    <property name="use_action_appearance">False</property>
570 571 572 573 574 575 576 577 578
                                    <property name="draw_indicator">True</property>
                                    <signal name="toggled" handler="linphone_gtk_fixed_video_port_toggle" swapped="no"/>
                                  </object>
                                  <packing>
                                    <property name="expand">True</property>
                                    <property name="fill">True</property>
                                    <property name="position">2</property>
                                  </packing>
                                </child>
579 580 581 582
                              </object>
                              <packing>
                                <property name="left_attach">1</property>
                                <property name="right_attach">2</property>
583 584
                                <property name="top_attach">2</property>
                                <property name="bottom_attach">3</property>
585 586
                              </packing>
                            </child>
587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613
                            <child>
                              <object class="GtkLabel" id="tunnel_label">
                                <property name="can_focus">False</property>
                                <property name="label" translatable="yes">Tunnel</property>
                              </object>
                              <packing>
                                <property name="top_attach">6</property>
                                <property name="bottom_attach">7</property>
                              </packing>
                            </child>
                            <child>
                              <object class="GtkCheckButton" id="media_encryption_mandatory">
                                <property name="label" translatable="yes">Media encryption is mandatory</property>
                                <property name="visible">True</property>
                                <property name="can_focus">True</property>
                                <property name="receives_default">False</property>
                                <property name="use_action_appearance">False</property>
                                <property name="draw_indicator">True</property>
                                <signal name="toggled" handler="linphone_gtk_set_media_encryption_mandatory" swapped="no"/>
                              </object>
                              <packing>
                                <property name="left_attach">1</property>
                                <property name="right_attach">2</property>
                                <property name="top_attach">4</property>
                                <property name="bottom_attach">5</property>
                              </packing>
                            </child>
614
                          </object>
aymeric's avatar
aymeric committed
615
                        </child>
616
                      </object>
aymeric's avatar
aymeric committed
617
                    </child>
618 619
                    <child type="label">
                      <object class="GtkLabel" id="label4">
aymeric's avatar
aymeric committed
620
                        <property name="visible">True</property>
621
                        <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
622
                        <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
623
                        <property name="label" translatable="yes">&lt;b&gt;Network protocol and ports&lt;/b&gt;</property>
aymeric's avatar
aymeric committed
624
                        <property name="use_markup">True</property>
625
                      </object>
aymeric's avatar
aymeric committed
626
                    </child>
627
                  </object>
aymeric's avatar
aymeric committed
628
                  <packing>
Simon Morlat's avatar
Simon Morlat committed
629
                    <property name="expand">False</property>
630
                    <property name="fill">True</property>
aymeric's avatar
aymeric committed
631 632 633 634
                    <property name="position">1</property>
                  </packing>
                </child>
                <child>
635
                  <object class="GtkFrame" id="nat_frame">
aymeric's avatar
aymeric committed
636
                    <property name="visible">True</property>
637
                    <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
638 639
                    <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
                    <property name="label_xalign">0</property>
640
                    <property name="shadow_type">none</property>
aymeric's avatar
aymeric committed
641
                    <child>
Margaux Clerc's avatar
Margaux Clerc committed
642
                      <object class="GtkHBox" id="hbox1">
aymeric's avatar
aymeric committed
643
                        <property name="visible">True</property>
644
                        <property name="can_focus">False</property>
645
                        <child>
Margaux Clerc's avatar
Margaux Clerc committed
646
                          <object class="GtkVButtonBox" id="vbuttonbox3">
aymeric's avatar
aymeric committed
647
                            <property name="visible">True</property>
648
                            <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
649
                            <child>
Margaux Clerc's avatar
Margaux Clerc committed
650 651
                              <object class="GtkRadioButton" id="no_nat">
                                <property name="label" translatable="yes">Direct connection to the Internet</property>
652 653
                                <property name="visible">True</property>
                                <property name="can_focus">True</property>
654
                                <property name="receives_default">False</property>
655
                                <property name="use_action_appearance">False</property>
656 657
                                <property name="active">True</property>
                                <property name="draw_indicator">True</property>
Margaux Clerc's avatar
Margaux Clerc committed
658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673
                                <signal name="toggled" handler="linphone_gtk_no_firewall_toggled" swapped="no"/>
                              </object>
                              <packing>
                                <property name="expand">False</property>
                                <property name="fill">False</property>
                                <property name="position">0</property>
                              </packing>
                            </child>
                            <child>
                              <object class="GtkRadioButton" id="use_nat_address">
                                <property name="label" translatable="yes">Behind NAT / Firewall (specify gateway IP )</property>
                                <property name="visible">True</property>
                                <property name="can_focus">True</property>
                                <property name="receives_default">False</property>
                                <property name="use_action_appearance">False</property>
                                <property name="draw_indicator">True</property>
674
                                <property name="group">no_nat</property>
675
                                <signal name="toggled" handler="linphone_gtk_use_nat_address_toggled" swapped="no"/>
676
                              </object>
677
                              <packing>
678 679
                                <property name="expand">True</property>
                                <property name="fill">True</property>
Margaux Clerc's avatar
Margaux Clerc committed
680
                                <property name="position">1</property>
681
                              </packing>
682
                            </child>
Margaux Clerc's avatar
Margaux Clerc committed
683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744
                            <child>
                              <object class="GtkRadioButton" id="use_stun">
                                <property name="label" translatable="yes">Behind NAT / Firewall (use STUN to resolve)</property>
                                <property name="visible">True</property>
                                <property name="can_focus">True</property>
                                <property name="receives_default">False</property>
                                <property name="use_action_appearance">False</property>
                                <property name="draw_indicator">True</property>
                                <property name="group">no_nat</property>
                                <signal name="toggled" handler="linphone_gtk_use_stun_toggled" swapped="no"/>
                              </object>
                              <packing>
                                <property name="expand">True</property>
                                <property name="fill">True</property>
                                <property name="position">2</property>
                              </packing>
                            </child>
                            <child>
                              <object class="GtkRadioButton" id="use_ice">
                                <property name="label" translatable="yes">Behind NAT / Firewall (use ICE)</property>
                                <property name="visible">True</property>
                                <property name="can_focus">True</property>
                                <property name="receives_default">False</property>
                                <property name="use_action_appearance">False</property>
                                <property name="draw_indicator">True</property>
                                <property name="group">no_nat</property>
                                <signal name="toggled" handler="linphone_gtk_use_ice_toggled" swapped="no"/>
                              </object>
                              <packing>
                                <property name="expand">True</property>
                                <property name="fill">True</property>
                                <property name="position">3</property>
                              </packing>
                            </child>
                            <child>
                              <object class="GtkRadioButton" id="use_upnp">
                                <property name="label" translatable="yes">Behind NAT / Firewall (use uPnP)</property>
                                <property name="visible">True</property>
                                <property name="can_focus">True</property>
                                <property name="receives_default">False</property>
                                <property name="use_action_appearance">False</property>
                                <property name="draw_indicator">True</property>
                                <property name="group">no_nat</property>
                                <signal name="toggled" handler="linphone_gtk_use_upnp_toggled" swapped="no"/>
                              </object>
                              <packing>
                                <property name="expand">True</property>
                                <property name="fill">True</property>
                                <property name="position">4</property>
                              </packing>
                            </child>
                          </object>
                          <packing>
                            <property name="expand">True</property>
                            <property name="fill">True</property>
                            <property name="position">0</property>
                          </packing>
                        </child>
                        <child>
                          <object class="GtkVBox" id="vbox5">
                            <property name="visible">True</property>
                            <property name="can_focus">False</property>
745
                            <child>
746
                              <object class="GtkHBox" id="hbox21">
aymeric's avatar
aymeric committed
747
                                <property name="visible">True</property>
748
                                <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
749
                                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
Margaux Clerc's avatar
Margaux Clerc committed
750
                                <property name="homogeneous">True</property>
aymeric's avatar
aymeric committed
751
                                <child>
752
                                  <object class="GtkLabel" id="label39">
aymeric's avatar
aymeric committed
753
                                    <property name="visible">True</property>
754
                                    <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
755
                                    <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
756
                                    <property name="label" translatable="yes">Public IP address:</property>
757
                                    <property name="justify">right</property>
758
                                  </object>
759
                                  <packing>
760 761
                                    <property name="expand">True</property>
                                    <property name="fill">True</property>
762 763
                                    <property name="position">0</property>
                                  </packing>
aymeric's avatar
aymeric committed
764 765
                                </child>
                                <child>
766
                                  <object class="GtkEntry" id="nat_address">
aymeric's avatar
aymeric committed
767 768 769
                                    <property name="visible">True</property>
                                    <property name="can_focus">True</property>
                                    <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
Margaux Clerc's avatar
Margaux Clerc committed
770 771
                                    <property name="invisible_char"></property>
                                    <property name="invisible_char_set">True</property>
772 773
                                    <property name="primary_icon_activatable">False</property>
                                    <property name="secondary_icon_activatable">False</property>
774 775
                                    <property name="primary_icon_sensitive">True</property>
                                    <property name="secondary_icon_sensitive">True</property>
776
                                    <signal name="changed" handler="linphone_gtk_nat_address_changed" swapped="no"/>
777
                                  </object>
aymeric's avatar
aymeric committed
778
                                  <packing>
779 780
                                    <property name="expand">True</property>
                                    <property name="fill">True</property>
aymeric's avatar
aymeric committed
781 782 783
                                    <property name="position">1</property>
                                  </packing>
                                </child>
784
                              </object>
785
                              <packing>
786
                                <property name="expand">True</property>
Margaux Clerc's avatar
Margaux Clerc committed
787
                                <property name="fill">False</property>
788 789
                                <property name="position">0</property>
                              </packing>
790 791
                            </child>
                            <child>
Margaux Clerc's avatar
Margaux Clerc committed
792
                              <object class="GtkHBox" id="hbox24">
aymeric's avatar
aymeric committed
793
                                <property name="visible">True</property>
Margaux Clerc's avatar
Margaux Clerc committed
794
                                <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
795
                                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
Margaux Clerc's avatar
Margaux Clerc committed
796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829
                                <property name="homogeneous">True</property>
                                <child>
                                  <object class="GtkLabel" id="label42">
                                    <property name="visible">True</property>
                                    <property name="can_focus">False</property>
                                    <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
                                    <property name="label" translatable="yes">Stun server:</property>
                                    <property name="justify">right</property>
                                  </object>
                                  <packing>
                                    <property name="expand">True</property>
                                    <property name="fill">True</property>
                                    <property name="position">0</property>
                                  </packing>
                                </child>
                                <child>
                                  <object class="GtkEntry" id="stun_server">
                                    <property name="visible">True</property>
                                    <property name="can_focus">True</property>
                                    <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
                                    <property name="invisible_char"></property>
                                    <property name="invisible_char_set">True</property>
                                    <property name="primary_icon_activatable">False</property>
                                    <property name="secondary_icon_activatable">False</property>
                                    <property name="primary_icon_sensitive">True</property>
                                    <property name="secondary_icon_sensitive">True</property>
                                    <signal name="changed" handler="linphone_gtk_stun_server_changed" swapped="no"/>
                                  </object>
                                  <packing>
                                    <property name="expand">True</property>
                                    <property name="fill">True</property>
                                    <property name="position">1</property>
                                  </packing>
                                </child>
830
                              </object>
aymeric's avatar
aymeric committed
831
                              <packing>
832
                                <property name="expand">True</property>
Margaux Clerc's avatar
Margaux Clerc committed
833
                                <property name="fill">False</property>
aymeric's avatar
aymeric committed
834 835 836
                                <property name="position">1</property>
                              </packing>
                            </child>
837
                          </object>
838
                          <packing>
Margaux Clerc's avatar
Margaux Clerc committed
839 840 841
                            <property name="expand">False</property>
                            <property name="fill">False</property>
                            <property name="position">1</property>
842
                          </packing>
aymeric's avatar
aymeric committed
843
                        </child>
844
                      </object>
aymeric's avatar
aymeric committed
845
                    </child>
846 847
                    <child type="label">
                      <object class="GtkLabel" id="label38">
aymeric's avatar
aymeric committed
848
                        <property name="visible">True</property>
849
                        <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
850
                        <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
851
                        <property name="label" translatable="yes">&lt;b&gt;NAT and Firewall&lt;/b&gt;</property>
aymeric's avatar
aymeric committed
852
                        <property name="use_markup">True</property>
853
                      </object>
aymeric's avatar
aymeric committed
854
                    </child>
855
                  </object>
aymeric's avatar
aymeric committed
856
                  <packing>
Simon Morlat's avatar
Simon Morlat committed
857
                    <property name="expand">False</property>
858
                    <property name="fill">True</property>
aymeric's avatar
aymeric committed
859 860 861
                    <property name="position">2</property>
                  </packing>
                </child>
862
              </object>
aymeric's avatar
aymeric committed
863
            </child>
864 865
            <child type="tab">
              <object class="GtkHBox" id="hbox12">
aymeric's avatar
aymeric committed
866
                <property name="visible">True</property>
867
                <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
868 869
                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
                <child>
870
                  <object class="GtkImage" id="image6">
aymeric's avatar
aymeric committed
871
                    <property name="visible">True</property>
872
                    <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
873 874
                    <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
                    <property name="stock">gtk-network</property>
875
                    <property name="icon-size">1</property>
876
                  </object>
877
                  <packing>
878 879
                    <property name="expand">True</property>
                    <property name="fill">True</property>
880 881
                    <property name="position">0</property>
                  </packing>
aymeric's avatar
aymeric committed
882 883
                </child>
                <child>
884
                  <object class="GtkLabel" id="network">
aymeric's avatar
aymeric committed
885
                    <property name="visible">True</property>
886
                    <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
887 888
                    <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
                    <property name="label" translatable="yes">Network settings</property>
889
                  </object>
aymeric's avatar
aymeric committed
890
                  <packing>
891 892
                    <property name="expand">True</property>
                    <property name="fill">True</property>
aymeric's avatar
aymeric committed
893 894 895
                    <property name="position">1</property>
                  </packing>
                </child>
896
              </object>
aymeric's avatar
aymeric committed
897 898 899 900 901
              <packing>
                <property name="tab_fill">False</property>
              </packing>
            </child>
            <child>
902
              <object class="GtkVBox" id="multimedia_tab">
aymeric's avatar
aymeric committed
903
                <property name="visible">True</property>
904
                <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
905 906
                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
                <child>
907
                  <object class="GtkFrame" id="frame14">
aymeric's avatar
aymeric committed
908
                    <property name="visible">True</property>
909
                    <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
910 911
                    <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
                    <property name="label_xalign">0</property>
912
                    <property name="shadow_type">none</property>
aymeric's avatar
aymeric committed
913
                    <child>
914
                      <object class="GtkAlignment" id="alignment14">
aymeric's avatar
aymeric committed
915
                        <property name="visible">True</property>
916
                        <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
917 918 919
                        <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
                        <property name="left_padding">12</property>
                        <child>
920
                          <object class="GtkTable" id="table5">
aymeric's avatar
aymeric committed
921
                            <property name="visible">True</property>
922
                            <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
923 924 925 926
                            <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
                            <property name="n_rows">6</property>
                            <property name="n_columns">2</property>
                            <child>
927
                              <object class="GtkHBox" id="ring_sound_box">
aymeric's avatar
aymeric committed
928
                                <property name="visible">True</property>
929
                                <property name="can_focus">False</property>
930 931
                                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
                                <child>
932
                                  <object class="GtkFileChooserButton" id="ring_chooser">
933
                                    <property name="visible">True</property>
934
                                    <property name="can_focus">False</property>
935
                                    <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
936
                                    <signal name="file-set" handler="linphone_gtk_ring_file_set" swapped="no"/>
937
                                  </object>
938
                                  <packing>
939 940
                                    <property name="expand">True</property>
                                    <property name="fill">True</property>
941 942
                                    <property name="position">0</property>
                                  </packing>
943 944
                                </child>
                                <child>
945
                                  <object class="GtkButton" id="play_ring">
946
                                    <property name="label">gtk-media-play</property>
947 948 949 950
                                    <property name="visible">True</property>
                                    <property name="can_focus">True</property>
                                    <property name="receives_default">True</property>
                                    <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
951
                                    <property name="use_action_appearance">False</property>
952
                                    <property name="use_stock">True</property>
953
                                    <signal name="clicked" handler="linphone_gtk_play_ring_file" swapped="no"/>
954
                                  </object>
955
                                  <packing>
956 957
                                    <property name="expand">True</property>
                                    <property name="fill">True</property>
958 959 960
                                    <property name="position">1</property>
                                  </packing>
                                </child>
961
                              </object>
aymeric's avatar
aymeric committed
962 963 964
                              <packing>
                                <property name="left_attach">1</property>
                                <property name="right_attach">2</property>
965 966 967
                                <property name="top_attach">4</property>
                                <property name="bottom_attach">5</property>
                                <property name="y_options">GTK_FILL</property>
aymeric's avatar
aymeric committed
968 969 970
                              </packing>
                            </child>
                            <child>
971
                              <object class="GtkLabel" id="ring_sound_label">
aymeric's avatar
aymeric committed
972
                                <property name="visible">True</property>
973
                                <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
974
                                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
975
                                <property name="label" translatable="yes">Ring sound:</property>
976
                                <property name="justify">right</property>
977
                              </object>
aymeric's avatar
aymeric committed
978
                              <packing>
979 980
                                <property name="top_attach">4</property>
                                <property name="bottom_attach">5</property>
aymeric's avatar
aymeric committed
981 982 983 984
                                <property name="y_options">GTK_FILL</property>
                              </packing>
                            </child>
                            <child>
985
                              <object class="GtkEntry" id="alsa_dev">
986
                                <property name="can_focus">True</property>
aymeric's avatar
aymeric committed
987
                                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
988 989
                                <property name="primary_icon_activatable">False</property>
                                <property name="secondary_icon_activatable">False</property>
990 991
                                <property name="primary_icon_sensitive">True</property>
                                <property name="secondary_icon_sensitive">True</property>
992
                                <signal name="editing-done" handler="linphone_gtk_alsa_special_device_changed" swapped="no"/>
993
                              </object>
aymeric's avatar
aymeric committed
994
                              <packing>
995 996 997 998
                                <property name="left_attach">1</property>
                                <property name="right_attach">2</property>
                                <property name="top_attach">3</property>
                                <property name="bottom_attach">4</property>
aymeric's avatar
aymeric committed
999 1000 1001 1002
                                <property name="y_options">GTK_FILL</property>
                              </packing>
                            </child>
                            <child>
1003
                              <object class="GtkComboBox" id="capture_device">
aymeric's avatar
aymeric committed
1004
                                <property name="visible">True</property>
1005
                                <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
1006
                                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
1007
                                <property name="model">model1</property>
1008
                                <signal name="changed" handler="linphone_gtk_capture_device_changed" swapped="no"/>
1009
                                <child>
1010
                                  <object class="GtkCellRendererText" id="renderer2"/>
1011 1012 1013 1014 1015
                                  <attributes>
                                    <attribute name="text">0</attribute>
                                  </attributes>
                                </child>
                              </object>
aymeric's avatar
aymeric committed
1016
                              <packing>
1017 1018 1019 1020
                                <property name="left_attach">1</property>
                                <property name="right_attach">2</property>
                                <property name="top_attach">2</property>
                                <property name="bottom_attach">3</property>
aymeric's avatar
aymeric committed
1021 1022 1023 1024
                                <property name="y_options">GTK_FILL</property>
                              </packing>
                            </child>
                            <child>
1025
                              <object class="GtkComboBox" id="ring_device">
aymeric's avatar
aymeric committed
1026
                                <property name="visible">True</property>
1027
                                <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
1028
                                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
1029
                                <property name="model">model2</property>
1030
                                <signal name="changed" handler="linphone_gtk_ring_device_changed" swapped="no"/>
1031
                                <child>
1032
                                  <object class="GtkCellRendererText" id="renderer3"/>
1033 1034 1035 1036 1037
                                  <attributes>
                                    <attribute name="text">0</attribute>
                                  </attributes>
                                </child>
                              </object>
aymeric's avatar
aymeric committed
1038
                              <packing>
1039 1040 1041 1042
                                <property name="left_attach">1</property>
                                <property name="right_attach">2</property>
                                <property name="top_attach">1</property>
                                <property name="bottom_attach">2</property>
aymeric's avatar
aymeric committed
1043 1044 1045 1046
                                <property name="y_options">GTK_FILL</property>
                              </packing>
                            </child>
                            <child>
1047
                              <object class="GtkLabel" id="label36">
1048
                                <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
1049
                                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
1050
                                <property name="label" translatable="yes">ALSA special device (optional):</property>
1051
                                <property name="justify">right</property>
1052
                              </object>
aymeric's avatar
aymeric committed
1053 1054 1055 1056 1057 1058 1059
                              <packing>
                                <property name="top_attach">3</property>
                                <property name="bottom_attach">4</property>
                                <property name="y_options">GTK_FILL</property>
                              </packing>
                            </child>
                            <child>
1060
                              <object class="GtkLabel" id="label35">
aymeric's avatar
aymeric committed
1061
                                <property name="visible">True</property>
1062
                                <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
1063
                                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
1064
                                <property name="label" translatable="yes">Capture device:</property>
1065
                                <property name="justify">right</property>
1066
                              </object>
aymeric's avatar
aymeric committed
1067
                              <packing>
1068 1069
                                <property name="top_attach">2</property>
                                <property name="bottom_attach">3</property>
aymeric's avatar
aymeric committed
1070 1071 1072 1073
                                <property name="y_options">GTK_FILL</property>
                              </packing>
                            </child>
                            <child>
1074
                              <object class="GtkLabel" id="label34">
aymeric's avatar
aymeric committed
1075
                                <property name="visible">True</property>
1076
                                <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
1077
                                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
1078
                                <property name="label" translatable="yes">Ring device:</property>
1079
                                <property name="justify">right</property>
1080
                              </object>
aymeric's avatar
aymeric committed
1081
                              <packing>
1082 1083
                                <property name="top_attach">1</property>
                                <property name="bottom_attach">2</property>
aymeric's avatar
aymeric committed
1084 1085 1086 1087
                                <property name="y_options">GTK_FILL</property>
                              </packing>
                            </child>
                            <child>
1088
                              <object class="GtkLabel" id="label32">
1089
                                <property name="visible">True</property>
1090
                                <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
1091
                                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
1092
                                <property name="label" translatable="yes">Playback device:</property>
1093
                                <property name="justify">right</property>
1094
                              </object>
aymeric's avatar
aymeric committed
1095
                              <packing>
1096
                                <property name="x_options">GTK_FILL</property>
aymeric's avatar
aymeric committed
1097 1098 1099 1100
                                <property name="y_options">GTK_FILL</property>
                              </packing>
                            </child>
                            <child>
1101
                              <object class="GtkComboBox" id="playback_device">
aymeric's avatar
aymeric committed
1102
                                <property name="visible">True</property>
1103
                                <property name="can_focus">False</property>
aymeric's avatar
aymeric committed
1104
                                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>