1<?xml version="1.0" encoding="UTF-8"?>
2<interface>
3  <!-- interface-requires gtk+ 3.0 -->
4  <object class="GtkAdjustment" id="proxy_port_ftp_adjustment">
5    <property name="upper">65535</property>
6    <property name="step_increment">1</property>
7  </object>
8  <object class="GtkAdjustment" id="proxy_port_http_adjustment">
9    <property name="upper">65535</property>
10    <property name="step_increment">1</property>
11  </object>
12  <object class="GtkAdjustment" id="proxy_port_https_adjustment">
13    <property name="upper">65535</property>
14    <property name="step_increment">1</property>
15  </object>
16  <object class="GtkAdjustment" id="proxy_port_socks_adjustment">
17    <property name="upper">65535</property>
18    <property name="step_increment">1</property>
19  </object>
20  <template class="NetProxy" parent="GtkFrame">
21    <property name="visible">True</property>
22    <property name="can_focus">False</property>
23    <child>
24      <object class="GtkListBox">
25        <property name="visible">True</property>
26        <property name="can_focus">False</property>
27        <property name="selection_mode">none</property>
28        <child>
29          <object class="GtkListBoxRow">
30            <property name="visible">True</property>
31            <property name="can_focus">False</property>
32            <property name="activatable">False</property>
33            <child>
34              <object class="GtkBox">
35                <property name="visible">True</property>
36                <property name="can_focus">False</property>
37                <property name="spacing">12</property>
38                <property name="margin_top">8</property>
39                <property name="margin_bottom">8</property>
40                <property name="margin_start">12</property>
41                <property name="margin_end">12</property>
42                <child>
43                  <object class="GtkLabel">
44                    <property name="visible">True</property>
45                    <property name="can_focus">False</property>
46                    <property name="hexpand">True</property>
47                    <property name="label" translatable="yes">Network Proxy</property>
48                    <property name="ellipsize">end</property>
49                    <property name="xalign">0.0</property>
50                    <attributes>
51                      <attribute name="weight" value="bold" />
52                    </attributes>
53                  </object>
54                </child>
55                <child>
56                  <object class="GtkLabel" id="status_label">
57                    <property name="visible">True</property>
58                    <property name="can_focus">True</property>
59                    <property name="margin_top">8</property>
60                    <property name="margin_bottom">8</property>
61                    <style>
62                      <class name="dim-label" />
63                    </style>
64                  </object>
65                </child>
66                <child>
67                  <object class="GtkButton">
68                    <property name="visible">True</property>
69                    <property name="can_focus">True</property>
70                    <signal name="clicked" handler="show_dialog_cb" object="NetProxy" swapped="yes"/>
71                    <child>
72                      <object class="GtkImage">
73                        <property name="visible">True</property>
74                        <property name="can_focus">False</property>
75                        <property name="icon_name">emblem-system-symbolic</property>
76                      </object>
77                    </child>
78                  </object>
79                </child>
80              </object>
81            </child>
82          </object>
83        </child>
84      </object>
85    </child>
86  </template>
87  <object class="GtkDialog" id="dialog">
88    <property name="use_header_bar">1</property>
89    <property name="can_focus">False</property>
90    <property name="border_width">18</property>
91    <property name="default_height">350</property>
92    <property name="modal">True</property>
93    <property name="type_hint">dialog</property>
94    <property name="window_position">center</property>
95    <property name="destroy_with_parent">True</property>
96    <property name="title" translatable="yes">Network Proxy</property>
97    <child internal-child="vbox">
98      <object class="GtkBox">
99        <property name="visible">True</property>
100        <property name="can_focus">False</property>
101        <property name="border_width">0</property>
102        <property name="spacing">6</property>
103        <child>
104          <object class="GtkRadioButton" id="automatic_radio">
105            <property name="visible">True</property>
106            <property name="can_focus">True</property>
107            <property name="label" translatable="yes">Automatic</property>
108            <property name="receives_default">False</property>
109            <property name="draw_indicator">True</property>
110            <property name="group">none_radio</property>
111            <signal name="toggled" handler="panel_proxy_mode_radio_changed_cb" object="NetProxy" swapped="yes"/>
112          </object>
113        </child>
114        <child>
115          <object class="GtkRadioButton" id="manual_radio">
116            <property name="visible">True</property>
117            <property name="can_focus">True</property>
118            <property name="label" translatable="yes">Manual</property>
119            <property name="receives_default">False</property>
120            <property name="draw_indicator">True</property>
121            <property name="group">none_radio</property>
122            <signal name="toggled" handler="panel_proxy_mode_radio_changed_cb" object="NetProxy" swapped="yes"/>
123          </object>
124        </child>
125        <child>
126          <object class="GtkRadioButton" id="none_radio">
127            <property name="visible">True</property>
128            <property name="can_focus">True</property>
129            <property name="label" translatable="yes">Disabled</property>
130            <property name="receives_default">False</property>
131            <property name="draw_indicator">True</property>
132            <signal name="toggled" handler="panel_proxy_mode_radio_changed_cb" object="NetProxy" swapped="yes"/>
133          </object>
134        </child>
135        <child>
136          <object class="GtkStack" id="stack">
137            <property name="visible">True</property>
138            <property name="can_focus">False</property>
139            <property name="transition_type">crossfade</property>
140
141            <!-- Disabled (empty box) -->
142            <child>
143              <object class="GtkBox">
144                <property name="visible">True</property>
145                <property name="can_focus">False</property>
146              </object>
147              <packing>
148                <property name="name">disabled</property>
149              </packing>
150            </child>
151
152            <!-- Manual -->
153            <child>
154              <object class="GtkGrid">
155                <property name="visible">True</property>
156                <property name="can_focus">False</property>
157                <property name="valign">start</property>
158                <property name="border_width">12</property>
159                <property name="row_spacing">10</property>
160                <property name="column_spacing">6</property>
161                <child>
162                  <object class="GtkAlignment">
163                    <property name="visible">True</property>
164                    <property name="can_focus">False</property>
165                    <property name="halign">end</property>
166                    <property name="valign">start</property>
167                  </object>
168                  <packing>
169                    <property name="left_attach">2</property>
170                    <property name="top_attach">0</property>
171                    <property name="width">1</property>
172                    <property name="height">1</property>
173                  </packing>
174                </child>
175                <child>
176                  <object class="GtkLabel">
177                    <property name="visible">True</property>
178                    <property name="can_focus">False</property>
179                    <property name="xalign">1</property>
180                    <property name="label" translatable="yes">_HTTP Proxy</property>
181                    <property name="use_underline">True</property>
182                    <property name="mnemonic_widget">proxy_http_entry</property>
183                    <style>
184                      <class name="dim-label"/>
185                    </style>
186                  </object>
187                  <packing>
188                    <property name="left_attach">0</property>
189                    <property name="top_attach">3</property>
190                    <property name="width">1</property>
191                    <property name="height">1</property>
192                  </packing>
193                </child>
194                <child>
195                  <object class="GtkLabel">
196                    <property name="visible">True</property>
197                    <property name="can_focus">False</property>
198                    <property name="xalign">1</property>
199                    <property name="label" translatable="yes">H_TTPS Proxy</property>
200                    <property name="use_underline">True</property>
201                    <property name="mnemonic_widget">proxy_https_entry</property>
202                    <style>
203                      <class name="dim-label"/>
204                    </style>
205                  </object>
206                  <packing>
207                    <property name="left_attach">0</property>
208                    <property name="top_attach">4</property>
209                    <property name="width">1</property>
210                    <property name="height">1</property>
211                  </packing>
212                </child>
213                <child>
214                  <object class="GtkLabel">
215                    <property name="visible">True</property>
216                    <property name="can_focus">False</property>
217                    <property name="xalign">1</property>
218                    <property name="label" translatable="yes">_FTP Proxy</property>
219                    <property name="use_underline">True</property>
220                    <property name="mnemonic_widget">proxy_ftp_entry</property>
221                    <style>
222                      <class name="dim-label"/>
223                    </style>
224                  </object>
225                  <packing>
226                    <property name="left_attach">0</property>
227                    <property name="top_attach">5</property>
228                    <property name="width">1</property>
229                    <property name="height">1</property>
230                  </packing>
231                </child>
232                <child>
233                  <object class="GtkLabel">
234                    <property name="visible">True</property>
235                    <property name="can_focus">False</property>
236                    <property name="xalign">1</property>
237                    <property name="label" translatable="yes">_Socks Host</property>
238                    <property name="use_underline">True</property>
239                    <property name="mnemonic_widget">proxy_socks_entry</property>
240                    <style>
241                      <class name="dim-label"/>
242                    </style>
243                  </object>
244                  <packing>
245                    <property name="left_attach">0</property>
246                    <property name="top_attach">6</property>
247                    <property name="width">1</property>
248                    <property name="height">1</property>
249                  </packing>
250                </child>
251                <child>
252                  <object class="GtkLabel">
253                    <property name="visible">True</property>
254                    <property name="can_focus">False</property>
255                    <property name="xalign">1</property>
256                    <property name="label" translatable="yes">_Ignore Hosts</property>
257                    <property name="use_underline">True</property>
258                    <property name="mnemonic_widget">proxy_ignore_entry</property>
259                    <style>
260                      <class name="dim-label"/>
261                    </style>
262                  </object>
263                  <packing>
264                    <property name="left_attach">0</property>
265                    <property name="top_attach">7</property>
266                    <property name="width">1</property>
267                    <property name="height">1</property>
268                  </packing>
269                </child>
270                <child>
271                  <object class="GtkEntry" id="proxy_http_entry">
272                    <property name="visible">True</property>
273                    <property name="can_focus">True</property>
274                    <property name="invisible_char">●</property>
275                    <property name="invisible_char_set">True</property>
276                  </object>
277                  <packing>
278                    <property name="left_attach">1</property>
279                    <property name="top_attach">3</property>
280                    <property name="width">1</property>
281                    <property name="height">1</property>
282                  </packing>
283                </child>
284                <child>
285                  <object class="GtkSpinButton">
286                    <property name="visible">True</property>
287                    <property name="can_focus">True</property>
288                    <property name="invisible_char">●</property>
289                    <property name="xalign">1</property>
290                    <property name="invisible_char_set">True</property>
291                    <property name="adjustment">proxy_port_http_adjustment</property>
292                    <child internal-child="accessible">
293                      <object class="AtkObject">
294                        <property name="accessible-name" translatable="yes">HTTP proxy port</property>
295                      </object>
296                    </child>
297                  </object>
298                  <packing>
299                    <property name="left_attach">2</property>
300                    <property name="top_attach">3</property>
301                    <property name="width">1</property>
302                    <property name="height">1</property>
303                  </packing>
304                </child>
305                <child>
306                  <object class="GtkEntry" id="proxy_https_entry">
307                    <property name="visible">True</property>
308                    <property name="can_focus">True</property>
309                    <property name="invisible_char">●</property>
310                    <property name="invisible_char_set">True</property>
311                  </object>
312                  <packing>
313                    <property name="left_attach">1</property>
314                    <property name="top_attach">4</property>
315                    <property name="width">1</property>
316                    <property name="height">1</property>
317                  </packing>
318                </child>
319                <child>
320                  <object class="GtkEntry" id="proxy_ftp_entry">
321                    <property name="visible">True</property>
322                    <property name="can_focus">True</property>
323                    <property name="invisible_char">●</property>
324                    <property name="invisible_char_set">True</property>
325                  </object>
326                  <packing>
327                    <property name="left_attach">1</property>
328                    <property name="top_attach">5</property>
329                    <property name="width">1</property>
330                    <property name="height">1</property>
331                  </packing>
332                </child>
333                <child>
334                  <object class="GtkEntry" id="proxy_socks_entry">
335                    <property name="visible">True</property>
336                    <property name="can_focus">True</property>
337                    <property name="invisible_char">●</property>
338                    <property name="invisible_char_set">True</property>
339                  </object>
340                  <packing>
341                    <property name="left_attach">1</property>
342                    <property name="top_attach">6</property>
343                    <property name="width">1</property>
344                    <property name="height">1</property>
345                  </packing>
346                </child>
347                <child>
348                  <object class="GtkEntry" id="proxy_ignore_entry">
349                    <property name="visible">True</property>
350                    <property name="can_focus">True</property>
351                    <property name="invisible_char">●</property>
352                    <property name="invisible_char_set">True</property>
353                  </object>
354                  <packing>
355                    <property name="left_attach">1</property>
356                    <property name="top_attach">7</property>
357                    <property name="width">2</property>
358                    <property name="height">1</property>
359                  </packing>
360                </child>
361                <child>
362                  <object class="GtkSpinButton">
363                    <property name="visible">True</property>
364                    <property name="can_focus">True</property>
365                    <property name="invisible_char">●</property>
366                    <property name="xalign">1</property>
367                    <property name="invisible_char_set">True</property>
368                    <property name="adjustment">proxy_port_https_adjustment</property>
369                    <child internal-child="accessible">
370                      <object class="AtkObject">
371                        <property name="accessible-name" translatable="yes">HTTPS proxy port</property>
372                      </object>
373                    </child>
374                  </object>
375                  <packing>
376                    <property name="left_attach">2</property>
377                    <property name="top_attach">4</property>
378                    <property name="width">1</property>
379                    <property name="height">1</property>
380                  </packing>
381                </child>
382                <child>
383                  <object class="GtkSpinButton">
384                    <property name="visible">True</property>
385                    <property name="can_focus">True</property>
386                    <property name="invisible_char">●</property>
387                    <property name="xalign">1</property>
388                    <property name="invisible_char_set">True</property>
389                    <property name="adjustment">proxy_port_ftp_adjustment</property>
390                    <child internal-child="accessible">
391                      <object class="AtkObject">
392                        <property name="accessible-name" translatable="yes">FTP proxy port</property>
393                      </object>
394                    </child>
395                  </object>
396                  <packing>
397                    <property name="left_attach">2</property>
398                    <property name="top_attach">5</property>
399                    <property name="width">1</property>
400                    <property name="height">1</property>
401                  </packing>
402                </child>
403                <child>
404                  <object class="GtkSpinButton">
405                    <property name="visible">True</property>
406                    <property name="can_focus">True</property>
407                    <property name="invisible_char">●</property>
408                    <property name="xalign">1</property>
409                    <property name="invisible_char_set">True</property>
410                    <property name="adjustment">proxy_port_socks_adjustment</property>
411                    <child internal-child="accessible">
412                      <object class="AtkObject">
413                        <property name="accessible-name" translatable="yes">Socks proxy port</property>
414                      </object>
415                    </child>
416                  </object>
417                  <packing>
418                    <property name="left_attach">2</property>
419                    <property name="top_attach">6</property>
420                    <property name="width">1</property>
421                    <property name="height">1</property>
422                  </packing>
423                </child>
424              </object>
425              <packing>
426                <property name="name">manual</property>
427              </packing>
428            </child>
429
430            <!-- Automatic -->
431            <child>
432              <object class="GtkGrid">
433                <property name="visible">True</property>
434                <property name="can_focus">False</property>
435                <property name="row_spacing">12</property>
436                <property name="column_spacing">12</property>
437                <child>
438                  <object class="GtkLabel">
439                    <property name="visible">True</property>
440                    <property name="can_focus">False</property>
441                    <property name="xalign">1</property>
442                    <property name="label" translatable="yes">_Configuration URL</property>
443                    <property name="use_underline">True</property>
444                    <property name="mnemonic_widget">proxy_url_entry</property>
445                    <style>
446                      <class name="dim-label"/>
447                    </style>
448                  </object>
449                  <packing>
450                    <property name="top_attach">0</property>
451                    <property name="left_attach">0</property>
452                  </packing>
453                </child>
454                <child>
455                  <object class="GtkEntry" id="proxy_url_entry">
456                    <property name="visible">True</property>
457                    <property name="can_focus">True</property>
458                    <property name="invisible_char">●</property>
459                    <property name="invisible_char_set">True</property>
460                  </object>
461                  <packing>
462                    <property name="top_attach">0</property>
463                    <property name="left_attach">1</property>
464                  </packing>
465                </child>
466                <child>
467                  <object class="GtkLabel" id="proxy_warning_label">
468                    <property name="visible">False</property>
469                    <property name="can_focus">False</property>
470                    <property name="xalign">0</property>
471                    <property name="label">WPAD warning…</property>
472                    <property name="wrap">True</property>
473                    <property name="width_chars">50</property>
474                  </object>
475                  <packing>
476                    <property name="top_attach">1</property>
477                    <property name="left_attach">0</property>
478                    <property name="width">2</property>
479                  </packing>
480                </child>
481              </object>
482              <packing>
483                <property name="name">automatic</property>
484              </packing>
485            </child>
486          </object>
487        </child>
488      </object>
489    </child>
490  </object>
491</interface>
492