Changeset 10424
- Timestamp:
- Mar 26, 2010, 2:28:41 AM (11 years ago)
- Location:
- trunk/macosx
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r10398 r10424 281 281 [fDefaults objectForKey: @"SpeedLimitAutoOffDate"]]); 282 282 tr_bencDictAddInt(&settings, TR_PREFS_KEY_ALT_SPEED_TIME_DAY, [fDefaults integerForKey: @"SpeedLimitAutoDay"]); 283 284 tr_bencDictAddBool(&settings, TR_PREFS_KEY_START, [fDefaults boolForKey: @"AutoStartDownload"]); 283 285 284 286 tr_bencDictAddInt(&settings, TR_PREFS_KEY_DSPEED, [fDefaults integerForKey: @"DownloadLimit"]); -
trunk/macosx/PrefsController.h
r10119 r10424 93 93 - (void) updateBlocklistFields; 94 94 95 - (void) setAutoStartDownloads: (id) sender; 96 95 97 - (void) setBadge: (id) sender; 96 98 -
trunk/macosx/PrefsController.m
r10119 r10424 557 557 } 558 558 559 - (void) setAutoStartDownloads: (id) sender 560 { 561 tr_sessionSetPaused(fHandle, ![fDefaults boolForKey: @"AutoStartDownload"]); 562 } 563 559 564 - (void) applySpeedSettings: (id) sender 560 565 { … … 1143 1148 [fDefaults setBool: dht forKey: @"DHTGlobal"]; 1144 1149 1150 //auto start 1151 const BOOL autoStart = !tr_sessionGetPaused(fHandle); 1152 [fDefaults setBool: autoStart forKey: @"AutoStartDownload"]; 1153 1145 1154 //port 1146 1155 const tr_port port = tr_sessionGetPeerPort(fHandle); -
trunk/macosx/en.lproj/PrefsWindow.xib
r10119 r10424 13 13 <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> 14 14 <bool key="EncodedWithXMLCoder">YES</bool> 15 <integer value=" 41"/>15 <integer value="255"/> 16 16 </object> 17 17 <object class="NSArray" key="IBDocument.PluginDependencies"> … … 1945 1945 <string key="NSFrame">{{1, 1}, {141, 169}}</string> 1946 1946 <reference key="NSSuperview" ref="544077474"/> 1947 <reference key="NSNextKeyView" ref="638525082"/> 1947 1948 <reference key="NSDocView" ref="638525082"/> 1948 1949 <reference key="NSBGColor" ref="729660797"/> … … 1972 1973 <string key="NSFrame">{{20, 49}, {143, 171}}</string> 1973 1974 <reference key="NSSuperview" ref="284666863"/> 1975 <reference key="NSNextKeyView" ref="568562479"/> 1974 1976 <int key="NSsFlags">530</int> 1975 1977 <reference key="NSVScroller" ref="287972127"/> … … 2241 2243 </object> 2242 2244 <object class="NSCustomView" id="352903881"> 2243 < referencekey="NSNextResponder"/>2245 <nil key="NSNextResponder"/> 2244 2246 <int key="NSvFlags">256</int> 2245 2247 <object class="NSMutableArray" key="NSSubviews"> … … 2250 2252 <string key="NSFrame">{{302, 185}, {50, 22}}</string> 2251 2253 <reference key="NSSuperview" ref="352903881"/> 2252 <reference key="NSWindow"/>2253 2254 <bool key="NSEnabled">YES</bool> 2254 2255 <object class="NSTextFieldCell" key="NSCell" id="671472167"> … … 2313 2314 <string key="NSFrame">{{178, 160}, {100, 18}}</string> 2314 2315 <reference key="NSSuperview" ref="352903881"/> 2315 <reference key="NSWindow"/>2316 2316 <bool key="NSEnabled">YES</bool> 2317 2317 <object class="NSButtonCell" key="NSCell" id="157187468"> … … 2336 2336 <string key="NSFrame">{{302, 159}, {50, 22}}</string> 2337 2337 <reference key="NSSuperview" ref="352903881"/> 2338 <reference key="NSWindow"/>2339 2338 <bool key="NSEnabled">YES</bool> 2340 2339 <object class="NSTextFieldCell" key="NSCell" id="213372896"> … … 2399 2398 <string key="NSFrame">{{178, 186}, {118, 18}}</string> 2400 2399 <reference key="NSSuperview" ref="352903881"/> 2401 <reference key="NSWindow"/>2402 2400 <bool key="NSEnabled">YES</bool> 2403 2401 <object class="NSButtonCell" key="NSCell" id="651662374"> … … 2422 2420 <string key="NSFrame">{{357, 186}, {34, 17}}</string> 2423 2421 <reference key="NSSuperview" ref="352903881"/> 2424 <reference key="NSWindow"/>2425 2422 <bool key="NSEnabled">YES</bool> 2426 2423 <object class="NSTextFieldCell" key="NSCell" id="598167921"> … … 2439 2436 <string key="NSFrame">{{357, 160}, {34, 17}}</string> 2440 2437 <reference key="NSSuperview" ref="352903881"/> 2441 <reference key="NSWindow"/>2442 2438 <bool key="NSEnabled">YES</bool> 2443 2439 <object class="NSTextFieldCell" key="NSCell" id="366797017"> … … 2456 2452 <string key="NSFrame">{{17, 187}, {158, 17}}</string> 2457 2453 <reference key="NSSuperview" ref="352903881"/> 2458 <reference key="NSWindow"/>2459 2454 <bool key="NSEnabled">YES</bool> 2460 2455 <object class="NSTextFieldCell" key="NSCell" id="916691300"> … … 2473 2468 <string key="NSFrame">{{302, 117}, {50, 22}}</string> 2474 2469 <reference key="NSSuperview" ref="352903881"/> 2475 <reference key="NSWindow"/>2476 2470 <bool key="NSEnabled">YES</bool> 2477 2471 <object class="NSTextFieldCell" key="NSCell" id="521814699"> … … 2536 2530 <string key="NSFrame">{{302, 91}, {50, 22}}</string> 2537 2531 <reference key="NSSuperview" ref="352903881"/> 2538 <reference key="NSWindow"/>2539 2532 <bool key="NSEnabled">YES</bool> 2540 2533 <object class="NSTextFieldCell" key="NSCell" id="783238913"> … … 2599 2592 <string key="NSFrame">{{357, 118}, {34, 17}}</string> 2600 2593 <reference key="NSSuperview" ref="352903881"/> 2601 <reference key="NSWindow"/>2602 2594 <bool key="NSEnabled">YES</bool> 2603 2595 <object class="NSTextFieldCell" key="NSCell" id="826580374"> … … 2616 2608 <string key="NSFrame">{{357, 92}, {34, 17}}</string> 2617 2609 <reference key="NSSuperview" ref="352903881"/> 2618 <reference key="NSWindow"/>2619 2610 <bool key="NSEnabled">YES</bool> 2620 2611 <object class="NSTextFieldCell" key="NSCell" id="389698940"> … … 2633 2624 <string key="NSFrame">{{53, 119}, {122, 17}}</string> 2634 2625 <reference key="NSSuperview" ref="352903881"/> 2635 <reference key="NSWindow"/>2636 2626 <bool key="NSEnabled">YES</bool> 2637 2627 <object class="NSTextFieldCell" key="NSCell" id="162938096"> … … 2650 2640 <string key="NSFrame">{{177, 93}, {82, 17}}</string> 2651 2641 <reference key="NSSuperview" ref="352903881"/> 2652 <reference key="NSWindow"/>2653 2642 <bool key="NSEnabled">YES</bool> 2654 2643 <object class="NSTextFieldCell" key="NSCell" id="646507129"> … … 2667 2656 <string key="NSFrame">{{177, 119}, {100, 17}}</string> 2668 2657 <reference key="NSSuperview" ref="352903881"/> 2669 <reference key="NSWindow"/>2670 2658 <bool key="NSEnabled">YES</bool> 2671 2659 <object class="NSTextFieldCell" key="NSCell" id="1023099604"> … … 2684 2672 <string key="NSFrame">{{177, 73}, {348, 14}}</string> 2685 2673 <reference key="NSSuperview" ref="352903881"/> 2686 <reference key="NSWindow"/>2687 2674 <bool key="NSEnabled">YES</bool> 2688 2675 <object class="NSTextFieldCell" key="NSCell" id="229954658"> … … 2713 2700 <string key="NSFrame">{{35, 119}, {20, 14}}</string> 2714 2701 <reference key="NSSuperview" ref="352903881"/> 2715 <reference key="NSWindow"/>2716 2702 <bool key="NSEnabled">YES</bool> 2717 2703 <object class="NSImageCell" key="NSCell" id="916608870"> … … 2734 2720 <string key="NSFrame">{{178, 49}, {160, 18}}</string> 2735 2721 <reference key="NSSuperview" ref="352903881"/> 2736 <reference key="NSWindow"/>2737 2722 <bool key="NSEnabled">YES</bool> 2738 2723 <object class="NSButtonCell" key="NSCell" id="881251804"> … … 2757 2742 <string key="NSFrame">{{402, 23}, {17, 17}}</string> 2758 2743 <reference key="NSSuperview" ref="352903881"/> 2759 <reference key="NSWindow"/>2760 2744 <bool key="NSEnabled">YES</bool> 2761 2745 <object class="NSTextFieldCell" key="NSCell" id="314009658"> … … 2774 2758 <string key="NSFrame">{{314, 20}, {86, 27}}</string> 2775 2759 <reference key="NSSuperview" ref="352903881"/> 2776 <reference key="NSWindow"/>2777 2760 <bool key="NSEnabled">YES</bool> 2778 2761 <object class="NSDatePickerCell" key="NSCell" id="1041237499"> … … 2823 2806 <string key="NSFrame">{{424, 20}, {86, 27}}</string> 2824 2807 <reference key="NSSuperview" ref="352903881"/> 2825 <reference key="NSWindow"/>2826 2808 <bool key="NSEnabled">YES</bool> 2827 2809 <object class="NSDatePickerCell" key="NSCell" id="283024896"> … … 2846 2828 <string key="NSFrame">{{196, 17}, {113, 26}}</string> 2847 2829 <reference key="NSSuperview" ref="352903881"/> 2848 <reference key="NSWindow"/>2849 2830 <bool key="NSEnabled">YES</bool> 2850 2831 <object class="NSPopUpButtonCell" key="NSCell" id="159778332"> … … 3009 2990 </object> 3010 2991 <string key="NSFrameSize">{542, 227}</string> 3011 <reference key="NSSuperview"/>3012 <reference key="NSWindow"/>3013 2992 <string key="NSClassName">NSView</string> 3014 2993 <string key="NSExtension">NSResponder</string> … … 7899 7878 </object> 7900 7879 <int key="connectionID">1944</int> 7880 </object> 7881 <object class="IBConnectionRecord"> 7882 <object class="IBActionConnection" key="connection"> 7883 <string key="label">setAutoStartDownloads:</string> 7884 <reference key="source" ref="511492310"/> 7885 <reference key="destination" ref="511956256"/> 7886 </object> 7887 <int key="connectionID">1946</int> 7901 7888 </object> 7902 7889 </object> … … 11797 11784 <string>com.apple.InterfaceBuilder.CocoaPlugin</string> 11798 11785 <real value="1"/> 11799 <string>{{333, 387}, {542, 307}}</string>11786 <string>{{333, 401}, {542, 307}}</string> 11800 11787 <string>com.apple.InterfaceBuilder.CocoaPlugin</string> 11801 11788 <real value="1"/> … … 11915 11902 </object> 11916 11903 <nil key="sourceID"/> 11917 <int key="maxID">194 4</int>11904 <int key="maxID">1946</int> 11918 11905 </object> 11919 11906 <object class="IBClassDescriber" key="IBDocument.Classes"> … … 12079 12066 <string>setAutoSpeedLimitDay:</string> 12080 12067 <string>setAutoSpeedLimitTime:</string> 12068 <string>setAutoStartDownloads:</string> 12081 12069 <string>setAutoUpdateToBeta:</string> 12082 12070 <string>setBadge:</string> … … 12177 12165 <string>id</string> 12178 12166 <string>id</string> 12167 <string>id</string> 12179 12168 </object> 12180 12169 </object>
Note: See TracChangeset
for help on using the changeset viewer.