Changeset 3080
- Timestamp:
- Sep 16, 2007, 12:40:15 AM (15 years ago)
- Location:
- trunk/macosx
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r3073 r3080 2648 2648 - (void) doNothing: (id) sender {} 2649 2649 2650 - (NSToolbarItem *) toolbar: (NSToolbar *) t itemForItemIdentifier: 2651 (NSString *) ident willBeInsertedIntoToolbar: (BOOL) flag 2650 - (NSToolbarItem *) toolbar: (NSToolbar *) t itemForItemIdentifier: (NSString *) ident willBeInsertedIntoToolbar: (BOOL) flag 2652 2651 { 2653 2652 NSToolbarItem * item = [[NSToolbarItem alloc] initWithItemIdentifier: ident]; … … 2744 2743 } 2745 2744 2746 return item;2745 return [item autorelease]; 2747 2746 } 2748 2747 -
trunk/macosx/InfoWindowController.m
r3075 r3080 793 793 else if ([ident isEqualToString: @"Encryption"]) 794 794 { 795 /*if ([[peer objectForKey: @"Encryption"] boolValue])795 if ([[peer objectForKey: @"Encryption"] boolValue]) 796 796 { 797 797 if (!fLockImage) … … 799 799 return fLockImage; 800 800 } 801 else */801 else 802 802 return nil; 803 803 } … … 864 864 [[peer objectForKey: @"Progress"] floatValue] * 100.0]]; 865 865 866 /*if ([[peer objectForKey: @"Encryption"] boolValue])867 [components addObject: NSLocalizedString(@"Encrypted Connection", "Inspector -> Peers tab -> table row tooltip")]; */866 if ([[peer objectForKey: @"Encryption"] boolValue]) 867 [components addObject: NSLocalizedString(@"Encrypted Connection", "Inspector -> Peers tab -> table row tooltip")]; 868 868 } 869 869 -
trunk/macosx/PrefsController.m
r3066 r3080 210 210 } 211 211 212 return item;212 return [item autorelease]; 213 213 } 214 214 -
trunk/macosx/Torrent.m
r3063 r3080 1040 1040 [dic setObject: [NSNumber numberWithFloat: peer->downloadFromRate] forKey: @"DL From Rate"]; 1041 1041 1042 //[dic setObject: [NSNumber numberWithBool: peer->isEncrypted] forKey: @"Encryption"];1042 [dic setObject: [NSNumber numberWithBool: /*peer->isEncrypted*/NO] forKey: @"Encryption"]; 1043 1043 1044 1044 [dic setObject: [NSString stringWithCString: (char *) peer->client encoding: NSUTF8StringEncoding] forKey: @"Client"];
Note: See TracChangeset
for help on using the changeset viewer.