Debian Codegraph @

pynicotine/gtkgui/ui/settings/search.ui

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <interface>
3 <requires lib="gtk+" version="3.0"/>
4 <object class="GtkAdjustment" id="_max_displayed_results_adjustment">
5 <property name="lower">100</property>
6 <property name="page-increment">100</property>
7 <property name="step-increment">50</property>
8 <property name="upper">25000</property>
9 </object>
10 <object class="GtkAdjustment" id="_min_search_term_length_adjustment">
11 <property name="page-increment">5</property>
12 <property name="step-increment">1</property>
13 <property name="upper">50</property>
14 </object>
15 <object class="GtkAdjustment" id="_max_sent_results_adjustment">
16 <property name="lower">50</property>
17 <property name="page-increment">50</property>
18 <property name="step-increment">25</property>
19 <property name="upper">10000</property>
20 </object>
21 <object class="GtkBox" id="container">
22 <property name="orientation">vertical</property>
23 <property name="spacing">30</property>
24 <property name="visible">True</property>
25 <child>
26 <object class="GtkBox">
27 <property name="orientation">vertical</property>
28 <property name="spacing">12</property>
29 <property name="visible">True</property>
30 <child>
31 <object class="GtkLabel">
32 <property name="halign">start</property>
33 <property name="label" translatable="yes">Searches</property>
34 <property name="selectable">True</property>
35 <property name="visible">True</property>
36 <property name="wrap">True</property>
37 <property name="xalign">0</property>
38 <style>
39 <class name="heading"/>
40 </style>
41 </object>
42 </child>
43 <child>
44 <object class="GtkBox">
45 <property name="spacing">12</property>
46 <property name="visible">True</property>
47 <child>
48 <object class="GtkLabel">
49 <property name="height-request">24</property>
50 <property name="hexpand">True</property>
51 <property name="label" translatable="yes">Enable search history</property>
52 <property name="mnemonic-widget">enable_search_history_toggle</property>
53 <property name="visible">True</property>
54 <property name="wrap">True</property>
55 <property name="wrap-mode">word-char</property>
56 <property name="xalign">0</property>
57 </object>
58 </child>
59 <child>
60 <object class="GtkSwitch" id="enable_search_history_toggle">
61 <property name="valign">center</property>
62 <property name="visible">True</property>
63 </object>
64 </child>
65 </object>
66 </child>
67 <child>
68 <object class="GtkBox">
69 <property name="spacing">12</property>
70 <property name="tooltip-text" translatable="yes">Privately shared files that have been made visible to everyone will be prefixed with '[PRIVATE]', and cannot be downloaded until the uploader gives explicit permission. Ask them kindly.</property>
71 <property name="visible">True</property>
72 <child>
73 <object class="GtkLabel">
74 <property name="height-request">24</property>
75 <property name="hexpand">True</property>
76 <property name="label" translatable="yes">Show privately shared files in search results</property>
77 <property name="mnemonic-widget">show_private_results_toggle</property>
78 <property name="visible">True</property>
79 <property name="wrap">True</property>
80 <property name="wrap-mode">word-char</property>
81 <property name="xalign">0</property>
82 </object>
83 </child>
84 <child>
85 <object class="GtkImage">
86 <property name="icon-name">dialog-question-symbolic</property>
87 <property name="visible">True</property>
88 </object>
89 </child>
90 <child>
91 <object class="GtkSwitch" id="show_private_results_toggle">
92 <property name="valign">center</property>
93 <property name="visible">True</property>
94 </object>
95 </child>
96 </object>
97 </child>
98 <child>
99 <object class="GtkBox">
100 <property name="margin-top">6</property>
101 <property name="spacing">12</property>
102 <property name="visible">True</property>
103 <child>
104 <object class="GtkLabel">
105 <property name="hexpand">True</property>
106 <property name="label" translatable="yes">Limit number of results per search:</property>
107 <property name="mnemonic-widget">max_displayed_results_spinner</property>
108 <property name="visible">True</property>
109 <property name="wrap">True</property>
110 <property name="wrap-mode">word-char</property>
111 <property name="xalign">0</property>
112 </object>
113 </child>
114 <child>
115 <object class="GtkSpinButton" id="max_displayed_results_spinner">
116 <property name="adjustment">_max_displayed_results_adjustment</property>
117 <property name="numeric">True</property>
118 <property name="valign">center</property>
119 <property name="visible">True</property>
120 </object>
121 </child>
122 </object>
123 </child>
124 </object>
125 </child>
126 <child>
127 <object class="GtkBox">
128 <property name="orientation">vertical</property>
129 <property name="spacing">12</property>
130 <property name="visible">True</property>
131 <child>
132 <object class="GtkBox">
133 <property name="spacing">12</property>
134 <property name="visible">True</property>
135 <child>
136 <object class="GtkLabel">
137 <property name="halign">start</property>
138 <property name="label" translatable="yes">Search Result Filters</property>
139 <property name="selectable">True</property>
140 <property name="visible">True</property>
141 <property name="xalign">0</property>
142 <style>
143 <class name="heading"/>
144 </style>
145 </object>
146 </child>
147 <child>
148 <object class="GtkMenuButton" id="filter_help_button">
149 <property name="tooltip-text" translatable="yes">Result Filter Help</property>
150 <property name="visible">True</property>
151 <child>
152 <object class="GtkImage">
153 <property name="icon-name">dialog-question-symbolic</property>
154 <property name="visible">True</property>
155 </object>
156 </child>
157 <style>
158 <class name="circular"/>
159 <class name="image-button"/>
160 </style>
161 </object>
162 </child>
163 </object>
164 </child>
165 <child>
166 <object class="GtkBox">
167 <property name="orientation">vertical</property>
168 <property name="visible">True</property>
169 <child>
170 <object class="GtkBox">
171 <property name="spacing">12</property>
172 <property name="visible">True</property>
173 <child>
174 <object class="GtkLabel">
175 <property name="height-request">24</property>
176 <property name="hexpand">True</property>
177 <property name="label" translatable="yes">Enable search result filters by default</property>
178 <property name="mnemonic-widget">enable_default_filters_toggle</property>
179 <property name="visible">True</property>
180 <property name="wrap">True</property>
181 <property name="wrap-mode">word-char</property>
182 <property name="xalign">0</property>
183 </object>
184 </child>
185 <child>
186 <object class="GtkSwitch" id="enable_default_filters_toggle">
187 <property name="valign">center</property>
188 <property name="visible">True</property>
189 </object>
190 </child>
191 </object>
192 </child>
193 <child>
194 <object class="GtkRevealer">
195 <property name="reveal-child" bind-source="enable_default_filters_toggle" bind-property="active" bind-flags="bidirectional|sync-create"/>
196 <property name="transition-type">slide-down</property>
197 <property name="visible">True</property>
198 <child>
199 <object class="GtkBox">
200 <property name="orientation">vertical</property>
201 <property name="spacing">12</property>
202 <property name="visible">True</property>
203 <child>
204 <object class="GtkBox">
205 <property name="homogeneous">True</property>
206 <property name="margin-top">18</property>
207 <property name="spacing">12</property>
208 <property name="visible">True</property>
209 <child>
210 <object class="GtkLabel">
211 <property name="label" translatable="yes">Include:</property>
212 <property name="mnemonic-widget">filter_include_entry</property>
213 <property name="visible">True</property>
214 <property name="wrap">True</property>
215 <property name="wrap-mode">word-char</property>
216 <property name="xalign">0</property>
217 </object>
218 </child>
219 <child>
220 <object class="GtkEntry" id="filter_include_entry">
221 <property name="tooltip-text" translatable="yes">Filter in results whose file paths contain the specified text. Multiple phrases and words can be specified, e.g. exact phrase|music|term|exact phrase two</property>
222 <property name="valign">center</property>
223 <property name="visible">True</property>
224 <property name="width-chars">8</property>
225 </object>
226 </child>
227 </object>
228 </child>
229 <child>
230 <object class="GtkBox">
231 <property name="homogeneous">True</property>
232 <property name="spacing">12</property>
233 <property name="visible">True</property>
234 <child>
235 <object class="GtkLabel">
236 <property name="label" translatable="yes">Exclude:</property>
237 <property name="mnemonic-widget">filter_exclude_entry</property>
238 <property name="visible">True</property>
239 <property name="wrap">True</property>
240 <property name="wrap-mode">word-char</property>
241 <property name="xalign">0</property>
242 </object>
243 </child>
244 <child>
245 <object class="GtkEntry" id="filter_exclude_entry">
246 <property name="tooltip-text" translatable="yes">Filter out results whose file paths contain the specified text. Multiple phrases and words can be specified, e.g. exact phrase|music|term|exact phrase two</property>
247 <property name="valign">center</property>
248 <property name="visible">True</property>
249 <property name="width-chars">8</property>
250 </object>
251 </child>
252 </object>
253 </child>
254 <child>
255 <object class="GtkBox">
256 <property name="homogeneous">True</property>
257 <property name="spacing">12</property>
258 <property name="visible">True</property>
259 <child>
260 <object class="GtkLabel">
261 <property name="label" translatable="yes">File Type:</property>
262 <property name="mnemonic-widget">filter_file_type_entry</property>
263 <property name="visible">True</property>
264 <property name="wrap">True</property>
265 <property name="wrap-mode">word-char</property>
266 <property name="xalign">0</property>
267 </object>
268 </child>
269 <child>
270 <object class="GtkEntry" id="filter_file_type_entry">
271 <property name="halign">end</property>
272 <property name="max-width-chars">26</property>
273 <property name="tooltip-text" translatable="yes">File type, e.g. flac wav or !mp3 !m4a</property>
274 <property name="valign">center</property>
275 <property name="visible">True</property>
276 <property name="width-chars">8</property>
277 </object>
278 </child>
279 </object>
280 </child>
281 <child>
282 <object class="GtkBox">
283 <property name="homogeneous">True</property>
284 <property name="spacing">12</property>
285 <property name="visible">True</property>
286 <child>
287 <object class="GtkLabel">
288 <property name="label" translatable="yes">Size:</property>
289 <property name="mnemonic-widget">filter_file_size_entry</property>
290 <property name="visible">True</property>
291 <property name="wrap">True</property>
292 <property name="wrap-mode">word-char</property>
293 <property name="xalign">0</property>
294 </object>
295 </child>
296 <child>
297 <object class="GtkEntry" id="filter_file_size_entry">
298 <property name="halign">end</property>
299 <property name="max-width-chars">26</property>
300 <property name="tooltip-text" translatable="yes">File size, e.g. &gt;10.5m &lt;1g</property>
301 <property name="valign">center</property>
302 <property name="visible">True</property>
303 <property name="width-chars">8</property>
304 </object>
305 </child>
306 </object>
307 </child>
308 <child>
309 <object class="GtkBox">
310 <property name="homogeneous">True</property>
311 <property name="spacing">12</property>
312 <property name="visible">True</property>
313 <child>
314 <object class="GtkLabel">
315 <property name="label" translatable="yes">Bitrate:</property>
316 <property name="mnemonic-widget">filter_bitrate_entry</property>
317 <property name="visible">True</property>
318 <property name="wrap">True</property>
319 <property name="wrap-mode">word-char</property>
320 <property name="xalign">0</property>
321 </object>
322 </child>
323 <child>
324 <object class="GtkEntry" id="filter_bitrate_entry">
325 <property name="halign">end</property>
326 <property name="max-width-chars">26</property>
327 <property name="tooltip-text" translatable="yes">Bitrate, e.g. 256 &lt;1412</property>
328 <property name="valign">center</property>
329 <property name="visible">True</property>
330 <property name="width-chars">8</property>
331 </object>
332 </child>
333 </object>
334 </child>
335 <child>
336 <object class="GtkBox">
337 <property name="homogeneous">True</property>
338 <property name="spacing">12</property>
339 <property name="visible">True</property>
340 <child>
341 <object class="GtkLabel">
342 <property name="label" translatable="yes">Duration:</property>
343 <property name="mnemonic-widget">filter_length_entry</property>
344 <property name="visible">True</property>
345 <property name="wrap">True</property>
346 <property name="wrap-mode">word-char</property>
347 <property name="xalign">0</property>
348 </object>
349 </child>
350 <child>
351 <object class="GtkEntry" id="filter_length_entry">
352 <property name="halign">end</property>
353 <property name="max-width-chars">26</property>
354 <property name="tooltip-text" translatable="yes">Duration, e.g. &gt;6:00 &lt;12:00 !6:54</property>
355 <property name="valign">center</property>
356 <property name="visible">True</property>
357 <property name="width-chars">8</property>
358 </object>
359 </child>
360 </object>
361 </child>
362 <child>
363 <object class="GtkBox">
364 <property name="homogeneous">True</property>
365 <property name="spacing">12</property>
366 <property name="visible">True</property>
367 <child>
368 <object class="GtkLabel">
369 <property name="label" translatable="yes">Country Code:</property>
370 <property name="mnemonic-widget">filter_country_entry</property>
371 <property name="visible">True</property>
372 <property name="wrap">True</property>
373 <property name="wrap-mode">word-char</property>
374 <property name="xalign">0</property>
375 </object>
376 </child>
377 <child>
378 <object class="GtkEntry" id="filter_country_entry">
379 <property name="halign">end</property>
380 <property name="max-width-chars">26</property>
381 <property name="tooltip-text" translatable="yes">Country code, e.g. US ES or !DE !GB</property>
382 <property name="valign">center</property>
383 <property name="visible">True</property>
384 <property name="width-chars">8</property>
385 </object>
386 </child>
387 </object>
388 </child>
389 <child>
390 <object class="GtkBox">
391 <property name="spacing">12</property>
392 <property name="visible">True</property>
393 <child>
394 <object class="GtkLabel">
395 <property name="height-request">24</property>
396 <property name="hexpand">True</property>
397 <property name="label" translatable="yes">Free Slot</property>
398 <property name="mnemonic-widget">filter_free_slot_toggle</property>
399 <property name="visible">True</property>
400 <property name="wrap">True</property>
401 <property name="wrap-mode">word-char</property>
402 <property name="xalign">0</property>
403 </object>
404 </child>
405 <child>
406 <object class="GtkSwitch" id="filter_free_slot_toggle">
407 <property name="tooltip-text" translatable="yes">Only show results from users with an available upload slot.</property>
408 <property name="valign">center</property>
409 <property name="visible">True</property>
410 </object>
411 </child>
412 </object>
413 </child>
414 </object>
415 </child>
416 </object>
417 </child>
418 </object>
419 </child>
420 </object>
421 </child>
422 <child>
423 <object class="GtkBox">
424 <property name="orientation">vertical</property>
425 <property name="spacing">12</property>
426 <property name="visible">True</property>
427 <child>
428 <object class="GtkLabel">
429 <property name="halign">start</property>
430 <property name="label" translatable="yes">Network Searches</property>
431 <property name="selectable">True</property>
432 <property name="visible">True</property>
433 <property name="wrap">True</property>
434 <property name="xalign">0</property>
435 <style>
436 <class name="heading"/>
437 </style>
438 </object>
439 </child>
440 <child>
441 <object class="GtkBox">
442 <property name="orientation">vertical</property>
443 <property name="visible">True</property>
444 <child>
445 <object class="GtkBox">
446 <property name="spacing">12</property>
447 <property name="visible">True</property>
448 <child>
449 <object class="GtkLabel">
450 <property name="height-request">24</property>
451 <property name="hexpand">True</property>
452 <property name="label" translatable="yes">Respond to search requests from other users</property>
453 <property name="mnemonic-widget">repond_search_requests_toggle</property>
454 <property name="visible">True</property>
455 <property name="wrap">True</property>
456 <property name="wrap-mode">word-char</property>
457 <property name="xalign">0</property>
458 </object>
459 </child>
460 <child>
461 <object class="GtkSwitch" id="repond_search_requests_toggle">
462 <property name="valign">center</property>
463 <property name="visible">True</property>
464 </object>
465 </child>
466 </object>
467 </child>
468 <child>
469 <object class="GtkRevealer">
470 <property name="reveal-child" bind-source="repond_search_requests_toggle" bind-property="active" bind-flags="bidirectional|sync-create"/>
471 <property name="transition-type">slide-down</property>
472 <property name="visible">True</property>
473 <child>
474 <object class="GtkBox">
475 <property name="orientation">vertical</property>
476 <property name="spacing">12</property>
477 <property name="visible">True</property>
478 <child>
479 <object class="GtkBox">
480 <property name="margin-top">18</property>
481 <property name="spacing">12</property>
482 <property name="visible">True</property>
483 <child>
484 <object class="GtkLabel">
485 <property name="hexpand">True</property>
486 <property name="label" translatable="yes">Searches shorter than this number of characters will be ignored:</property>
487 <property name="mnemonic-widget">min_search_term_length_spinner</property>
488 <property name="visible">True</property>
489 <property name="wrap">True</property>
490 <property name="wrap-mode">word-char</property>
491 <property name="xalign">0</property>
492 </object>
493 </child>
494 <child>
495 <object class="GtkSpinButton" id="min_search_term_length_spinner">
496 <property name="adjustment">_min_search_term_length_adjustment</property>
497 <property name="numeric">True</property>
498 <property name="valign">center</property>
499 <property name="visible">True</property>
500 </object>
501 </child>
502 </object>
503 </child>
504 <child>
505 <object class="GtkBox">
506 <property name="spacing">12</property>
507 <property name="visible">True</property>
508 <child>
509 <object class="GtkLabel">
510 <property name="hexpand">True</property>
511 <property name="label" translatable="yes">Maximum search results to send per search request:</property>
512 <property name="mnemonic-widget">max_sent_results_spinner</property>
513 <property name="visible">True</property>
514 <property name="wrap">True</property>
515 <property name="wrap-mode">word-char</property>
516 <property name="xalign">0</property>
517 </object>
518 </child>
519 <child>
520 <object class="GtkSpinButton" id="max_sent_results_spinner">
521 <property name="adjustment">_max_sent_results_adjustment</property>
522 <property name="numeric">True</property>
523 <property name="valign">center</property>
524 <property name="visible">True</property>
525 </object>
526 </child>
527 </object>
528 </child>
529 </object>
530 </child>
531 </object>
532 </child>
533 </object>
534 </child>
535 </object>
536 </child>
537 <child>
538 <object class="GtkBox">
539 <property name="halign">center</property>
540 <property name="homogeneous">True</property>
541 <property name="spacing">6</property>
542 <property name="valign">end</property>
543 <property name="vexpand">True</property>
544 <property name="visible">True</property>
545 <child>
546 <object class="GtkButton" id="_clear_search_history_button">
547 <property name="halign">center</property>
548 <property name="height-request">30</property>
549 <property name="visible">True</property>
550 <signal name="clicked" handler="on_clear_search_history"/>
551 <child>
552 <object class="GtkBox">
553 <property name="margin-end">12</property>
554 <property name="margin-start">12</property>
555 <property name="spacing">6</property>
556 <property name="visible">True</property>
557 <child>
558 <object class="GtkStack">
559 <property name="transition-type">crossfade</property>
560 <property name="visible">True</property>
561 <child>
562 <object class="GtkImage" id="clear_search_history_icon">
563 <property name="icon-name">edit-clear-symbolic</property>
564 <property name="visible">True</property>
565 </object>
566 </child>
567 <child>
568 <object class="GtkImage" id="clear_search_history_success_icon">
569 <property name="icon-name">object-select-symbolic</property>
570 <property name="visible">True</property>
571 </object>
572 </child>
573 </object>
574 </child>
575 <child>
576 <object class="GtkLabel">
577 <property name="ellipsize">end</property>
578 <property name="label" translatable="yes">Clear Search History</property>
579 <property name="mnemonic-widget">_clear_search_history_button</property>
580 <property name="visible">True</property>
581 <property name="xalign">0</property>
582 </object>
583 </child>
584 </object>
585 </child>
586 <style>
587 <class name="circular"/>
588 <class name="destructive-action"/>
589 <class name="image-text-button"/>
590 </style>
591 </object>
592 </child>
593 <child>
594 <object class="GtkButton" id="_clear_filter_history_button">
595 <property name="halign">center</property>
596 <property name="height-request">30</property>
597 <property name="visible">True</property>
598 <signal name="clicked" handler="on_clear_filter_history"/>
599 <child>
600 <object class="GtkBox">
601 <property name="margin-end">12</property>
602 <property name="margin-start">12</property>
603 <property name="spacing">6</property>
604 <property name="visible">True</property>
605 <child>
606 <object class="GtkStack">
607 <property name="transition-type">crossfade</property>
608 <property name="visible">True</property>
609 <child>
610 <object class="GtkImage" id="clear_filter_history_icon">
611 <property name="icon-name">edit-clear-symbolic</property>
612 <property name="visible">True</property>
613 </object>
614 </child>
615 <child>
616 <object class="GtkImage" id="clear_filter_history_success_icon">
617 <property name="icon-name">object-select-symbolic</property>
618 <property name="visible">True</property>
619 </object>
620 </child>
621 </object>
622 </child>
623 <child>
624 <object class="GtkLabel">
625 <property name="ellipsize">end</property>
626 <property name="label" translatable="yes">Clear Filter History</property>
627 <property name="mnemonic-widget">_clear_filter_history_button</property>
628 <property name="visible">True</property>
629 <property name="xalign">0</property>
630 </object>
631 </child>
632 </object>
633 </child>
634 <style>
635 <class name="circular"/>
636 <class name="destructive-action"/>
637 <class name="image-text-button"/>
638 </style>
639 </object>
640 </child>
641 </object>
642 </child>
643 </object>
644 </interface>