Changeset 6215
- Timestamp:
- Jun 17, 2008, 5:17:15 PM (15 years ago)
- Location:
- trunk/macosx
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/English.lproj/PrefsWindow.xib
r6178 r6215 9 9 <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> 10 10 <bool key="EncodedWithXMLCoder">YES</bool> 11 <integer value="1481"/> 11 12 <integer value="66"/> 12 <integer value="1481"/>13 13 </object> 14 14 <object class="NSArray" key="IBDocument.PluginDependencies"> … … 3545 3545 </object> 3546 3546 <object class="NSUserDefaultsController" id="356871564"> 3547 <object class="NSMutableArray" key="NSDeclaredKeys"> 3548 <bool key="EncodedWithXMLCoder">YES</bool> 3549 <string>Proxy</string> 3550 </object> 3547 3551 <bool key="NSSharedInstance">YES</bool> 3548 3552 </object> … … 5921 5925 </object> 5922 5926 <int key="connectionID">1674</int> 5927 </object> 5928 <object class="IBConnectionRecord"> 5929 <object class="IBBindingConnection" key="connection"> 5930 <string key="label">textColor: values</string> 5931 <reference key="source" ref="257109686"/> 5932 <reference key="destination" ref="356871564"/> 5933 <object class="NSNibBindingConnector" key="connector"> 5934 <reference key="NSSource" ref="257109686"/> 5935 <reference key="NSDestination" ref="356871564"/> 5936 <string key="NSLabel">textColor: values</string> 5937 <string key="NSBinding">textColor</string> 5938 <string key="NSKeyPath">values</string> 5939 <object class="NSDictionary" key="NSOptions"> 5940 <string key="NS.key.0">NSValueTransformerName</string> 5941 <string key="NS.object.0">ControlTextTransformer</string> 5942 </object> 5943 <int key="NSNibBindingConnectorVersion">2</int> 5944 </object> 5945 </object> 5946 <int key="connectionID">1680</int> 5923 5947 </object> 5924 5948 </object> … … 8975 8999 </object> 8976 9000 <nil key="sourceID"/> 8977 <int key="maxID">16 74</int>9001 <int key="maxID">1685</int> 8978 9002 </object> 8979 9003 <object class="IBClassDescriber" key="IBDocument.Classes"> -
trunk/macosx/PiecesView.m
r6130 r6215 42 42 - (void) awakeFromNib 43 43 { 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 44 //back image 45 fBack = [[NSImage alloc] initWithSize: [self bounds].size]; 46 47 [fBack lockFocus]; 48 CTGradient * gradient = [CTGradient gradientWithBeginningColor: [NSColor colorWithCalibratedWhite: 0.0 alpha: 0.4] 49 endingColor: [NSColor colorWithCalibratedWhite: 0.2 alpha: 0.4]]; 50 [gradient fillRect: [self bounds] angle: 90.0]; 51 [fBack unlockFocus]; 52 53 //store box colors 54 fGreenAvailabilityColor = [[NSColor colorWithCalibratedRed: 0.0 green: 1.0 blue: 0.4 alpha: 1.0] retain]; 55 fBluePieceColor = [[NSColor colorWithCalibratedRed: 0.0 green: 0.4 blue: 0.8 alpha: 1.0] retain]; 56 57 //actually draw the box 58 [self setTorrent: nil]; 59 59 } 60 60 -
trunk/macosx/PrefsController.m
r6208 r6215 689 689 - (void) setProxyEnabled: (id) sender 690 690 { 691 BOOL enable = [fDefaults boolForKey: @"Proxy"];692 691 tr_sessionSetProxyEnabled(fHandle, [fDefaults boolForKey: @"Proxy"]); 693 692 } -
trunk/macosx/Torrent.m
r6209 r6215 416 416 - (void) setMaxPeerConnect: (uint16_t) count 417 417 { 418 if (count > 0) 419 tr_torrentSetPeerLimit(fHandle, count); 418 NSAssert(count > 0, @"max peer count must be greater than 0"); 419 420 tr_torrentSetPeerLimit(fHandle, count); 420 421 } 421 422 -
trunk/macosx/TorrentTableView.m
r6133 r6215 530 530 unichar firstChar = [[event charactersIgnoringModifiers] characterAtIndex: 0]; 531 531 532 if (firstChar == 'f' && [event modifierFlags] & NSAlternateKeyMask 533 && [event modifierFlags] & NSCommandKeyMask) 532 if (firstChar == 'f' && [event modifierFlags] & NSAlternateKeyMask && [event modifierFlags] & NSCommandKeyMask) 534 533 [fController focusFilterField]; 535 534 else
Note: See TracChangeset
for help on using the changeset viewer.