Changeset 3156
- Timestamp:
- Sep 24, 2007, 12:28:44 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Transmission.xcodeproj/project.pbxproj
r3150 r3156 68 68 A2041D530C9AC523000ACFFB /* Lock.tiff in Resources */ = {isa = PBXBuildFile; fileRef = A2041D520C9AC523000ACFFB /* Lock.tiff */; }; 69 69 A2085DDC0C53BC74000BC3B7 /* AboutWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = A2085DDA0C53BC74000BC3B7 /* AboutWindowController.m */; }; 70 A2085E020C53C16F000BC3B7 /* AboutWindow.nib in Resources */ = {isa = PBXBuildFile; fileRef = A2085E000C53C16F000BC3B7 /* AboutWindow.nib */; };71 70 A2085E3F0C53C949000BC3B7 /* LICENSE in Resources */ = {isa = PBXBuildFile; fileRef = A2085E2F0C53C833000BC3B7 /* LICENSE */; }; 72 71 A20AB97B0A5C622A004F81FA /* SmallTurtle.png in Resources */ = {isa = PBXBuildFile; fileRef = A20AB97A0A5C622A004F81FA /* SmallTurtle.png */; }; … … 129 128 A2A306600AAD24A80049E2AC /* UKKQueue.m in Sources */ = {isa = PBXBuildFile; fileRef = A2A306580AAD24A80049E2AC /* UKKQueue.m */; }; 130 129 A2A306620AAD24A80049E2AC /* UKMainThreadProxy.m in Sources */ = {isa = PBXBuildFile; fileRef = A2A3065A0AAD24A80049E2AC /* UKMainThreadProxy.m */; }; 130 A2A6E3A00CA7E4C900F10FEF /* AboutWindow.nib in Resources */ = {isa = PBXBuildFile; fileRef = A2A6E39F0CA7E4C900F10FEF /* AboutWindow.nib */; }; 131 131 A2AA579D0ADFCAB400CA59F6 /* PiecesView.m in Sources */ = {isa = PBXBuildFile; fileRef = A2AA579B0ADFCAB400CA59F6 /* PiecesView.m */; }; 132 132 A2AE68330C628A35008753C9 /* Creator.nib in Resources */ = {isa = PBXBuildFile; fileRef = A2AE68310C628A35008753C9 /* Creator.nib */; }; … … 361 361 A200B83A0A2263BA007BBB1E /* InfoWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = InfoWindowController.m; path = macosx/InfoWindowController.m; sourceTree = "<group>"; }; 362 362 A2041D520C9AC523000ACFFB /* Lock.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; name = Lock.tiff; path = macosx/Images/Lock.tiff; sourceTree = "<group>"; }; 363 A204310F0C5EAF490081E5CC /* Russian */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = Russian; path = macosx/Russian.lproj/AboutWindow.nib; sourceTree = "<group>"; };364 363 A20431100C5EAF490081E5CC /* Russian */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = Russian; path = macosx/Russian.lproj/InfoPlist.strings; sourceTree = "<group>"; }; 365 364 A20431110C5EAF490081E5CC /* Russian */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = Russian; path = macosx/Russian.lproj/InfoWindow.nib; sourceTree = "<group>"; }; … … 389 388 A2265F3F0B5EF5F40093DDA5 /* FileNameCell.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = FileNameCell.h; path = macosx/FileNameCell.h; sourceTree = "<group>"; }; 390 389 A2265F400B5EF5F40093DDA5 /* FileNameCell.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = FileNameCell.m; path = macosx/FileNameCell.m; sourceTree = "<group>"; }; 391 A22A7EBB0C627FC200E30364 /* Greek */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = Greek; path = macosx/Greek.lproj/AboutWindow.nib; sourceTree = "<group>"; };392 390 A22A7EBC0C627FC200E30364 /* Greek */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = Greek; path = macosx/Greek.lproj/InfoPlist.strings; sourceTree = "<group>"; }; 393 391 A22A7EBD0C627FC200E30364 /* Greek */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = Greek; path = macosx/Greek.lproj/InfoWindow.nib; sourceTree = "<group>"; }; … … 397 395 A22A7EC10C627FC200E30364 /* Greek */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = Greek; path = macosx/Greek.lproj/PrefsWindow.nib; sourceTree = "<group>"; }; 398 396 A22BC9A20C5BBCF100F5FB72 /* BottomBorder.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = BottomBorder.png; path = macosx/Images/BottomBorder.png; sourceTree = "<group>"; }; 399 A22BC9AD0C5C505200F5FB72 /* Korean */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = Korean; path = macosx/Korean.lproj/AboutWindow.nib; sourceTree = "<group>"; };400 397 A22BC9AE0C5C505200F5FB72 /* Korean */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = Korean; path = macosx/Korean.lproj/InfoPlist.strings; sourceTree = "<group>"; }; 401 398 A22BC9AF0C5C505200F5FB72 /* Korean */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = Korean; path = macosx/Korean.lproj/InfoWindow.nib; sourceTree = "<group>"; }; … … 404 401 A22BC9B20C5C505300F5FB72 /* Korean */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = Korean; path = macosx/Korean.lproj/MessageWindow.nib; sourceTree = "<group>"; }; 405 402 A22BC9B30C5C505300F5FB72 /* Korean */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = Korean; path = macosx/Korean.lproj/PrefsWindow.nib; sourceTree = "<group>"; }; 406 A22BCA2D0C5D5CDA00F5FB72 /* Italian */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = Italian; path = macosx/Italian.lproj/AboutWindow.nib; sourceTree = "<group>"; };407 403 A22BCA2E0C5D5CDA00F5FB72 /* Italian */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = Italian; path = macosx/Italian.lproj/InfoPlist.strings; sourceTree = "<group>"; }; 408 404 A22BCA2F0C5D5CDA00F5FB72 /* Italian */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = Italian; path = macosx/Italian.lproj/InfoWindow.nib; sourceTree = "<group>"; }; … … 441 437 A25FCDDD0A37695F002BCBBE /* PauseSelected.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = PauseSelected.png; path = macosx/Images/PauseSelected.png; sourceTree = "<group>"; }; 442 438 A25FCDDE0A37695F002BCBBE /* ResumeSelected.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = ResumeSelected.png; path = macosx/Images/ResumeSelected.png; sourceTree = "<group>"; }; 443 A26039FC0C6338FB00F5FDFD /* Spanish */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = Spanish; path = macosx/Spanish.lproj/AboutWindow.nib; sourceTree = "<group>"; };444 439 A26039FD0C6338FB00F5FDFD /* Spanish */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = Spanish; path = macosx/Spanish.lproj/Creator.nib; sourceTree = "<group>"; }; 445 440 A26039FE0C6338FB00F5FDFD /* Spanish */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = Spanish; path = macosx/Spanish.lproj/InfoPlist.strings; sourceTree = "<group>"; }; … … 475 470 A2A306590AAD24A80049E2AC /* UKMainThreadProxy.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = UKMainThreadProxy.h; path = macosx/UKKQueue/UKMainThreadProxy.h; sourceTree = "<group>"; }; 476 471 A2A3065A0AAD24A80049E2AC /* UKMainThreadProxy.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = UKMainThreadProxy.m; path = macosx/UKKQueue/UKMainThreadProxy.m; sourceTree = "<group>"; }; 472 A2A6E39F0CA7E4C900F10FEF /* AboutWindow.nib */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = AboutWindow.nib; path = macosx/AboutWindow.nib; sourceTree = "<group>"; }; 477 473 A2AA579A0ADFCAB400CA59F6 /* PiecesView.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = PiecesView.h; path = macosx/PiecesView.h; sourceTree = "<group>"; }; 478 474 A2AA579B0ADFCAB400CA59F6 /* PiecesView.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = PiecesView.m; path = macosx/PiecesView.m; sourceTree = "<group>"; }; … … 487 483 A2BF078E0B066E0800757C92 /* SpeedLimitToTurtleIconTransformer.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SpeedLimitToTurtleIconTransformer.h; path = macosx/SpeedLimitToTurtleIconTransformer.h; sourceTree = "<group>"; }; 488 484 A2BF078F0B066E0800757C92 /* SpeedLimitToTurtleIconTransformer.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = SpeedLimitToTurtleIconTransformer.m; path = macosx/SpeedLimitToTurtleIconTransformer.m; sourceTree = "<group>"; }; 489 A2C19EDA0C676F5200E0B235 /* French */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = French; path = macosx/French.lproj/AboutWindow.nib; sourceTree = "<group>"; };490 485 A2C19EDB0C676F5200E0B235 /* French */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = French; path = macosx/French.lproj/Creator.nib; sourceTree = "<group>"; }; 491 486 A2C19EDC0C676F5200E0B235 /* French */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = French; path = macosx/French.lproj/InfoWindow.nib; sourceTree = "<group>"; }; … … 504 499 A2F6DB070A55F31C0058D1E5 /* SpeedLimitButton.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = SpeedLimitButton.png; path = macosx/Images/SpeedLimitButton.png; sourceTree = "<group>"; }; 505 500 A2F8951E0A2D4BA500ED2127 /* Credits.rtf */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = Credits.rtf; path = macosx/Credits.rtf; sourceTree = "<group>"; }; 506 A2FA345C0CA323DC00C432EE /* en */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = en; path = macosx/en.lproj/AboutWindow.nib; sourceTree = "<group>"; };507 501 A2FA34610CA323EA00C432EE /* en */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = en; path = macosx/en.lproj/Creator.nib; sourceTree = "<group>"; }; 508 502 A2FA34620CA323EA00C432EE /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = macosx/en.lproj/InfoPlist.strings; sourceTree = "<group>"; }; … … 765 759 A21567EB0A9A5034004DECD6 /* MessageWindow.nib */, 766 760 A2912C520A2956E80097A0CA /* PrefsWindow.nib */, 767 A2085E000C53C16F000BC3B7 /* AboutWindow.nib */,768 761 A2AE68310C628A35008753C9 /* Creator.nib */, 762 A2A6E39F0CA7E4C900F10FEF /* AboutWindow.nib */, 769 763 A20B6FA40C4D97840034AB1D /* PriorityNone.png */, 770 764 A20B6F8B0C4D90980034AB1D /* PriorityMixed.png */, … … 1343 1337 A20B6FA50C4D97840034AB1D /* PriorityNone.png in Resources */, 1344 1338 A20B6FAE0C4D9B040034AB1D /* PriorityNormal.png in Resources */, 1345 A2085E020C53C16F000BC3B7 /* AboutWindow.nib in Resources */,1346 1339 A2085E3F0C53C949000BC3B7 /* LICENSE in Resources */, 1347 1340 A22BC9A30C5BBCF100F5FB72 /* BottomBorder.png in Resources */, … … 1353 1346 A2041D530C9AC523000ACFFB /* Lock.tiff in Resources */, 1354 1347 A24872B60C9B6BB9000F5B92 /* Advanced.png in Resources */, 1348 A2A6E3A00CA7E4C900F10FEF /* AboutWindow.nib in Resources */, 1355 1349 ); 1356 1350 runOnlyForDeploymentPostprocessing = 0; … … 1623 1617 sourceTree = "<group>"; 1624 1618 }; 1625 A2085E000C53C16F000BC3B7 /* AboutWindow.nib */ = {1626 isa = PBXVariantGroup;1627 children = (1628 A2FA345C0CA323DC00C432EE /* en */,1629 A22BC9AD0C5C505200F5FB72 /* Korean */,1630 A22BCA2D0C5D5CDA00F5FB72 /* Italian */,1631 A204310F0C5EAF490081E5CC /* Russian */,1632 A22A7EBB0C627FC200E30364 /* Greek */,1633 A26039FC0C6338FB00F5FDFD /* Spanish */,1634 A2C19EDA0C676F5200E0B235 /* French */,1635 );1636 name = AboutWindow.nib;1637 sourceTree = "<group>";1638 };1639 1619 A21567EB0A9A5034004DECD6 /* MessageWindow.nib */ = { 1640 1620 isa = PBXVariantGroup; -
trunk/macosx/AboutWindow.nib/classes.nib
r2788 r3156 7 7 OUTLETS = { 8 8 fCopyrightField = NSTextField; 9 fLicenseButton = NSButton; 9 10 fLicenseSheet = NSPanel; 10 11 fLicenseView = NSTextView; -
trunk/macosx/AboutWindow.nib/info.nib
r2470 r3156 4 4 <dict> 5 5 <key>IBDocumentLocation</key> 6 <string> 17 91 356 240 0 0 1152 842</string>6 <string>28 119 356 240 0 0 1680 1028 </string> 7 7 <key>IBFramework Version</key> 8 8 <string>446.1</string> … … 12 12 </array> 13 13 <key>IBSystem Version</key> 14 <string>8R 218</string>14 <string>8R4031</string> 15 15 </dict> 16 16 </plist> -
trunk/macosx/AboutWindowController.h
r3083 r3156 29 29 IBOutlet NSTextView * fTextView, * fLicenseView; 30 30 IBOutlet NSTextField * fVersionField, * fCopyrightField; 31 IBOutlet NSButton * fLicenseButton; 31 32 IBOutlet NSPanel * fLicenseSheet; 32 33 } -
trunk/macosx/AboutWindowController.m
r3083 r3156 35 35 } 36 36 37 #warning make completely localized 38 - (void) windowDidLoad 37 - (void) awakeFromNib 39 38 { 40 39 NSDictionary * info = [[NSBundle mainBundle] infoDictionary]; … … 47 46 [[fTextView textStorage] setAttributedString: [[[NSAttributedString alloc] initWithPath: 48 47 [[NSBundle mainBundle] pathForResource: @"Credits" ofType: @"rtf"] documentAttributes: nil] autorelease]]; 48 49 //size license button 50 float oldButtonWidth = [fLicenseButton frame].size.width; 51 52 [fLicenseButton setTitle: NSLocalizedString(@"License", "About window -> license button")]; 53 [fLicenseButton sizeToFit]; 54 55 NSRect buttonFrame = [fLicenseButton frame]; 56 buttonFrame.size.width += 10.0; 57 buttonFrame.origin.x -= buttonFrame.size.width - oldButtonWidth; 58 [fLicenseButton setFrame: buttonFrame]; 59 } 49 60 61 - (void) windowDidLoad 62 { 50 63 [[self window] center]; 51 64 }
Note: See TracChangeset
for help on using the changeset viewer.