Debian Codegraph @

pynicotine/gtkgui/ui/settings/uploads.ui

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <interface>
3 <requires lib="gtk+" version="3.0"/>
4 <object class="GtkAdjustment" id="_speed_adjustment">
5 <property name="page-increment">50</property>
6 <property name="step-increment">10</property>
7 <property name="upper">1000000</property>
8 </object>
9 <object class="GtkAdjustment" id="_alt_speed_adjustment">
10 <property name="page-increment">50</property>
11 <property name="step-increment">10</property>
12 <property name="upper">1000000</property>
13 </object>
14 <object class="GtkAdjustment" id="_max_queued_files_adjustment">
15 <property name="page-increment">50</property>
16 <property name="step-increment">10</property>
17 <property name="upper">1000000</property>
18 </object>
19 <object class="GtkAdjustment" id="_max_queued_size_adjustment">
20 <property name="page-increment">100</property>
21 <property name="step-increment">25</property>
22 <property name="upper">1000000</property>
23 </object>
24 <object class="GtkAdjustment" id="_upload_bandwidth_adjustment">
25 <property name="page-increment">50</property>
26 <property name="step-increment">10</property>
27 <property name="upper">1000000</property>
28 </object>
29 <object class="GtkAdjustment" id="_upload_slots_adjustment">
30 <property name="lower">1</property>
31 <property name="page-increment">10</property>
32 <property name="step-increment">1</property>
33 <property name="upper">1000000</property>
34 </object>
35 <object class="GtkBox" id="container">
36 <property name="orientation">vertical</property>
37 <property name="spacing">30</property>
38 <property name="visible">True</property>
39 <child>
40 <object class="GtkBox">
41 <property name="orientation">vertical</property>
42 <property name="spacing">12</property>
43 <property name="visible">True</property>
44 <child>
45 <object class="GtkLabel">
46 <property name="halign">start</property>
47 <property name="label" translatable="yes">Uploads</property>
48 <property name="selectable">True</property>
49 <property name="visible">True</property>
50 <property name="wrap">True</property>
51 <property name="xalign">0</property>
52 <style>
53 <class name="heading"/>
54 </style>
55 </object>
56 </child>
57 <child>
58 <object class="GtkBox">
59 <property name="spacing">12</property>
60 <property name="visible">True</property>
61 <child>
62 <object class="GtkLabel">
63 <property name="height-request">24</property>
64 <property name="hexpand">True</property>
65 <property name="label" translatable="yes">Autoclear finished/cancelled uploads from transfer list</property>
66 <property name="mnemonic-widget">autoclear_uploads_toggle</property>
67 <property name="visible">True</property>
68 <property name="wrap">True</property>
69 <property name="wrap-mode">word-char</property>
70 <property name="xalign">0</property>
71 </object>
72 </child>
73 <child>
74 <object class="GtkSwitch" id="autoclear_uploads_toggle">
75 <property name="valign">center</property>
76 <property name="visible">True</property>
77 </object>
78 </child>
79 </object>
80 </child>
81 <child>
82 <object class="GtkBox">
83 <property name="homogeneous">True</property>
84 <property name="spacing">12</property>
85 <property name="visible">True</property>
86 <child>
87 <object class="GtkLabel" id="upload_double_click_label">
88 <property name="label" translatable="yes">Double-click action for uploads:</property>
89 <property name="visible">True</property>
90 <property name="wrap">True</property>
91 <property name="wrap-mode">word-char</property>
92 <property name="xalign">0</property>
93 </object>
94 </child>
95 </object>
96 </child>
97 </object>
98 </child>
99 <child>
100 <object class="GtkBox">
101 <property name="orientation">vertical</property>
102 <property name="spacing">12</property>
103 <property name="visible">True</property>
104 <child>
105 <object class="GtkLabel">
106 <property name="label" translatable="yes">Upload Speed Limits</property>
107 <property name="visible">True</property>
108 <property name="wrap">True</property>
109 <property name="xalign">0</property>
110 <style>
111 <class name="heading"/>
112 </style>
113 </object>
114 </child>
115 <child>
116 <object class="GtkBox">
117 <property name="spacing">12</property>
118 <property name="visible">True</property>
119 <child>
120 <object class="GtkLabel">
121 <property name="hexpand">True</property>
122 <property name="label" translatable="yes">Limit upload speed:</property>
123 <property name="mnemonic-widget">_limit_per_transfers_radio</property>
124 <property name="visible">True</property>
125 <property name="wrap">True</property>
126 <property name="wrap-mode">word-char</property>
127 <property name="xalign">0</property>
128 </object>
129 </child>
130 <child>
131 <object class="GtkBox">
132 <property name="spacing">6</property>
133 <property name="visible">True</property>
134 <child>
135 <object class="GtkRadioButton" id="_limit_per_transfers_radio">
136 <property name="active">True</property>
137 <property name="label" translatable="yes">Per transfer</property>
138 <property name="use-underline">True</property>
139 <property name="visible">True</property>
140 </object>
141 </child>
142 <child>
143 <object class="GtkRadioButton" id="limit_total_transfers_radio">
144 <property name="group">_limit_per_transfers_radio</property>
145 <property name="label" translatable="yes">Total transfers</property>
146 <property name="use-underline">True</property>
147 <property name="visible">True</property>
148 </object>
149 </child>
150 </object>
151 </child>
152 </object>
153 </child>
154 <child>
155 <object class="GtkRadioButton" id="use_unlimited_speed_radio">
156 <property name="active">True</property>
157 <property name="hexpand">True</property>
158 <property name="label" translatable="yes">Unlimited upload speed</property>
159 <property name="visible">True</property>
160 </object>
161 </child>
162 <child>
163 <object class="GtkBox">
164 <property name="spacing">12</property>
165 <property name="visible">True</property>
166 <child>
167 <object class="GtkRadioButton" id="use_speed_limit_radio">
168 <property name="group">use_unlimited_speed_radio</property>
169 <property name="hexpand">True</property>
170 <property name="label" translatable="yes">Use upload speed limit (KiB/s):</property>
171 <property name="visible">True</property>
172 </object>
173 </child>
174 <child>
175 <object class="GtkSpinButton" id="speed_spinner">
176 <property name="adjustment">_speed_adjustment</property>
177 <property name="max-width-chars">6</property>
178 <property name="numeric">True</property>
179 <property name="valign">center</property>
180 <property name="visible">True</property>
181 </object>
182 </child>
183 </object>
184 </child>
185 <child>
186 <object class="GtkBox">
187 <property name="spacing">12</property>
188 <property name="visible">True</property>
189 <child>
190 <object class="GtkRadioButton" id="use_alt_speed_limit_radio">
191 <property name="group">use_unlimited_speed_radio</property>
192 <property name="hexpand">True</property>
193 <property name="label" translatable="yes">Use alternative upload speed limit (KiB/s):</property>
194 <property name="visible">True</property>
195 </object>
196 </child>
197 <child>
198 <object class="GtkSpinButton" id="alt_speed_spinner">
199 <property name="adjustment">_alt_speed_adjustment</property>
200 <property name="numeric">True</property>
201 <property name="valign">center</property>
202 <property name="visible">True</property>
203 </object>
204 </child>
205 </object>
206 </child>
207 </object>
208 </child>
209 <child>
210 <object class="GtkBox">
211 <property name="orientation">vertical</property>
212 <property name="spacing">12</property>
213 <property name="visible">True</property>
214 <child>
215 <object class="GtkLabel">
216 <property name="halign">start</property>
217 <property name="label" translatable="yes">Upload Slots</property>
218 <property name="selectable">True</property>
219 <property name="visible">True</property>
220 <property name="wrap">True</property>
221 <property name="xalign">0</property>
222 <style>
223 <class name="heading"/>
224 </style>
225 </object>
226 </child>
227 <child>
228 <object class="GtkBox">
229 <property name="homogeneous">True</property>
230 <property name="spacing">12</property>
231 <property name="tooltip-text" translatable="yes">Round Robin: Files will be uploaded in cyclical fashion to the users waiting in queue.
232 First In, First Out: Files will be uploaded in the order they were queued.</property>
233 <property name="visible">True</property>
234 <child>
235 <object class="GtkLabel" id="upload_queue_type_label">
236 <property name="label" translatable="yes">Upload queue type:</property>
237 <property name="visible">True</property>
238 <property name="wrap">True</property>
239 <property name="wrap-mode">word-char</property>
240 <property name="xalign">0</property>
241 </object>
242 </child>
243 </object>
244 </child>
245 <child>
246 <object class="GtkBox">
247 <property name="spacing">12</property>
248 <property name="visible">True</property>
249 <child>
250 <object class="GtkRadioButton" id="use_upload_slots_bandwidth_radio">
251 <property name="active">True</property>
252 <property name="hexpand">True</property>
253 <property name="label" translatable="yes">Allocate upload slots until total speed reaches (KiB/s):</property>
254 <property name="visible">True</property>
255 </object>
256 </child>
257 <child>
258 <object class="GtkSpinButton" id="upload_bandwidth_spinner">
259 <property name="adjustment">_upload_bandwidth_adjustment</property>
260 <property name="numeric">True</property>
261 <property name="sensitive" bind-source="use_upload_slots_fixed_radio" bind-property="active" bind-flags="bidirectional|invert-boolean|sync-create"/>
262 <property name="valign">center</property>
263 <property name="visible">True</property>
264 </object>
265 </child>
266 </object>
267 </child>
268 <child>
269 <object class="GtkBox">
270 <property name="spacing">12</property>
271 <property name="visible">True</property>
272 <child>
273 <object class="GtkRadioButton" id="use_upload_slots_fixed_radio">
274 <property name="group">use_upload_slots_bandwidth_radio</property>
275 <property name="hexpand">True</property>
276 <property name="label" translatable="yes">Fixed number of upload slots:</property>
277 <property name="visible">True</property>
278 </object>
279 </child>
280 <child>
281 <object class="GtkSpinButton" id="upload_slots_spinner">
282 <property name="adjustment">_upload_slots_adjustment</property>
283 <property name="numeric">True</property>
284 <property name="sensitive" bind-source="use_upload_slots_fixed_radio" bind-property="active" bind-flags="bidirectional|sync-create"/>
285 <property name="valign">center</property>
286 <property name="visible">True</property>
287 </object>
288 </child>
289 </object>
290 </child>
291 <child>
292 <object class="GtkCheckButton" id="prioritize_buddies_toggle">
293 <property name="halign">end</property>
294 <property name="label" translatable="yes">Prioritize all buddies</property>
295 <property name="visible">True</property>
296 </object>
297 </child>
298 </object>
299 </child>
300 <child>
301 <object class="GtkBox">
302 <property name="orientation">vertical</property>
303 <property name="spacing">12</property>
304 <property name="visible">True</property>
305 <child>
306 <object class="GtkLabel">
307 <property name="halign">start</property>
308 <property name="label" translatable="yes">Queue Limits</property>
309 <property name="selectable">True</property>
310 <property name="visible">True</property>
311 <property name="wrap">True</property>
312 <property name="xalign">0</property>
313 <style>
314 <class name="heading"/>
315 </style>
316 </object>
317 </child>
318 <child>
319 <object class="GtkBox">
320 <property name="spacing">12</property>
321 <property name="visible">True</property>
322 <child>
323 <object class="GtkLabel">
324 <property name="hexpand">True</property>
325 <property name="label" translatable="yes">Maximum number of queued files per user:</property>
326 <property name="mnemonic-widget">max_queued_files_spinner</property>
327 <property name="visible">True</property>
328 <property name="wrap">True</property>
329 <property name="wrap-mode">word-char</property>
330 <property name="xalign">0</property>
331 </object>
332 </child>
333 <child>
334 <object class="GtkSpinButton" id="max_queued_files_spinner">
335 <property name="adjustment">_max_queued_files_adjustment</property>
336 <property name="numeric">True</property>
337 <property name="valign">center</property>
338 <property name="visible">True</property>
339 </object>
340 </child>
341 </object>
342 </child>
343 <child>
344 <object class="GtkBox">
345 <property name="spacing">12</property>
346 <property name="visible">True</property>
347 <child>
348 <object class="GtkLabel">
349 <property name="hexpand">True</property>
350 <property name="label" translatable="yes">Maximum total size of queued files per user (MiB):</property>
351 <property name="mnemonic-widget">max_queued_size_spinner</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 <child>
359 <object class="GtkSpinButton" id="max_queued_size_spinner">
360 <property name="adjustment">_max_queued_size_adjustment</property>
361 <property name="numeric">True</property>
362 <property name="valign">center</property>
363 <property name="visible">True</property>
364 </object>
365 </child>
366 </object>
367 </child>
368 <child>
369 <object class="GtkCheckButton" id="no_buddy_limits_toggle">
370 <property name="halign">end</property>
371 <property name="label" translatable="yes">Limits do not apply to buddies</property>
372 <property name="visible">True</property>
373 </object>
374 </child>
375 </object>
376 </child>
377 </object>
378 </interface>