Changeset 2563
- Timestamp:
- Jul 31, 2007, 12:45:39 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Transmission.xcodeproj/project.pbxproj
r2562 r2563 321 321 4DFBC2DE09C0970D00D5C571 /* Torrent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = Torrent.m; path = macosx/Torrent.m; sourceTree = "<group>"; }; 322 322 8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; name = Info.plist; path = macosx/Info.plist; sourceTree = "<group>"; }; 323 8D1107320486CEB800E47090 /* Transmission.app */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = wrapper.application; path = Transmission.app; sourceTree = BUILT_PRODUCTS_DIR; };323 8D1107320486CEB800E47090 /* Transmission.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Transmission.app; sourceTree = BUILT_PRODUCTS_DIR; }; 324 324 A200B8390A2263BA007BBB1E /* InfoWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = InfoWindowController.h; path = macosx/InfoWindowController.h; sourceTree = "<group>"; }; 325 325 A200B83A0A2263BA007BBB1E /* InfoWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = InfoWindowController.m; path = macosx/InfoWindowController.m; sourceTree = "<group>"; }; -
trunk/macosx/InfoWindowController.m
r2560 r2563 235 235 [fSizeField setStringValue: [NSString stringForFileSize: [torrent size]]]; 236 236 237 NSString * hashString = [torrent hashString], 238 * commentString = [torrent comment]; 237 NSString * hashString = [torrent hashString]; 239 238 [fPiecesField setStringValue: [NSString stringWithFormat: @"%d, %@", [torrent pieceCount], 240 239 [NSString stringForFileSize: [torrent pieceSize]]]]; … … 244 243 ? NSLocalizedString(@"Private Torrent, PEX disabled", "Inspector -> is private torrent") 245 244 : NSLocalizedString(@"Public Torrent", "Inspector -> is not private torrent")]; 245 246 NSString * commentString = [torrent comment]; 246 247 [fCommentView setString: commentString]; 247 248 248 [fCreatorField setStringValue: [torrent creator]]; 249 NSString * creatorString = [torrent creator]; 250 [fCreatorField setStringValue: creatorString]; 249 251 [fDateCreatedField setObjectValue: [torrent dateCreated]]; 250 252 … … 267 269 [fTrackerField setSelectable: YES]; 268 270 [fHashField setSelectable: YES]; 269 [fCommentView setSelectable: YES];270 [fCreatorField setSelectable: YES];271 [fCommentView setSelectable: ![commentString isEqualToString: @""]]; 272 [fCreatorField setSelectable: ![creatorString isEqualToString: @""]]; 271 273 [fTorrentLocationField setSelectable: YES]; 272 274 [fDataLocationField setSelectable: YES];
Note: See TracChangeset
for help on using the changeset viewer.