Ticket #976: patch
File patch, 74.7 KB (added by rohan013, 10 years ago) |
---|
-
deluge/ui/gtkui/glade/preferences_dialog.ui
diff --git a/deluge/ui/gtkui/glade/preferences_dialog.ui b/deluge/ui/gtkui/glade/preferences_dialog.ui index 5dcbf5c..efdc34f 100644
a b 344 344 <child> 345 345 <object class="GtkButton" id="button_cancel"> 346 346 <property name="label">gtk-cancel</property> 347 <property name="use_action_appearance">False</property>348 347 <property name="visible">True</property> 349 348 <property name="can_focus">True</property> 350 349 <property name="receives_default">True</property> 350 <property name="use_action_appearance">False</property> 351 351 <property name="use_stock">True</property> 352 352 <signal name="clicked" handler="on_button_cancel_clicked" swapped="no"/> 353 353 </object> … … 360 360 <child> 361 361 <object class="GtkButton" id="button_apply"> 362 362 <property name="label">gtk-apply</property> 363 <property name="use_action_appearance">False</property>364 363 <property name="visible">True</property> 365 364 <property name="can_focus">True</property> 366 365 <property name="receives_default">True</property> 366 <property name="use_action_appearance">False</property> 367 367 <property name="use_stock">True</property> 368 368 <signal name="clicked" handler="on_button_apply_clicked" swapped="no"/> 369 369 </object> … … 376 376 <child> 377 377 <object class="GtkButton" id="button_ok"> 378 378 <property name="label">gtk-ok</property> 379 <property name="use_action_appearance">False</property>380 379 <property name="visible">True</property> 381 380 <property name="can_focus">True</property> 382 381 <property name="receives_default">True</property> 382 <property name="use_action_appearance">False</property> 383 383 <property name="use_stock">True</property> 384 384 <signal name="clicked" handler="on_button_ok_clicked" swapped="no"/> 385 385 </object> … … 489 489 <child> 490 490 <object class="GtkCheckButton" id="chk_move_completed"> 491 491 <property name="label" translatable="yes">Move completed to:</property> 492 <property name="use_action_appearance">False</property>493 492 <property name="visible">True</property> 494 493 <property name="can_focus">True</property> 495 494 <property name="receives_default">False</property> 495 <property name="use_action_appearance">False</property> 496 496 <property name="draw_indicator">True</property> 497 497 <signal name="toggled" handler="on_toggle" swapped="no"/> 498 498 </object> … … 505 505 <child> 506 506 <object class="GtkCheckButton" id="chk_copy_torrent_file"> 507 507 <property name="label" translatable="yes">Copy of .torrent files to:</property> 508 <property name="use_action_appearance">False</property>509 508 <property name="visible">True</property> 510 509 <property name="can_focus">True</property> 511 510 <property name="receives_default">False</property> 511 <property name="use_action_appearance">False</property> 512 512 <property name="draw_indicator">True</property> 513 513 <signal name="toggled" handler="on_toggle" swapped="no"/> 514 514 </object> … … 521 521 <child> 522 522 <object class="GtkCheckButton" id="chk_del_copy_torrent_file"> 523 523 <property name="label" translatable="yes">Delete copy of torrent file on remove</property> 524 <property name="use_action_appearance">False</property>525 524 <property name="visible">True</property> 526 525 <property name="can_focus">True</property> 527 526 <property name="receives_default">False</property> 528 527 <property name="tooltip_text" translatable="yes">Delete the copy of the torrent file created when the torrent is removed</property> 528 <property name="use_action_appearance">False</property> 529 529 <property name="draw_indicator">True</property> 530 530 </object> 531 531 <packing> … … 722 722 <child> 723 723 <object class="GtkRadioButton" id="radio_full_allocation"> 724 724 <property name="label" translatable="yes">Use Full Allocation</property> 725 <property name="use_action_appearance">False</property>726 725 <property name="visible">True</property> 727 726 <property name="can_focus">True</property> 728 727 <property name="receives_default">False</property> 729 728 <property name="tooltip_text" translatable="yes">Full allocation preallocates all of the space that is needed for the torrent and prevents disk fragmentation</property> 729 <property name="use_action_appearance">False</property> 730 730 <property name="active">True</property> 731 731 <property name="draw_indicator">True</property> 732 732 <signal name="toggled" handler="on_alocation_toggled" swapped="no"/> … … 740 740 <child> 741 741 <object class="GtkRadioButton" id="radio_compact_allocation"> 742 742 <property name="label" translatable="yes">Use Compact Allocation</property> 743 <property name="use_action_appearance">False</property>744 743 <property name="visible">True</property> 745 744 <property name="can_focus">True</property> 746 745 <property name="receives_default">False</property> 747 746 <property name="tooltip_text" translatable="yes">Compact allocation only allocates space as needed</property> 747 <property name="use_action_appearance">False</property> 748 748 <property name="draw_indicator">True</property> 749 749 <property name="group">radio_full_allocation</property> 750 750 <signal name="toggled" handler="on_alocation_toggled" swapped="no"/> … … 795 795 <child> 796 796 <object class="GtkCheckButton" id="chk_prioritize_first_last_pieces"> 797 797 <property name="label" translatable="yes">Prioritize first and last pieces of torrent</property> 798 <property name="use_action_appearance">False</property>799 798 <property name="visible">True</property> 800 799 <property name="can_focus">True</property> 801 800 <property name="receives_default">False</property> 802 801 <property name="tooltip_text" translatable="yes">Prioritize first and last pieces of files in torrent</property> 802 <property name="use_action_appearance">False</property> 803 803 <property name="draw_indicator">True</property> 804 804 </object> 805 805 <packing> … … 811 811 <child> 812 812 <object class="GtkCheckButton" id="chk_sequential_download"> 813 813 <property name="label" translatable="yes">Sequential download</property> 814 <property name="use_action_appearance">False</property>815 814 <property name="visible">True</property> 816 815 <property name="can_focus">True</property> 817 816 <property name="receives_default">False</property> … … sequence instead of rarest first. 821 820 Enabling sequential download will affect the piece 822 821 distribution negatively in the swarm. It should be 823 822 used sparingly.</property> 823 <property name="use_action_appearance">False</property> 824 824 <property name="draw_indicator">True</property> 825 825 </object> 826 826 <packing> … … used sparingly.</property> 832 832 <child> 833 833 <object class="GtkCheckButton" id="chk_add_paused"> 834 834 <property name="label" translatable="yes">Add torrents in Paused state</property> 835 <property name="use_action_appearance">False</property>836 835 <property name="visible">True</property> 837 836 <property name="can_focus">True</property> 838 837 <property name="receives_default">False</property> 838 <property name="use_action_appearance">False</property> 839 839 <property name="draw_indicator">True</property> 840 840 </object> 841 841 <packing> … … used sparingly.</property> 948 948 <child> 949 949 <object class="GtkCheckButton" id="chk_random_port"> 950 950 <property name="label" translatable="yes">Use Random Ports</property> 951 <property name="use_action_appearance">False</property>952 951 <property name="visible">True</property> 953 952 <property name="can_focus">True</property> 954 953 <property name="receives_default">False</property> 955 954 <property name="tooltip_text" translatable="yes">Deluge will automatically choose a different port to use every time.</property> 955 <property name="use_action_appearance">False</property> 956 956 <property name="draw_indicator">True</property> 957 957 <signal name="toggled" handler="on_toggle" swapped="no"/> 958 958 </object> … … used sparingly.</property> 1091 1091 <child> 1092 1092 <object class="GtkButton" id="btn_testport"> 1093 1093 <property name="label" translatable="yes">Test Active Port</property> 1094 <property name="use_action_appearance">False</property>1095 1094 <property name="visible">True</property> 1096 1095 <property name="can_focus">True</property> 1097 1096 <property name="receives_default">True</property> 1097 <property name="use_action_appearance">False</property> 1098 1098 <signal name="clicked" handler="on_test_port_clicked" swapped="no"/> 1099 1099 </object> 1100 1100 <packing> … … used sparingly.</property> 1169 1169 <child> 1170 1170 <object class="GtkCheckButton" id="chk_random_outgoing_ports"> 1171 1171 <property name="label" translatable="yes">Use Random Ports</property> 1172 <property name="use_action_appearance">False</property>1173 1172 <property name="visible">True</property> 1174 1173 <property name="can_focus">True</property> 1175 1174 <property name="receives_default">False</property> 1175 <property name="use_action_appearance">False</property> 1176 1176 <property name="draw_indicator">True</property> 1177 1177 <signal name="toggled" handler="on_toggle" swapped="no"/> 1178 1178 </object> … … used sparingly.</property> 1445 1445 <child> 1446 1446 <object class="GtkCheckButton" id="chk_upnp"> 1447 1447 <property name="label" translatable="yes">UPnP</property> 1448 <property name="use_action_appearance">False</property>1449 1448 <property name="visible">True</property> 1450 1449 <property name="can_focus">True</property> 1451 1450 <property name="receives_default">False</property> 1452 1451 <property name="tooltip_text" translatable="yes">Universal Plug and Play</property> 1452 <property name="use_action_appearance">False</property> 1453 1453 <property name="use_underline">True</property> 1454 1454 <property name="active">True</property> 1455 1455 <property name="draw_indicator">True</property> … … used sparingly.</property> 1461 1461 <child> 1462 1462 <object class="GtkCheckButton" id="chk_natpmp"> 1463 1463 <property name="label" translatable="yes">NAT-PMP</property> 1464 <property name="use_action_appearance">False</property>1465 1464 <property name="visible">True</property> 1466 1465 <property name="can_focus">True</property> 1467 1466 <property name="receives_default">False</property> 1468 1467 <property name="tooltip_text" translatable="yes">NAT Port Mapping Protocol</property> 1468 <property name="use_action_appearance">False</property> 1469 1469 <property name="use_underline">True</property> 1470 1470 <property name="active">True</property> 1471 1471 <property name="draw_indicator">True</property> … … used sparingly.</property> 1479 1479 <child> 1480 1480 <object class="GtkCheckButton" id="chk_utpex"> 1481 1481 <property name="label" translatable="yes">Peer Exchange</property> 1482 <property name="use_action_appearance">False</property>1483 1482 <property name="visible">True</property> 1484 1483 <property name="can_focus">True</property> 1485 1484 <property name="receives_default">False</property> 1486 1485 <property name="tooltip_text" translatable="yes">Peer Exchange</property> 1486 <property name="use_action_appearance">False</property> 1487 1487 <property name="use_underline">True</property> 1488 1488 <property name="active">True</property> 1489 1489 <property name="draw_indicator">True</property> … … used sparingly.</property> 1497 1497 <child> 1498 1498 <object class="GtkCheckButton" id="chk_lsd"> 1499 1499 <property name="label" translatable="yes">LSD</property> 1500 <property name="use_action_appearance">False</property>1501 1500 <property name="visible">True</property> 1502 1501 <property name="can_focus">True</property> 1503 1502 <property name="receives_default">False</property> 1504 1503 <property name="tooltip_text" translatable="yes">Local Service Discovery finds local peers on your network.</property> 1504 <property name="use_action_appearance">False</property> 1505 1505 <property name="draw_indicator">True</property> 1506 1506 </object> 1507 1507 <packing> … … used sparingly.</property> 1513 1513 <child> 1514 1514 <object class="GtkCheckButton" id="chk_dht"> 1515 1515 <property name="label" translatable="yes">DHT</property> 1516 <property name="use_action_appearance">False</property>1517 1516 <property name="visible">True</property> 1518 1517 <property name="can_focus">True</property> 1519 1518 <property name="receives_default">False</property> 1520 1519 <property name="tooltip_text" translatable="yes">Distributed hash table may improve the amount of active connections.</property> 1520 <property name="use_action_appearance">False</property> 1521 1521 <property name="use_underline">True</property> 1522 1522 <property name="draw_indicator">True</property> 1523 1523 </object> … … used sparingly.</property> 1703 1703 <child> 1704 1704 <object class="GtkCheckButton" id="chk_pref_rc4"> 1705 1705 <property name="label" translatable="yes">Encrypt entire stream</property> 1706 <property name="use_action_appearance">False</property>1707 1706 <property name="visible">True</property> 1708 1707 <property name="can_focus">True</property> 1709 1708 <property name="receives_default">False</property> 1709 <property name="use_action_appearance">False</property> 1710 1710 <property name="use_underline">True</property> 1711 1711 <property name="draw_indicator">True</property> 1712 1712 </object> … … used sparingly.</property> 2065 2065 <child> 2066 2066 <object class="GtkCheckButton" id="chk_ignore_limits_on_local_network"> 2067 2067 <property name="label" translatable="yes">Ignore limits on local network</property> 2068 <property name="use_action_appearance">False</property>2069 2068 <property name="visible">True</property> 2070 2069 <property name="can_focus">True</property> 2071 2070 <property name="receives_default">False</property> 2071 <property name="use_action_appearance">False</property> 2072 2072 <property name="active">True</property> 2073 2073 <property name="draw_indicator">True</property> 2074 2074 </object> … … used sparingly.</property> 2088 2088 <child> 2089 2089 <object class="GtkCheckButton" id="chk_rate_limit_ip_overhead"> 2090 2090 <property name="label" translatable="yes">Rate limit IP overhead</property> 2091 <property name="use_action_appearance">False</property>2092 2091 <property name="visible">True</property> 2093 2092 <property name="can_focus">True</property> 2094 2093 <property name="receives_default">False</property> 2095 2094 <property name="tooltip_text" translatable="yes">If checked, the estimated TCP/IP overhead is drained from the rate limiters, to avoid exceeding the limits with the total traffic</property> 2095 <property name="use_action_appearance">False</property> 2096 2096 <property name="active">True</property> 2097 2097 <property name="draw_indicator">True</property> 2098 2098 </object> … … used sparingly.</property> 2386 2386 <child> 2387 2387 <object class="GtkCheckButton" id="chk_classic_mode"> 2388 2388 <property name="label" translatable="yes">Enable</property> 2389 <property name="use_action_appearance">False</property>2390 2389 <property name="visible">True</property> 2391 2390 <property name="can_focus">True</property> 2392 2391 <property name="receives_default">False</property> 2393 2392 <property name="tooltip_text" translatable="yes">Classic Mode will hide most of the daemon functionality and will make Deluge appear to be a single application. Use this if you do not want to take advantage of running Deluge as a daemon. You need to restart Deluge for this setting to take effect.</property> 2393 <property name="use_action_appearance">False</property> 2394 2394 <property name="draw_indicator">True</property> 2395 2395 </object> 2396 2396 </child> … … used sparingly.</property> 2432 2432 <child> 2433 2433 <object class="GtkCheckButton" id="chk_show_rate_in_title"> 2434 2434 <property name="label" translatable="yes">Show session speed in titlebar</property> 2435 <property name="use_action_appearance">False</property>2436 2435 <property name="visible">True</property> 2437 2436 <property name="can_focus">True</property> 2438 2437 <property name="receives_default">False</property> 2438 <property name="use_action_appearance">False</property> 2439 2439 <property name="draw_indicator">True</property> 2440 2440 </object> 2441 2441 <packing> … … used sparingly.</property> 2447 2447 <child> 2448 2448 <object class="GtkCheckButton" id="chk_focus_main_window_on_add"> 2449 2449 <property name="label" translatable="yes">Focus window when adding torrent</property> 2450 <property name="use_action_appearance">False</property>2451 2450 <property name="visible">True</property> 2452 2451 <property name="can_focus">True</property> 2453 2452 <property name="receives_default">False</property> 2454 2453 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> 2454 <property name="use_action_appearance">False</property> 2455 2455 <property name="draw_indicator">True</property> 2456 2456 </object> 2457 2457 <packing> … … used sparingly.</property> 2461 2461 </packing> 2462 2462 </child> 2463 2463 <child> 2464 <object class="GtkCheckButton" id="piecesbar_toggle"> 2465 <property name="visible">True</property> 2466 <property name="can_focus">True</property> 2467 <property name="receives_default">False</property> 2468 <property name="tooltip_text" translatable="yes">Besides being experimental, using the pieces bar 2469 will increase the bandwidth used between client 2470 and daemon(does not apply in classic mode). 2471 Use at your own risk if you wish to help us debug 2472 this new feature.</property> 2473 <property name="use_action_appearance">False</property> 2474 <property name="draw_indicator">True</property> 2475 <signal name="toggled" handler="on_piecesbar_toggle_toggled" swapped="no"/> 2476 <child> 2477 <object class="GtkLabel" id="label62"> 2478 <property name="visible">True</property> 2479 <property name="can_focus">False</property> 2480 <property name="label" translatable="yes">Show a pieces bar in the torrent's 2481 status tab (<b>EXPERIMENTAL!!!</b>)</property> 2482 <property name="use_markup">True</property> 2483 </object> 2484 </child> 2485 </object> 2486 <packing> 2487 <property name="expand">True</property> 2488 <property name="fill">True</property> 2489 <property name="position">2</property> 2490 </packing> 2491 </child> 2492 <child> 2464 2493 <object class="GtkExpander" id="piecebar_colors_expander"> 2465 2494 <property name="can_focus">True</property> 2466 2495 <child> … … used sparingly.</property> 2489 2518 </child> 2490 2519 <child> 2491 2520 <object class="GtkColorButton" id="completed_color"> 2492 <property name="use_action_appearance">False</property>2493 2521 <property name="visible">True</property> 2494 2522 <property name="can_focus">True</property> 2495 2523 <property name="receives_default">True</property> 2524 <property name="use_action_appearance">False</property> 2496 2525 <property name="xalign">0</property> 2497 2526 <property name="color">#000000000000</property> 2498 2527 <signal name="color-set" handler="on_completed_color_set" swapped="no"/> … … used sparingly.</property> 2518 2547 </child> 2519 2548 <child> 2520 2549 <object class="GtkColorButton" id="downloading_color"> 2521 <property name="use_action_appearance">False</property>2522 2550 <property name="visible">True</property> 2523 2551 <property name="can_focus">True</property> 2524 2552 <property name="receives_default">True</property> 2553 <property name="use_action_appearance">False</property> 2525 2554 <property name="xalign">0</property> 2526 2555 <property name="color">#000000000000</property> 2527 2556 <signal name="color-set" handler="on_downloading_color_set" swapped="no"/> … … used sparingly.</property> 2549 2578 </child> 2550 2579 <child> 2551 2580 <object class="GtkColorButton" id="waiting_color"> 2552 <property name="use_action_appearance">False</property>2553 2581 <property name="visible">True</property> 2554 2582 <property name="can_focus">True</property> 2555 2583 <property name="receives_default">True</property> 2584 <property name="use_action_appearance">False</property> 2556 2585 <property name="xalign">0</property> 2557 2586 <property name="color">#000000000000</property> 2558 2587 <signal name="color-set" handler="on_waiting_color_set" swapped="no"/> … … used sparingly.</property> 2580 2609 </child> 2581 2610 <child> 2582 2611 <object class="GtkColorButton" id="missing_color"> 2583 <property name="use_action_appearance">False</property>2584 2612 <property name="visible">True</property> 2585 2613 <property name="can_focus">True</property> 2586 2614 <property name="receives_default">True</property> 2615 <property name="use_action_appearance">False</property> 2587 2616 <property name="xalign">0</property> 2588 2617 <property name="color">#000000000000</property> 2589 2618 <signal name="color-set" handler="on_missing_color_set" swapped="no"/> … … used sparingly.</property> 2599 2628 <child> 2600 2629 <object class="GtkButton" id="revert_color_completed"> 2601 2630 <property name="label">gtk-revert-to-saved</property> 2602 <property name="use_action_appearance">False</property>2603 2631 <property name="visible">True</property> 2604 2632 <property name="sensitive">False</property> 2605 2633 <property name="can_focus">True</property> 2606 2634 <property name="receives_default">True</property> 2607 2635 <property name="tooltip_text" translatable="yes">Revert color to default</property> 2636 <property name="use_action_appearance">False</property> 2608 2637 <property name="use_stock">True</property> 2609 2638 <property name="image_position">right</property> 2610 2639 <signal name="clicked" handler="on_revert_color_completed_clicked" swapped="no"/> … … used sparingly.</property> 2618 2647 <child> 2619 2648 <object class="GtkButton" id="revert_color_downloading"> 2620 2649 <property name="label">gtk-revert-to-saved</property> 2621 <property name="use_action_appearance">False</property>2622 2650 <property name="visible">True</property> 2623 2651 <property name="sensitive">False</property> 2624 2652 <property name="can_focus">True</property> 2625 2653 <property name="receives_default">True</property> 2626 2654 <property name="tooltip_text" translatable="yes">Revert color to default</property> 2655 <property name="use_action_appearance">False</property> 2627 2656 <property name="use_stock">True</property> 2628 2657 <property name="image_position">right</property> 2629 2658 <signal name="clicked" handler="on_revert_color_downloading_clicked" swapped="no"/> … … used sparingly.</property> 2639 2668 <child> 2640 2669 <object class="GtkButton" id="revert_color_waiting"> 2641 2670 <property name="label">gtk-revert-to-saved</property> 2642 <property name="use_action_appearance">False</property>2643 2671 <property name="visible">True</property> 2644 2672 <property name="sensitive">False</property> 2645 2673 <property name="can_focus">True</property> 2646 2674 <property name="receives_default">True</property> 2647 2675 <property name="tooltip_text" translatable="yes">Revert color to default</property> 2676 <property name="use_action_appearance">False</property> 2648 2677 <property name="use_stock">True</property> 2649 2678 <property name="image_position">right</property> 2650 2679 <signal name="clicked" handler="on_revert_color_waiting_clicked" swapped="no"/> … … used sparingly.</property> 2660 2689 <child> 2661 2690 <object class="GtkButton" id="revert_color_missing"> 2662 2691 <property name="label">gtk-revert-to-saved</property> 2663 <property name="use_action_appearance">False</property>2664 2692 <property name="visible">True</property> 2665 2693 <property name="sensitive">False</property> 2666 2694 <property name="can_focus">True</property> 2667 2695 <property name="receives_default">True</property> 2668 2696 <property name="tooltip_text" translatable="yes">Revert color to default</property> 2697 <property name="use_action_appearance">False</property> 2669 2698 <property name="use_stock">True</property> 2670 2699 <property name="image_position">right</property> 2671 2700 <signal name="clicked" handler="on_revert_color_missing_clicked" swapped="no"/> … … used sparingly.</property> 2696 2725 <property name="position">2</property> 2697 2726 </packing> 2698 2727 </child> 2699 <child>2700 <object class="GtkCheckButton" id="piecesbar_toggle">2701 <property name="use_action_appearance">False</property>2702 <property name="visible">True</property>2703 <property name="can_focus">True</property>2704 <property name="receives_default">False</property>2705 <property name="tooltip_text" translatable="yes">Besides being experimental, using the pieces bar2706 will increase the bandwidth used between client2707 and daemon(does not apply in classic mode).2708 Use at your own risk if you wish to help us debug2709 this new feature.</property>2710 <property name="draw_indicator">True</property>2711 <signal name="toggled" handler="on_piecesbar_toggle_toggled" swapped="no"/>2712 <child>2713 <object class="GtkLabel" id="label62">2714 <property name="visible">True</property>2715 <property name="can_focus">False</property>2716 <property name="label" translatable="yes">Show a pieces bar in the torrent's2717 status tab (<b>EXPERIMENTAL!!!</b>)</property>2718 <property name="use_markup">True</property>2719 </object>2720 </child>2721 </object>2722 <packing>2723 <property name="expand">True</property>2724 <property name="fill">True</property>2725 <property name="position">2</property>2726 </packing>2727 </child>2728 2728 </object> 2729 2729 </child> 2730 2730 </object> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 2765 2765 <child> 2766 2766 <object class="GtkCheckButton" id="chk_show_dialog"> 2767 2767 <property name="label" translatable="yes">Always show</property> 2768 <property name="use_action_appearance">False</property>2769 2768 <property name="visible">True</property> 2770 2769 <property name="can_focus">True</property> 2771 2770 <property name="receives_default">False</property> 2771 <property name="use_action_appearance">False</property> 2772 2772 <property name="draw_indicator">True</property> 2773 2773 <signal name="toggled" handler="on_toggle" swapped="no"/> 2774 2774 </object> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 2785 2785 <child> 2786 2786 <object class="GtkCheckButton" id="chk_focus_dialog"> 2787 2787 <property name="label" translatable="yes">Bring the dialog to focus</property> 2788 <property name="use_action_appearance">False</property>2789 2788 <property name="visible">True</property> 2790 2789 <property name="can_focus">True</property> 2791 2790 <property name="receives_default">False</property> 2791 <property name="use_action_appearance">False</property> 2792 2792 <property name="draw_indicator">True</property> 2793 2793 </object> 2794 2794 </child> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 2839 2839 <child> 2840 2840 <object class="GtkCheckButton" id="chk_use_tray"> 2841 2841 <property name="label" translatable="yes">Enable system tray icon</property> 2842 <property name="use_action_appearance">False</property>2843 2842 <property name="visible">True</property> 2844 2843 <property name="can_focus">False</property> 2845 2844 <property name="receives_default">False</property> 2845 <property name="use_action_appearance">False</property> 2846 2846 <property name="use_underline">True</property> 2847 2847 <property name="draw_indicator">True</property> 2848 2848 <signal name="toggled" handler="on_toggle" swapped="no"/> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 2861 2861 <child> 2862 2862 <object class="GtkCheckButton" id="chk_min_on_close"> 2863 2863 <property name="label" translatable="yes">Minimize to tray on close</property> 2864 <property name="use_action_appearance">False</property>2865 2864 <property name="visible">True</property> 2866 2865 <property name="sensitive">False</property> 2867 2866 <property name="can_focus">False</property> 2868 2867 <property name="receives_default">False</property> 2868 <property name="use_action_appearance">False</property> 2869 2869 <property name="use_underline">True</property> 2870 2870 <property name="draw_indicator">True</property> 2871 2871 </object> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 2878 2878 </packing> 2879 2879 </child> 2880 2880 <child> 2881 <object class="GtkAlignment" id="alignment11"> 2882 <property name="visible">True</property> 2883 <property name="can_focus">False</property> 2884 <property name="left_padding">10</property> 2885 <child> 2886 <object class="GtkCheckButton" id="chk_min_on_min"> 2887 <property name="label" translatable="yes">Minimize to tray on minimize</property> 2888 <property name="visible">True</property> 2889 <property name="sensitive">False</property> 2890 <property name="can_focus">True</property> 2891 <property name="receives_default">False</property> 2892 <property name="use_action_appearance">False</property> 2893 <property name="use_underline">True</property> 2894 <property name="draw_indicator">True</property> 2895 </object> 2896 </child> 2897 </object> 2898 <packing> 2899 <property name="expand">True</property> 2900 <property name="fill">True</property> 2901 <property name="position">2</property> 2902 </packing> 2903 </child> 2904 <child> 2881 2905 <object class="GtkAlignment" id="alignment16"> 2882 2906 <property name="visible">True</property> 2883 2907 <property name="can_focus">False</property> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 2885 2909 <child> 2886 2910 <object class="GtkCheckButton" id="chk_start_in_tray"> 2887 2911 <property name="label" translatable="yes">Start in tray</property> 2888 <property name="use_action_appearance">False</property>2889 2912 <property name="visible">True</property> 2890 2913 <property name="sensitive">False</property> 2891 2914 <property name="can_focus">False</property> 2892 2915 <property name="receives_default">False</property> 2916 <property name="use_action_appearance">False</property> 2893 2917 <property name="use_underline">True</property> 2894 2918 <property name="draw_indicator">True</property> 2895 2919 </object> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 2898 2922 <packing> 2899 2923 <property name="expand">True</property> 2900 2924 <property name="fill">True</property> 2901 <property name="position"> 2</property>2925 <property name="position">3</property> 2902 2926 </packing> 2903 2927 </child> 2904 2928 <child> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 2909 2933 <child> 2910 2934 <object class="GtkCheckButton" id="chk_enable_appindicator"> 2911 2935 <property name="label" translatable="yes">Enable Application Indicator</property> 2912 <property name="use_action_appearance">False</property>2913 2936 <property name="visible">True</property> 2914 2937 <property name="sensitive">False</property> 2915 2938 <property name="can_focus">False</property> 2916 2939 <property name="receives_default">False</property> 2940 <property name="use_action_appearance">False</property> 2917 2941 <property name="use_underline">True</property> 2918 2942 <property name="draw_indicator">True</property> 2919 2943 </object> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 2922 2946 <packing> 2923 2947 <property name="expand">True</property> 2924 2948 <property name="fill">True</property> 2925 <property name="position"> 3</property>2949 <property name="position">4</property> 2926 2950 </packing> 2927 2951 </child> 2928 2952 <child> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 2934 2958 <child> 2935 2959 <object class="GtkCheckButton" id="chk_lock_tray"> 2936 2960 <property name="label" translatable="yes">Password protect system tray</property> 2937 <property name="use_action_appearance">False</property>2938 2961 <property name="visible">True</property> 2939 2962 <property name="sensitive">False</property> 2940 2963 <property name="can_focus">True</property> 2941 2964 <property name="receives_default">False</property> 2965 <property name="use_action_appearance">False</property> 2942 2966 <property name="use_underline">True</property> 2943 2967 <property name="draw_indicator">True</property> 2944 2968 <signal name="toggled" handler="on_toggle" swapped="no"/> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 2948 2972 <packing> 2949 2973 <property name="expand">False</property> 2950 2974 <property name="fill">True</property> 2951 <property name="position"> 4</property>2975 <property name="position">5</property> 2952 2976 </packing> 2953 2977 </child> 2954 2978 <child> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 3001 3025 <packing> 3002 3026 <property name="expand">True</property> 3003 3027 <property name="fill">True</property> 3004 <property name="position"> 5</property>3028 <property name="position">6</property> 3005 3029 </packing> 3006 3030 </child> 3007 3031 </object> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 3110 3134 <child> 3111 3135 <object class="GtkCheckButton" id="chk_show_new_releases"> 3112 3136 <property name="label" translatable="yes">Be alerted about new releases</property> 3113 <property name="use_action_appearance">False</property>3114 3137 <property name="visible">True</property> 3115 3138 <property name="can_focus">True</property> 3116 3139 <property name="receives_default">False</property> 3117 3140 <property name="tooltip_text" translatable="yes">Deluge will check our servers and will tell you if a newer version has been released</property> 3141 <property name="use_action_appearance">False</property> 3118 3142 <property name="draw_indicator">True</property> 3119 3143 </object> 3120 3144 </child> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 3184 3208 <child> 3185 3209 <object class="GtkCheckButton" id="chk_send_info"> 3186 3210 <property name="label" translatable="yes">Yes, please send anonymous statistics</property> 3187 <property name="use_action_appearance">False</property>3188 3211 <property name="visible">True</property> 3189 3212 <property name="can_focus">True</property> 3190 3213 <property name="receives_default">False</property> 3214 <property name="use_action_appearance">False</property> 3191 3215 <property name="draw_indicator">True</property> 3192 3216 </object> 3193 3217 </child> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 3314 3338 <property name="layout_style">start</property> 3315 3339 <child> 3316 3340 <object class="GtkButton" id="button_associate_magnet"> 3317 <property name="use_action_appearance">False</property>3318 3341 <property name="visible">True</property> 3319 3342 <property name="can_focus">True</property> 3320 3343 <property name="receives_default">True</property> 3344 <property name="use_action_appearance">False</property> 3321 3345 <signal name="clicked" handler="on_button_associate_magnet_clicked" swapped="no"/> 3322 3346 <child> 3323 3347 <object class="GtkHBox" id="hbox16"> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 3521 3545 <child> 3522 3546 <object class="GtkCheckButton" id="chk_allow_remote_connections"> 3523 3547 <property name="label" translatable="yes">Allow Remote Connections</property> 3524 <property name="use_action_appearance">False</property>3525 3548 <property name="visible">True</property> 3526 3549 <property name="can_focus">True</property> 3527 3550 <property name="receives_default">False</property> 3551 <property name="use_action_appearance">False</property> 3528 3552 <property name="draw_indicator">True</property> 3529 3553 </object> 3530 3554 </child> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 3561 3585 <child> 3562 3586 <object class="GtkCheckButton" id="chk_new_releases"> 3563 3587 <property name="label" translatable="yes">Periodically check the website for new releases</property> 3564 <property name="use_action_appearance">False</property>3565 3588 <property name="visible">True</property> 3566 3589 <property name="can_focus">True</property> 3567 3590 <property name="receives_default">False</property> 3591 <property name="use_action_appearance">False</property> 3568 3592 <property name="draw_indicator">True</property> 3569 3593 </object> 3570 3594 </child> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 3622 3646 <child> 3623 3647 <object class="GtkButton" id="accounts_add"> 3624 3648 <property name="label">gtk-add</property> 3625 <property name="use_action_appearance">False</property>3626 3649 <property name="visible">True</property> 3627 3650 <property name="can_focus">True</property> 3628 3651 <property name="receives_default">True</property> 3652 <property name="use_action_appearance">False</property> 3629 3653 <property name="use_stock">True</property> 3630 3654 <signal name="clicked" handler="on_accounts_add_clicked" swapped="no"/> 3631 3655 </object> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 3638 3662 <child> 3639 3663 <object class="GtkButton" id="accounts_edit"> 3640 3664 <property name="label">gtk-edit</property> 3641 <property name="use_action_appearance">False</property>3642 3665 <property name="visible">True</property> 3643 3666 <property name="sensitive">False</property> 3644 3667 <property name="can_focus">True</property> 3645 3668 <property name="receives_default">True</property> 3669 <property name="use_action_appearance">False</property> 3646 3670 <property name="use_stock">True</property> 3647 3671 <signal name="clicked" handler="on_accounts_edit_clicked" swapped="no"/> 3648 3672 </object> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 3655 3679 <child> 3656 3680 <object class="GtkButton" id="accounts_delete"> 3657 3681 <property name="label">gtk-delete</property> 3658 <property name="use_action_appearance">False</property>3659 3682 <property name="visible">True</property> 3660 3683 <property name="sensitive">False</property> 3661 3684 <property name="can_focus">True</property> 3662 3685 <property name="receives_default">True</property> 3686 <property name="use_action_appearance">False</property> 3663 3687 <property name="use_stock">True</property> 3664 3688 <signal name="clicked" handler="on_accounts_delete_clicked" swapped="no"/> 3665 3689 </object> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 3786 3810 <child> 3787 3811 <object class="GtkCheckButton" id="chk_queue_new_top"> 3788 3812 <property name="label" translatable="yes">Queue new torrents to top</property> 3789 <property name="use_action_appearance">False</property>3790 3813 <property name="visible">True</property> 3791 3814 <property name="can_focus">True</property> 3792 3815 <property name="receives_default">False</property> 3816 <property name="use_action_appearance">False</property> 3793 3817 <property name="draw_indicator">True</property> 3794 3818 </object> 3795 3819 <packing> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 3949 3973 <child> 3950 3974 <object class="GtkCheckButton" id="chk_dont_count_slow_torrents"> 3951 3975 <property name="label" translatable="yes">Do not count slow torrents</property> 3952 <property name="use_action_appearance">False</property>3953 3976 <property name="visible">True</property> 3954 3977 <property name="can_focus">True</property> 3955 3978 <property name="receives_default">False</property> 3979 <property name="use_action_appearance">False</property> 3956 3980 <property name="draw_indicator">True</property> 3957 3981 </object> 3958 3982 <packing> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 3964 3988 <child> 3965 3989 <object class="GtkCheckButton" id="chk_auto_manage_prefer_seeds"> 3966 3990 <property name="label" translatable="yes">Prefer Seeding over Downloading</property> 3967 <property name="use_action_appearance">False</property>3968 3991 <property name="visible">True</property> 3969 3992 <property name="can_focus">True</property> 3970 3993 <property name="receives_default">False</property> 3994 <property name="use_action_appearance">False</property> 3971 3995 <property name="draw_indicator">True</property> 3972 3996 </object> 3973 3997 <packing> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 4131 4155 <child> 4132 4156 <object class="GtkCheckButton" id="chk_seed_ratio"> 4133 4157 <property name="label" translatable="yes">Stop seeding when share ratio reaches:</property> 4134 <property name="use_action_appearance">False</property>4135 4158 <property name="visible">True</property> 4136 4159 <property name="can_focus">True</property> 4137 4160 <property name="receives_default">False</property> 4161 <property name="use_action_appearance">False</property> 4138 4162 <property name="draw_indicator">True</property> 4139 4163 <signal name="toggled" handler="on_toggle" swapped="no"/> 4140 4164 </object> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 4179 4203 <child> 4180 4204 <object class="GtkCheckButton" id="chk_remove_ratio"> 4181 4205 <property name="label" translatable="yes">Remove torrent when share ratio reached</property> 4182 <property name="use_action_appearance">False</property>4183 4206 <property name="visible">True</property> 4184 4207 <property name="sensitive">False</property> 4185 4208 <property name="can_focus">True</property> 4186 4209 <property name="receives_default">False</property> 4210 <property name="use_action_appearance">False</property> 4187 4211 <property name="draw_indicator">True</property> 4188 4212 </object> 4189 4213 </child> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 5659 5683 <child> 5660 5684 <object class="GtkButton" id="button_cache_refresh"> 5661 5685 <property name="label">gtk-refresh</property> 5662 <property name="use_action_appearance">False</property>5663 5686 <property name="visible">True</property> 5664 5687 <property name="can_focus">True</property> 5665 5688 <property name="receives_default">True</property> 5689 <property name="use_action_appearance">False</property> 5666 5690 <property name="use_stock">True</property> 5667 5691 <signal name="clicked" handler="on_button_cache_refresh_clicked" swapped="no"/> 5668 5692 </object> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 5989 6013 <property name="layout_style">center</property> 5990 6014 <child> 5991 6015 <object class="GtkButton" id="button_plugin_install"> 5992 <property name="use_action_appearance">False</property>5993 6016 <property name="visible">True</property> 5994 6017 <property name="can_focus">True</property> 5995 6018 <property name="receives_default">True</property> 6019 <property name="use_action_appearance">False</property> 5996 6020 <signal name="clicked" handler="on_button_plugin_install_clicked" swapped="no"/> 5997 6021 <child> 5998 6022 <object class="GtkHBox" id="hbox17"> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 6036 6060 </child> 6037 6061 <child> 6038 6062 <object class="GtkButton" id="button_rescan_plugins"> 6039 <property name="use_action_appearance">False</property>6040 6063 <property name="visible">True</property> 6041 6064 <property name="can_focus">True</property> 6042 6065 <property name="receives_default">True</property> 6066 <property name="use_action_appearance">False</property> 6043 6067 <signal name="clicked" handler="on_button_rescan_plugins_clicked" swapped="no"/> 6044 6068 <child> 6045 6069 <object class="GtkHBox" id="hbox18"> … … status tab (<b>EXPERIMENTAL!!!</b>)</property> 6094 6118 <property name="can_focus">False</property> 6095 6119 <child> 6096 6120 <object class="GtkButton" id="button_find_plugins"> 6097 <property name="use_action_appearance">False</property>6098 6121 <property name="visible">True</property> 6099 6122 <property name="can_focus">True</property> 6100 6123 <property name="receives_default">True</property> 6124 <property name="use_action_appearance">False</property> 6101 6125 <signal name="clicked" handler="on_button_find_plugins_clicked" swapped="no"/> 6102 6126 <child> 6103 6127 <object class="GtkHBox" id="hbox19"> -
deluge/ui/gtkui/gtkui.py
diff --git a/deluge/ui/gtkui/gtkui.py b/deluge/ui/gtkui/gtkui.py index 28b892d..04f5f72 100644
a b def start(): 99 99 "focus_add_dialog": True, 100 100 "enable_system_tray": True, 101 101 "close_to_tray": False, 102 "minimize_to_tray": False, 102 103 "start_in_tray": False, 103 104 "enable_appindicator": False, 104 105 "lock_tray": False, -
deluge/ui/gtkui/preferences.py
diff --git a/deluge/ui/gtkui/preferences.py b/deluge/ui/gtkui/preferences.py index 2755a33..2f0788b 100644
a b def _show(self): 543 543 self.gtkui_config["enable_system_tray"]) 544 544 self.builder.get_object("chk_min_on_close").set_active( 545 545 self.gtkui_config["close_to_tray"]) 546 self.builder.get_object("chk_min_on_min").set_active( 547 self.gtkui_config["minimize_to_tray"]) 546 548 self.builder.get_object("chk_start_in_tray").set_active( 547 549 self.gtkui_config["start_in_tray"]) 548 550 self.builder.get_object("chk_enable_appindicator").set_active( … … def set_config(self, hide=False): 727 729 self.builder.get_object("chk_use_tray").get_active() 728 730 new_gtkui_config["close_to_tray"] = \ 729 731 self.builder.get_object("chk_min_on_close").get_active() 732 new_gtkui_config["minimize_to_tray"] = \ 733 self.builder.get_object("chk_min_on_min").get_active() 730 734 new_gtkui_config["start_in_tray"] = \ 731 735 self.builder.get_object("chk_start_in_tray").get_active() 732 736 new_gtkui_config["enable_appindicator"] = \ … … def on_toggle(self, widget): 915 919 "chk_random_outgoing_ports": {"spin_outgoing_port_min": False, 916 920 "spin_outgoing_port_max": False}, 917 921 "chk_use_tray": {"chk_min_on_close": True, 922 "chk_min_on_min": True, 918 923 "chk_start_in_tray": True, 919 924 "chk_enable_appindicator": True, 920 925 "chk_lock_tray": True},