Changeset 4128


Ignore:
Timestamp:
Dec 12, 2007, 3:21:11 AM (14 years ago)
Author:
livings124
Message:

use 10.5's built-in ability to generate the textured bottom border instead of a custom view with images

Location:
trunk
Files:
4 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Transmission.xcodeproj/project.pbxproj

    r4125 r4128  
    8888                A226FDAC0D0CDF20005A7F71 /* libnatpmp.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3C7A118D0D0B2EB800B5701F /* libnatpmp.a */; };
    8989                A22A8D560AEEAFA5007E9CB9 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = A22A8D540AEEAFA5007E9CB9 /* Localizable.strings */; };
    90                 A22BC9A30C5BBCF100F5FB72 /* BottomBack.png in Resources */ = {isa = PBXBuildFile; fileRef = A22BC9A20C5BBCF100F5FB72 /* BottomBack.png */; };
    9190                A22D3AA60D00D1790079CFED /* Turtle.png in Resources */ = {isa = PBXBuildFile; fileRef = A22D3AA30D00D1790079CFED /* Turtle.png */; };
    9291                A22D3AA70D00D1790079CFED /* TurtleBlue.png in Resources */ = {isa = PBXBuildFile; fileRef = A22D3AA40D00D1790079CFED /* TurtleBlue.png */; };
    93                 A22D3ABA0D00D31F0079CFED /* BottomBackInactive.png in Resources */ = {isa = PBXBuildFile; fileRef = A22D3AB90D00D31F0079CFED /* BottomBackInactive.png */; };
    9492                A232D29E0A70903E00973B12 /* Filter.png in Resources */ = {isa = PBXBuildFile; fileRef = A232D29D0A70903E00973B12 /* Filter.png */; };
    9593                A234D0D20C79FB3600A82373 /* NSMenuAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = A234D0D00C79FB3600A82373 /* NSMenuAdditions.m */; };
     
    123121                A277DA0B0C693D9C00DA2CD4 /* ActionOn.png in Resources */ = {isa = PBXBuildFile; fileRef = A277DA090C693D9C00DA2CD4 /* ActionOn.png */; };
    124122                A277DA0C0C693D9C00DA2CD4 /* ActionOff.png in Resources */ = {isa = PBXBuildFile; fileRef = A277DA0A0C693D9C00DA2CD4 /* ActionOff.png */; };
    125                 A28E1DBA0CFFD41800E16385 /* BottomBarView.m in Sources */ = {isa = PBXBuildFile; fileRef = A28E1DB80CFFD41800E16385 /* BottomBarView.m */; };
    126123                A2912C540A2956E80097A0CA /* PrefsWindow.nib in Resources */ = {isa = PBXBuildFile; fileRef = A2912C520A2956E80097A0CA /* PrefsWindow.nib */; };
    127124                A29AF4F70D01BADC00D097EC /* DownArrow.png in Resources */ = {isa = PBXBuildFile; fileRef = A29AF4F60D01BADC00D097EC /* DownArrow.png */; };
     
    441438                A2265F3F0B5EF5F40093DDA5 /* FileNameCell.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = FileNameCell.h; path = macosx/FileNameCell.h; sourceTree = "<group>"; };
    442439                A2265F400B5EF5F40093DDA5 /* FileNameCell.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = FileNameCell.m; path = macosx/FileNameCell.m; sourceTree = "<group>"; };
    443                 A22BC9A20C5BBCF100F5FB72 /* BottomBack.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = BottomBack.png; path = macosx/Images/BottomBack.png; sourceTree = "<group>"; };
    444440                A22D3AA30D00D1790079CFED /* Turtle.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Turtle.png; path = macosx/Images/Turtle.png; sourceTree = "<group>"; };
    445441                A22D3AA40D00D1790079CFED /* TurtleBlue.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = TurtleBlue.png; path = macosx/Images/TurtleBlue.png; sourceTree = "<group>"; };
    446                 A22D3AB90D00D31F0079CFED /* BottomBackInactive.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = BottomBackInactive.png; path = macosx/Images/BottomBackInactive.png; sourceTree = "<group>"; };
    447442                A232D29D0A70903E00973B12 /* Filter.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Filter.png; path = macosx/Images/Filter.png; sourceTree = "<group>"; };
    448443                A234D0CF0C79FB3600A82373 /* NSMenuAdditions.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = NSMenuAdditions.h; path = macosx/NSMenuAdditions.h; sourceTree = "<group>"; };
     
    500495                A277DA090C693D9C00DA2CD4 /* ActionOn.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = ActionOn.png; path = macosx/Images/ActionOn.png; sourceTree = "<group>"; };
    501496                A277DA0A0C693D9C00DA2CD4 /* ActionOff.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = ActionOff.png; path = macosx/Images/ActionOff.png; sourceTree = "<group>"; };
    502                 A28E1DB80CFFD41800E16385 /* BottomBarView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = BottomBarView.m; path = macosx/BottomBarView.m; sourceTree = "<group>"; };
    503                 A28E1DD50CFFD8A700E16385 /* BottomBarView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BottomBarView.h; path = macosx/BottomBarView.h; sourceTree = "<group>"; };
    504497                A28E1DDF0CFFD8EC00E16385 /* ButtonToolbarItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ButtonToolbarItem.h; path = macosx/ButtonToolbarItem.h; sourceTree = "<group>"; };
    505498                A29AF4F60D01BADC00D097EC /* DownArrow.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = DownArrow.png; path = macosx/Images/DownArrow.png; sourceTree = "<group>"; };
     
    814807                                A2ED7D8D0CEF431B00970975 /* FilterButton.h */,
    815808                                A2ED7D8E0CEF431B00970975 /* FilterButton.m */,
    816                                 A28E1DB80CFFD41800E16385 /* BottomBarView.m */,
    817                                 A28E1DD50CFFD8A700E16385 /* BottomBarView.h */,
    818809                                A2C89D5F0CFCBF57004CC2BC /* ButtonToolbarItem.m */,
    819810                                A28E1DDF0CFFD8EC00E16385 /* ButtonToolbarItem.h */,
     
    929920                                A25FCDDD0A37695F002BCBBE /* PauseSelected.png */,
    930921                                A25FCDDE0A37695F002BCBBE /* ResumeSelected.png */,
    931                                 A22BC9A20C5BBCF100F5FB72 /* BottomBack.png */,
    932                                 A22D3AB90D00D31F0079CFED /* BottomBackInactive.png */,
    933922                                A2F151210CD438DE001F3B0E /* InfoTabBorder.png */,
    934923                                A2F151220CD438DE001F3B0E /* InfoTabBack.png */,
     
    15531542                                A20B6FAE0C4D9B040034AB1D /* PriorityNormal.png in Resources */,
    15541543                                A2085E3F0C53C949000BC3B7 /* LICENSE in Resources */,
    1555                                 A22BC9A30C5BBCF100F5FB72 /* BottomBack.png in Resources */,
    15561544                                A2AE68330C628A35008753C9 /* Creator.nib in Resources */,
    15571545                                A277DA0B0C693D9C00DA2CD4 /* ActionOn.png in Resources */,
     
    15781566                                A22D3AA60D00D1790079CFED /* Turtle.png in Resources */,
    15791567                                A22D3AA70D00D1790079CFED /* TurtleBlue.png in Resources */,
    1580                                 A22D3ABA0D00D31F0079CFED /* BottomBackInactive.png in Resources */,
    15811568                                A29AF4F70D01BADC00D097EC /* DownArrow.png in Resources */,
    15821569                                A29AF4F90D01BAEB00D097EC /* UpArrow.png in Resources */,
     
    17271714                                A25892640CF1F7E800CCCDDF /* StatsWindowController.m in Sources */,
    17281715                                A2C89D600CFCBF57004CC2BC /* ButtonToolbarItem.m in Sources */,
    1729                                 A28E1DBA0CFFD41800E16385 /* BottomBarView.m in Sources */,
    17301716                                A219798B0D07B78400438EA7 /* GroupToolbarItem.m in Sources */,
    17311717                                A20BFFB70D091CC700CE5D2B /* ToolbarSegmentedCell.m in Sources */,
  • trunk/macosx/Controller.m

    r4127 r4128  
    248248    [fWindow setContentMinSize: contentMinSize];
    249249   
     250    if ([NSApp isOnLeopardOrBetter])
     251        [fWindow setContentBorderThickness: [[fTableView enclosingScrollView] frame].origin.y forEdge: NSMinYEdge];
     252   
    250253    //set info and filter keyboard shortcuts
    251254    unichar rightChar = NSRightArrowFunctionKey, leftChar = NSLeftArrowFunctionKey;
     
    301304    statusBarFrame.size.width = windowSize.width;
    302305    [fStatusBar setFrame: statusBarFrame];
    303 
     306   
    304307    [contentView addSubview: fStatusBar];
    305308    [fStatusBar setFrameOrigin: NSMakePoint(0, NSMaxY([contentView frame]))];
  • trunk/macosx/English.lproj/Localizable.strings

    r4097 r4128  
    249249"Create a Torrent File" = "Create a Torrent File";
    250250
     251/* Create toolbar item -> tooltip */
     252"Create torrent file" = "Create torrent file";
     253
    251254/* Create torrent -> select file
    252255   Create toolbar item -> palette label */
    253256"Create Torrent File" = "Create Torrent File";
    254257
    255 /* Create toolbar item -> tooltip */
    256 "Create torrent file" = "Create torrent file";
    257 
    258258/* Create torrent -> failed -> title */
    259259"Creation of \"%@\" failed." = "Creation of \"%@\" failed.";
    260260
    261 /* status bar -> status label (3 spaces between) */
    262 "DL: %@   UL: %@" = "DL: %1$@   UL: %2$@";
     261/* status bar -> status label (2 spaces between) */
     262"DL: %@  UL: %@" = "DL: %1$@  UL: %2$@";
    263263
    264264/* Torrent -> status string */
     
    303303"Encrypted Connection" = "Encrypted Connection";
    304304
     305/* Torrent -> status string */
     306"Error" = "Error";
     307
    305308/* Ratio invalid
    306309   Transfer speed invalid */
    307310"error" = "error";
    308 
    309 /* Torrent -> status string */
    310 "Error" = "Error";
    311311
    312312/* Torrent -> status string */
     
    421421"Open" = "Open";
    422422
     423/* Open toolbar item -> tooltip */
     424"Open torrent files" = "Open torrent files";
     425
    423426/* Open toolbar item -> palette label */
    424427"Open Torrent Files" = "Open Torrent Files";
    425 
    426 /* Open toolbar item -> tooltip */
    427 "Open torrent files" = "Open torrent files";
    428428
    429429/* Inspector -> title */
     
    547547"Seeding" = "Seeding";
    548548
    549 /* Torrent -> status string */
    550 "Seeding complete" = "Seeding complete";
    551 
    552549/* Growl notification title */
    553550"Seeding Complete" = "Seeding Complete";
     551
     552/* Torrent -> status string */
     553"Seeding complete" = "Seeding complete";
    554554
    555555/* Torrent -> status string */
     
    584584"Select the new folder for \"%@\"." = "Select the new folder for \"%@\".";
    585585
    586 /* Torrent Table -> tooltip */
    587 "Shortcut for changing transfer settings." = "Shortcut for changing transfer settings.";
    588 
    589586/* Main window -> 1st bottom left button (action) tooltip */
    590587"Shortcuts for changing global settings." = "Shortcuts for changing global settings.";
     588
     589/* Torrent Table -> tooltip */
     590"Shortcuts for changing transfer settings." = "Shortcuts for changing transfer settings.";
    591591
    592592/* View menu -> Filter Bar */
  • trunk/macosx/English.lproj/MainMenu.nib/classes.nib

    r4125 r4128  
    1212                        <key>SUPERCLASS</key>
    1313                        <string>NSResponder</string>
    14                 </dict>
    15                 <dict>
    16                         <key>CLASS</key>
    17                         <string>BottomBarView</string>
    18                         <key>LANGUAGE</key>
    19                         <string>ObjC</string>
    20                         <key>SUPERCLASS</key>
    21                         <string>NSView</string>
    2214                </dict>
    2315                <dict>
     
    242234                </dict>
    243235                <dict>
    244                         <key>CLASS</key>
    245                         <string>FilterButton</string>
    246                         <key>LANGUAGE</key>
    247                         <string>ObjC</string>
    248                         <key>SUPERCLASS</key>
    249                         <string>NSButton</string>
    250                 </dict>
    251                 <dict>
    252236                        <key>ACTIONS</key>
    253237                        <dict>
     
    286270                        <key>SUPERCLASS</key>
    287271                        <string>NSTableView</string>
     272                </dict>
     273                <dict>
     274                        <key>CLASS</key>
     275                        <string>FilterButton</string>
     276                        <key>LANGUAGE</key>
     277                        <string>ObjC</string>
     278                        <key>SUPERCLASS</key>
     279                        <string>NSButton</string>
    288280                </dict>
    289281                <dict>
  • trunk/macosx/English.lproj/MainMenu.nib/info.nib

    r4125 r4128  
    1111        <key>IBOpenObjects</key>
    1212        <array>
    13                 <integer>1041</integer>
    14                 <integer>2351</integer>
     13                <integer>2</integer>
    1514        </array>
    1615        <key>IBSystem Version</key>
Note: See TracChangeset for help on using the changeset viewer.