Debian Codegraph @

pynicotine/gtkgui/ui/settings/network.ui

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <interface>
3 <requires lib="gtk+" version="3.0"/>
4 <object class="GtkAdjustment" id="_listen_port_adjustment">
5 <property name="lower">1024</property>
6 <property name="page-increment">10</property>
7 <property name="step-increment">1</property>
8 <property name="upper">65535</property>
9 </object>
10 <object class="GtkAdjustment" id="_auto_away_adjustment">
11 <property name="page-increment">10</property>
12 <property name="step-increment">5</property>
13 <property name="upper">10000</property>
14 </object>
15 <object class="GtkBox" id="container">
16 <property name="orientation">vertical</property>
17 <property name="spacing">36</property>
18 <property name="visible">True</property>
19 <child>
20 <object class="GtkBox">
21 <property name="orientation">vertical</property>
22 <property name="spacing">12</property>
23 <property name="visible">True</property>
24 <child>
25 <object class="GtkLabel">
26 <property name="halign">start</property>
27 <property name="label" translatable="yes">Network</property>
28 <property name="selectable">True</property>
29 <property name="visible">True</property>
30 <property name="wrap">True</property>
31 <property name="xalign">0</property>
32 <style>
33 <class name="heading"/>
34 </style>
35 </object>
36 </child>
37 <child>
38 <object class="GtkLabel">
39 <property name="label" translatable="yes">Log in to an existing Soulseek account or create a new one. Usernames are case-sensitive and unique.</property>
40 <property name="selectable">True</property>
41 <property name="visible">True</property>
42 <property name="wrap">True</property>
43 <property name="xalign">0</property>
44 </object>
45 </child>
46 <child>
47 <object class="GtkBox">
48 <property name="margin-top">6</property>
49 <property name="spacing">12</property>
50 <property name="visible">True</property>
51 <child>
52 <object class="GtkLabel">
53 <property name="hexpand">True</property>
54 <property name="label" translatable="yes">Username: </property>
55 <property name="mnemonic-widget">username_entry</property>
56 <property name="visible">True</property>
57 <property name="wrap">True</property>
58 <property name="wrap-mode">word-char</property>
59 <property name="xalign">0</property>
60 </object>
61 </child>
62 <child>
63 <object class="GtkBox">
64 <property name="spacing">12</property>
65 <property name="valign">center</property>
66 <property name="visible">True</property>
67 <child>
68 <object class="GtkEntry" id="username_entry">
69 <property name="hexpand">True</property>
70 <property name="input-hints">no-emoji</property>
71 <property name="max-width-chars">10</property>
72 <property name="truncate-multiline">True</property>
73 <property name="visible">True</property>
74 <property name="width-chars">10</property>
75 </object>
76 </child>
77 <child>
78 <object class="GtkButton" id="_change_password_button">
79 <property name="halign">end</property>
80 <property name="tooltip-text" translatable="yes">Change Password</property>
81 <property name="visible">True</property>
82 <signal name="clicked" handler="on_change_password"/>
83 <child>
84 <object class="GtkBox">
85 <property name="spacing">6</property>
86 <property name="visible">True</property>
87 <child>
88 <object class="GtkImage">
89 <property name="icon-name">dialog-password-symbolic</property>
90 <property name="visible">True</property>
91 </object>
92 </child>
93 <child>
94 <object class="GtkLabel">
95 <property name="ellipsize">end</property>
96 <property name="label" translatable="yes">Change Password</property>
97 <property name="mnemonic-widget">_change_password_button</property>
98 <property name="visible">True</property>
99 </object>
100 </child>
101 </object>
102 </child>
103 </object>
104 </child>
105 </object>
106 </child>
107 </object>
108 </child>
109 <child>
110 <object class="GtkBox">
111 <property name="margin-bottom">4</property>
112 <property name="margin-top">4</property>
113 <property name="spacing">12</property>
114 <property name="visible">True</property>
115 <child>
116 <object class="GtkLabel">
117 <property name="hexpand">True</property>
118 <property name="label" translatable="yes">Public IP address:</property>
119 <property name="mnemonic-widget">current_port_label</property>
120 <property name="visible">True</property>
121 <property name="wrap">True</property>
122 <property name="wrap-mode">word-char</property>
123 <property name="xalign">0</property>
124 </object>
125 </child>
126 <child>
127 <object class="GtkBox">
128 <property name="spacing">18</property>
129 <property name="visible">True</property>
130 <child>
131 <object class="GtkLabel" id="current_port_label">
132 <property name="label" translatable="yes">Unknown</property>
133 <property name="selectable">True</property>
134 <property name="visible">True</property>
135 <property name="wrap">True</property>
136 <property name="wrap-mode">word</property>
137 <property name="xalign">0</property>
138 </object>
139 </child>
140 <child>
141 <object class="GtkLabel" id="check_port_status_label">
142 <property name="label" translatable="yes">Check Port Status</property>
143 <property name="visible">True</property>
144 <property name="wrap">True</property>
145 <property name="wrap-mode">word-char</property>
146 </object>
147 </child>
148 </object>
149 </child>
150 </object>
151 </child>
152 <child>
153 <object class="GtkBox">
154 <property name="spacing">12</property>
155 <property name="visible">True</property>
156 <child>
157 <object class="GtkLabel">
158 <property name="hexpand">True</property>
159 <property name="label" translatable="yes">Listening port:</property>
160 <property name="mnemonic-widget">listen_port_spinner</property>
161 <property name="visible">True</property>
162 <property name="wrap">True</property>
163 <property name="wrap-mode">word-char</property>
164 <property name="xalign">0</property>
165 </object>
166 </child>
167 <child>
168 <object class="GtkSpinButton" id="listen_port_spinner">
169 <property name="adjustment">_listen_port_adjustment</property>
170 <property name="numeric">True</property>
171 <property name="valign">center</property>
172 <property name="visible">True</property>
173 </object>
174 </child>
175 </object>
176 </child>
177 <child>
178 <object class="GtkBox">
179 <property name="spacing">12</property>
180 <property name="visible">True</property>
181 <child>
182 <object class="GtkLabel">
183 <property name="height-request">24</property>
184 <property name="hexpand">True</property>
185 <property name="label" translatable="yes">Automatically forward listening port (UPnP/NAT-PMP)</property>
186 <property name="mnemonic-widget">upnp_toggle</property>
187 <property name="visible">True</property>
188 <property name="wrap">True</property>
189 <property name="wrap-mode">word-char</property>
190 <property name="xalign">0</property>
191 </object>
192 </child>
193 <child>
194 <object class="GtkSwitch" id="upnp_toggle">
195 <property name="valign">center</property>
196 <property name="visible">True</property>
197 </object>
198 </child>
199 </object>
200 </child>
201 </object>
202 </child>
203 <child>
204 <object class="GtkBox">
205 <property name="orientation">vertical</property>
206 <property name="spacing">12</property>
207 <property name="visible">True</property>
208 <child>
209 <object class="GtkLabel">
210 <property name="halign">start</property>
211 <property name="label" translatable="yes">Away Status</property>
212 <property name="selectable">True</property>
213 <property name="visible">True</property>
214 <property name="wrap">True</property>
215 <property name="xalign">0</property>
216 <style>
217 <class name="heading"/>
218 </style>
219 </object>
220 </child>
221 <child>
222 <object class="GtkBox">
223 <property name="spacing">12</property>
224 <property name="visible">True</property>
225 <child>
226 <object class="GtkLabel">
227 <property name="hexpand">True</property>
228 <property name="label" translatable="yes">Minutes of inactivity before going away (0 to disable):</property>
229 <property name="mnemonic-widget">auto_away_spinner</property>
230 <property name="visible">True</property>
231 <property name="wrap">True</property>
232 <property name="wrap-mode">word-char</property>
233 <property name="xalign">0</property>
234 </object>
235 </child>
236 <child>
237 <object class="GtkSpinButton" id="auto_away_spinner">
238 <property name="adjustment">_auto_away_adjustment</property>
239 <property name="numeric">True</property>
240 <property name="valign">center</property>
241 <property name="visible">True</property>
242 </object>
243 </child>
244 </object>
245 </child>
246 <child>
247 <object class="GtkBox">
248 <property name="homogeneous">True</property>
249 <property name="spacing">12</property>
250 <property name="visible">True</property>
251 <child>
252 <object class="GtkLabel">
253 <property name="label" translatable="yes">Auto-reply message when away:</property>
254 <property name="mnemonic-widget">auto_reply_message_entry</property>
255 <property name="visible">True</property>
256 <property name="wrap">True</property>
257 <property name="wrap-mode">word-char</property>
258 <property name="xalign">0</property>
259 </object>
260 </child>
261 <child>
262 <object class="GtkEntry" id="auto_reply_message_entry">
263 <property name="show-emoji-icon">True</property>
264 <property name="valign">center</property>
265 <property name="visible">True</property>
266 <property name="width-chars">8</property>
267 </object>
268 </child>
269 </object>
270 </child>
271 </object>
272 </child>
273 <child>
274 <object class="GtkBox">
275 <property name="orientation">vertical</property>
276 <property name="spacing">12</property>
277 <property name="visible">True</property>
278 <child>
279 <object class="GtkLabel">
280 <property name="halign">start</property>
281 <property name="label" translatable="yes">Connections</property>
282 <property name="selectable">True</property>
283 <property name="visible">True</property>
284 <property name="wrap">True</property>
285 <property name="xalign">0</property>
286 <style>
287 <class name="heading"/>
288 </style>
289 </object>
290 </child>
291 <child>
292 <object class="GtkBox">
293 <property name="spacing">12</property>
294 <property name="visible">True</property>
295 <child>
296 <object class="GtkLabel">
297 <property name="height-request">24</property>
298 <property name="hexpand">True</property>
299 <property name="label" translatable="yes">Auto-connect to server on startup</property>
300 <property name="mnemonic-widget">auto_connect_startup_toggle</property>
301 <property name="visible">True</property>
302 <property name="wrap">True</property>
303 <property name="wrap-mode">word-char</property>
304 <property name="xalign">0</property>
305 </object>
306 </child>
307 <child>
308 <object class="GtkSwitch" id="auto_connect_startup_toggle">
309 <property name="valign">center</property>
310 <property name="visible">True</property>
311 </object>
312 </child>
313 </object>
314 </child>
315 <child>
316 <object class="GtkBox">
317 <property name="homogeneous">True</property>
318 <property name="margin-top">6</property>
319 <property name="spacing">12</property>
320 <property name="visible">True</property>
321 <child>
322 <object class="GtkLabel">
323 <property name="label" translatable="yes">Soulseek server:</property>
324 <property name="mnemonic-widget">soulseek_server_entry</property>
325 <property name="visible">True</property>
326 <property name="wrap">True</property>
327 <property name="wrap-mode">word-char</property>
328 <property name="xalign">0</property>
329 </object>
330 </child>
331 <child>
332 <object class="GtkEntry" id="soulseek_server_entry">
333 <property name="secondary-icon-name">edit-undo-symbolic</property>
334 <property name="secondary-icon-tooltip-text" translatable="yes">Default</property>
335 <property name="valign">center</property>
336 <property name="visible">True</property>
337 <property name="width-chars">8</property>
338 <signal name="icon-press" handler="on_default_server"/>
339 </object>
340 </child>
341 </object>
342 </child>
343 <child>
344 <object class="GtkBox">
345 <property name="homogeneous">True</property>
346 <property name="spacing">12</property>
347 <property name="tooltip-text" translatable="yes">Binds connections to a specific network interface, useful for e.g. ensuring a VPN is used at all times. Leave empty to use any available interface. Only change this value if you know what you are doing.</property>
348 <property name="visible">True</property>
349 <child>
350 <object class="GtkLabel" id="network_interface_label">
351 <property name="label" translatable="yes">Network interface:</property>
352 <property name="visible">True</property>
353 <property name="wrap">True</property>
354 <property name="wrap-mode">word-char</property>
355 <property name="xalign">0</property>
356 </object>
357 </child>
358 </object>
359 </child>
360 </object>
361 </child>
362 </object>
363 </interface>