Changeset 11787


Ignore:
Timestamp:
Jan 30, 2011, 2:01:05 AM (12 years ago)
Author:
livings124
Message:

#3962 Update the inspector's button bar's look

Location:
trunk
Files:
2 added
4 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEWS

    r11766 r11787  
    88  * Fix webseeds
    99  * Better support for IPv6-only trackers
    10   * Add the ability to shut down Transmission sessions via RPC
     10  * Add the ability to shutdown Transmission sessions via RPC
    1111  * NAT-PMP and UPnP now also map the UDP port
    1212  * Update the DHT code to dht-0.18
  • trunk/Transmission.xcodeproj/project.pbxproj

    r11660 r11787  
    171171                A25964A6106D73A800453B31 /* announcer.c in Sources */ = {isa = PBXBuildFile; fileRef = A25964A4106D73A800453B31 /* announcer.c */; };
    172172                A25964A7106D73A800453B31 /* announcer.h in Headers */ = {isa = PBXBuildFile; fileRef = A25964A5106D73A800453B31 /* announcer.h */; };
     173                A25BB02A12F4F517004B724E /* InfoTabButtonBack.m in Sources */ = {isa = PBXBuildFile; fileRef = A25BB02912F4F517004B724E /* InfoTabButtonBack.m */; };
    173174                A25D2CBD0CF4C73E0096A262 /* stats.c in Sources */ = {isa = PBXBuildFile; fileRef = A25D2CBB0CF4C7190096A262 /* stats.c */; };
    174175                A25D2CBE0CF4C73E0096A262 /* stats.h in Headers */ = {isa = PBXBuildFile; fileRef = A25D2CBA0CF4C7190096A262 /* stats.h */; };
     
    275276                A2F1511A0CD438A4001F3B0E /* GreenDot.png in Resources */ = {isa = PBXBuildFile; fileRef = A2F151170CD438A4001F3B0E /* GreenDot.png */; };
    276277                A2F151200CD438BA001F3B0E /* Lock.png in Resources */ = {isa = PBXBuildFile; fileRef = A2F1511F0CD438BA001F3B0E /* Lock.png */; };
    277                 A2F151240CD438DE001F3B0E /* InfoTabBorder.png in Resources */ = {isa = PBXBuildFile; fileRef = A2F151210CD438DE001F3B0E /* InfoTabBorder.png */; };
    278                 A2F151250CD438DE001F3B0E /* InfoTabBack.png in Resources */ = {isa = PBXBuildFile; fileRef = A2F151220CD438DE001F3B0E /* InfoTabBack.png */; };
    279                 A2F151260CD438DE001F3B0E /* InfoTabBackBlue.png in Resources */ = {isa = PBXBuildFile; fileRef = A2F151230CD438DE001F3B0E /* InfoTabBackBlue.png */; };
    280278                A2F40AE40A361C00006B8288 /* Transmission.icns in Resources */ = {isa = PBXBuildFile; fileRef = 4D2784360905709500687951 /* Transmission.icns */; };
    281279                A2F41DAB0D0B916B006CE378 /* YingYangTemplate.png in Resources */ = {isa = PBXBuildFile; fileRef = A2F41DAA0D0B916B006CE378 /* YingYangTemplate.png */; };
     
    284282                A2FB057F0BFEB6800095564D /* DragOverlayView.m in Sources */ = {isa = PBXBuildFile; fileRef = A2FB057D0BFEB6800095564D /* DragOverlayView.m */; };
    285283                A2FB701C0D95CAEA0001F331 /* GroupsController.m in Sources */ = {isa = PBXBuildFile; fileRef = A2FB701B0D95CAEA0001F331 /* GroupsController.m */; };
    286                 A2FE61D80CD3D0A500D683E1 /* InfoTabBackGraphite.png in Resources */ = {isa = PBXBuildFile; fileRef = A2FE61D70CD3D0A500D683E1 /* InfoTabBackGraphite.png */; };
    287284                BE1183570CE160C50002D0F3 /* bsdqueue.h in Headers */ = {isa = PBXBuildFile; fileRef = BE11834D0CE160C50002D0F3 /* bsdqueue.h */; };
    288285                BE1183580CE160C50002D0F3 /* declspec.h in Headers */ = {isa = PBXBuildFile; fileRef = BE11834E0CE160C50002D0F3 /* declspec.h */; };
     
    656653                A25964A4106D73A800453B31 /* announcer.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = announcer.c; path = libtransmission/announcer.c; sourceTree = "<group>"; };
    657654                A25964A5106D73A800453B31 /* announcer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = announcer.h; path = libtransmission/announcer.h; sourceTree = "<group>"; };
     655                A25BB02812F4F517004B724E /* InfoTabButtonBack.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = InfoTabButtonBack.h; path = macosx/InfoTabButtonBack.h; sourceTree = "<group>"; };
     656                A25BB02912F4F517004B724E /* InfoTabButtonBack.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = InfoTabButtonBack.m; path = macosx/InfoTabButtonBack.m; sourceTree = "<group>"; };
    658657                A25D2CBA0CF4C7190096A262 /* stats.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = stats.h; path = libtransmission/stats.h; sourceTree = "<group>"; };
    659658                A25D2CBB0CF4C7190096A262 /* stats.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = stats.c; path = libtransmission/stats.c; sourceTree = "<group>"; };
     
    846845                A2F151170CD438A4001F3B0E /* GreenDot.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = GreenDot.png; path = macosx/Images/GreenDot.png; sourceTree = "<group>"; };
    847846                A2F1511F0CD438BA001F3B0E /* Lock.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Lock.png; path = macosx/Images/Lock.png; sourceTree = "<group>"; };
    848                 A2F151210CD438DE001F3B0E /* InfoTabBorder.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = InfoTabBorder.png; path = macosx/Images/InfoTabBorder.png; sourceTree = "<group>"; };
    849                 A2F151220CD438DE001F3B0E /* InfoTabBack.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = InfoTabBack.png; path = macosx/Images/InfoTabBack.png; sourceTree = "<group>"; };
    850                 A2F151230CD438DE001F3B0E /* InfoTabBackBlue.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = InfoTabBackBlue.png; path = macosx/Images/InfoTabBackBlue.png; sourceTree = "<group>"; };
    851847                A2F41DAA0D0B916B006CE378 /* YingYangTemplate.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = YingYangTemplate.png; path = macosx/Images/YingYangTemplate.png; sourceTree = "<group>"; };
    852848                A2F41F8D0D73595100B82116 /* InfoTracker.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = InfoTracker.png; path = macosx/Images/InfoTracker.png; sourceTree = "<group>"; };
     
    858854                A2FB701A0D95CAEA0001F331 /* GroupsController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = GroupsController.h; path = macosx/GroupsController.h; sourceTree = "<group>"; };
    859855                A2FB701B0D95CAEA0001F331 /* GroupsController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = GroupsController.m; path = macosx/GroupsController.m; sourceTree = "<group>"; };
    860                 A2FE61D70CD3D0A500D683E1 /* InfoTabBackGraphite.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = InfoTabBackGraphite.png; path = macosx/Images/InfoTabBackGraphite.png; sourceTree = "<group>"; };
    861856                BE1183480CE160960002D0F3 /* libminiupnp.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libminiupnp.a; sourceTree = BUILT_PRODUCTS_DIR; };
    862857                BE11834D0CE160C50002D0F3 /* bsdqueue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = bsdqueue.h; path = "third-party/miniupnp/bsdqueue.h"; sourceTree = "<group>"; };
     
    12181213                                4DE5CCB90981D27700BE280E /* ToolbarPauseAllTemplate.png */,
    12191214                                A25FCDDD0A37695F002BCBBE /* ToolbarPauseSelectedTemplate.png */,
    1220                                 A2F151210CD438DE001F3B0E /* InfoTabBorder.png */,
    1221                                 A2F151220CD438DE001F3B0E /* InfoTabBack.png */,
    1222                                 A2F151230CD438DE001F3B0E /* InfoTabBackBlue.png */,
    1223                                 A2FE61D70CD3D0A500D683E1 /* InfoTabBackGraphite.png */,
    12241215                                A26E75950CB6AB4800226674 /* InfoGeneral.png */,
    12251216                                A26E75870CB6AA7500226674 /* InfoOptions.png */,
     
    15271518                                A2E23AC30CB5E1930002BB25 /* InfoTabButtonCell.h */,
    15281519                                A2E23AC40CB5E1930002BB25 /* InfoTabButtonCell.m */,
     1520                                A25BB02812F4F517004B724E /* InfoTabButtonBack.h */,
     1521                                A25BB02912F4F517004B724E /* InfoTabButtonBack.m */,
    15291522                                A200B8390A2263BA007BBB1E /* InfoWindowController.h */,
    15301523                                A200B83A0A2263BA007BBB1E /* InfoWindowController.m */,
     
    19411934                                A2DA362B0CBC674900C2ED41 /* InfoFiles.png in Resources */,
    19421935                                A2DA362C0CBC674900C2ED41 /* InfoPeers.png in Resources */,
    1943                                 A2FE61D80CD3D0A500D683E1 /* InfoTabBackGraphite.png in Resources */,
    19441936                                A2F151180CD438A4001F3B0E /* YellowDot.png in Resources */,
    19451937                                A2F151190CD438A4001F3B0E /* RedDot.png in Resources */,
    19461938                                A2F1511A0CD438A4001F3B0E /* GreenDot.png in Resources */,
    19471939                                A2F151200CD438BA001F3B0E /* Lock.png in Resources */,
    1948                                 A2F151240CD438DE001F3B0E /* InfoTabBorder.png in Resources */,
    1949                                 A2F151250CD438DE001F3B0E /* InfoTabBack.png in Resources */,
    1950                                 A2F151260CD438DE001F3B0E /* InfoTabBackBlue.png in Resources */,
    19511940                                A22D3AA60D00D1790079CFED /* TurtleTemplate.png in Resources */,
    19521941                                A29AF4F70D01BADC00D097EC /* DownArrowTemplate.png in Resources */,
     
    21812170                                A21F15AC11729A8B00CF5A9C /* AddMagnetWindowController.m in Sources */,
    21822171                                A2661D6112D0E8D9004F69D5 /* FilterBarView.m in Sources */,
     2172                                A25BB02A12F4F517004B724E /* InfoTabButtonBack.m in Sources */,
    21832173                        );
    21842174                        runOnlyForDeploymentPostprocessing = 0;
  • trunk/macosx/InfoTabButtonCell.m

    r11617 r11787  
    3030{
    3131    [(NSMatrix *)[self controlView] setToolTip: [self title] forCell: self];
    32    
    33     NSNotificationCenter * nc = [NSNotificationCenter defaultCenter];
    34     [nc addObserver: self selector: @selector(updateControlTint:)
    35         name: NSControlTintDidChangeNotification object: NSApp];
    36    
     32       
    3733    fSelected = NO;
    3834   
     
    4440- (void) dealloc
    4541{
    46     [[NSNotificationCenter defaultCenter] removeObserver: self];
    47    
    4842    [fIcon release];
    4943    [super dealloc];
     
    5448    fSelected = selected;
    5549   
    56     NSImage * tabImage;
    57     if (fSelected)
    58         tabImage = [NSColor currentControlTint] == NSGraphiteControlTint
    59                     ? [[NSImage imageNamed: @"InfoTabBackGraphite.png"] copy] : [[NSImage imageNamed: @"InfoTabBackBlue.png"] copy];
     50    NSInteger row, col;
     51    [(NSMatrix *)[self controlView] getRow: &row column: &col ofCell: self];
     52    const NSSize tabSize = [(NSMatrix *)[self controlView] cellFrameAtRow: row column: col].size;
     53    const NSRect tabRect = NSMakeRect(0.0, 0.0, tabSize.width, tabSize.height);
     54   
     55    NSImage * tabImage = [[NSImage alloc] initWithSize: tabSize];
     56       
     57    [tabImage lockFocus];
     58   
     59    if (!fSelected)
     60    {
     61        NSColor * lightColor = [NSColor colorWithCalibratedRed: 255.0/255.0 green: 255.0/255.0 blue: 255.0/255.0 alpha: 1.0];
     62        NSColor * darkColor = [NSColor colorWithCalibratedRed: 225.0/255.0 green: 225.0/255.0 blue: 225.0/255.0 alpha: 1.0];
     63        NSGradient * gradient = [[NSGradient alloc] initWithStartingColor: darkColor endingColor: lightColor];
     64        [gradient drawInRect: tabRect angle: 90.0];
     65        [gradient release];
     66    }
    6067    else
    61         tabImage = [[NSImage imageNamed: @"InfoTabBack.png"] copy];
     68    {
     69        NSColor * lightColor = [NSColor colorWithCalibratedRed: 160.0/255.0 green: 160.0/255.0 blue: 160.0/255.0 alpha: 1.0];
     70        NSColor * darkColor = [NSColor colorWithCalibratedRed: 150.0/255.0 green: 150.0/255.0 blue: 150.0/255.0 alpha: 1.0];
     71        NSGradient * gradient = [[NSGradient alloc] initWithStartingColor: darkColor endingColor: lightColor];
     72        [gradient drawInRect: tabRect angle: 90.0];
     73        [gradient release];
     74    }
     75   
     76    [[NSColor grayColor] set];
     77    NSRectFill(NSMakeRect(0.0, 0.0, NSWidth(tabRect), 1.0));
     78    NSRectFill(NSMakeRect(0.0, NSHeight(tabRect) - 1.0, NSWidth(tabRect), 1.0));
     79    NSRectFill(NSMakeRect(NSWidth(tabRect) - 1.0, 1.0, NSWidth(tabRect) - 1.0, NSHeight(tabRect) - 2.0));
    6280   
    6381    if (fIcon)
    6482    {
    65         const NSSize iconSize = [fIcon size], tabSize = [tabImage size];
     83        const NSSize iconSize = [fIcon size];
    6684       
    6785        const NSRect iconRect = NSMakeRect(floor((tabSize.width - iconSize.width) * 0.5),
     
    6987                                            iconSize.width, iconSize.height);
    7088       
    71         [tabImage lockFocus];
    7289        [fIcon drawInRect: iconRect fromRect: NSZeroRect operation: NSCompositeSourceOver fraction: 1.0];
    7390        [tabImage unlockFocus];
     
    7895}
    7996
    80 - (void) updateControlTint: (NSNotification *) notification
    81 {
    82     if (fSelected)
    83         [self setSelectedTab: YES];
    84 }
    85 
    8697@end
  • trunk/macosx/InfoWindow.xib

    r10679 r11787  
    33        <data>
    44                <int key="IBDocument.SystemTarget">1050</int>
    5                 <string key="IBDocument.SystemVersion">10D573</string>
    6                 <string key="IBDocument.InterfaceBuilderVersion">762</string>
    7                 <string key="IBDocument.AppKitVersion">1038.29</string>
    8                 <string key="IBDocument.HIToolboxVersion">460.00</string>
     5                <string key="IBDocument.SystemVersion">10J567</string>
     6                <string key="IBDocument.InterfaceBuilderVersion">823</string>
     7                <string key="IBDocument.AppKitVersion">1038.35</string>
     8                <string key="IBDocument.HIToolboxVersion">462.00</string>
    99                <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
    1010                        <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
    11                         <string key="NS.object.0">762</string>
     11                        <string key="NS.object.0">823</string>
    1212                </object>
    1313                <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
     
    2020                </object>
    2121                <object class="NSMutableDictionary" key="IBDocument.Metadata">
    22                         <bool key="EncodedWithXMLCoder">YES</bool>
    23                         <object class="NSArray" key="dict.sortedKeys" id="0">
    24                                 <bool key="EncodedWithXMLCoder">YES</bool>
    25                         </object>
    26                         <object class="NSMutableArray" key="dict.values">
    27                                 <bool key="EncodedWithXMLCoder">YES</bool>
    28                         </object>
     22                        <string key="NS.key.0">PluginDependencyRecalculationVersion</string>
     23                        <integer value="1" key="NS.object.0"/>
    2924                </object>
    3025                <object class="NSMutableArray" key="IBDocument.RootObjects" id="417638779">
     
    164159                                                                        </object>
    165160                                                                        <reference key="NSControlView" ref="1020839921"/>
    166                                                                         <int key="NSButtonFlags">108282111</int>
     161                                                                        <int key="NSButtonFlags">108806399</int>
    167162                                                                        <int key="NSButtonFlags2">6</int>
    168163                                                                        <object class="NSCustomResource" key="NSNormalImage">
     
    182177                                                                        <reference key="NSControlView" ref="1020839921"/>
    183178                                                                        <int key="NSTag">1</int>
    184                                                                         <int key="NSButtonFlags">108282111</int>
     179                                                                        <int key="NSButtonFlags">108806399</int>
    185180                                                                        <int key="NSButtonFlags2">6</int>
    186181                                                                        <object class="NSCustomResource" key="NSNormalImage">
     
    218213                                                                        <reference key="NSControlView" ref="1020839921"/>
    219214                                                                        <int key="NSTag">3</int>
    220                                                                         <int key="NSButtonFlags">108282111</int>
     215                                                                        <int key="NSButtonFlags">108806399</int>
    221216                                                                        <int key="NSButtonFlags2">6</int>
    222217                                                                        <object class="NSCustomResource" key="NSNormalImage">
     
    407402                                                        <reference key="NSFont" ref="737793924"/>
    408403                                                </object>
    409                                                 <object class="NSImageView" id="80002672">
     404                                                <object class="NSCustomView" id="9173479">
    410405                                                        <reference key="NSNextResponder" ref="429007171"/>
    411406                                                        <int key="NSvFlags">266</int>
    412                                                         <object class="NSMutableSet" key="NSDragTypes">
    413                                                                 <bool key="EncodedWithXMLCoder">YES</bool>
    414                                                                 <object class="NSArray" key="set.sortedObjects">
    415                                                                         <bool key="EncodedWithXMLCoder">YES</bool>
    416                                                                         <string>Apple PDF pasteboard type</string>
    417                                                                         <string>Apple PICT pasteboard type</string>
    418                                                                         <string>Apple PNG pasteboard type</string>
    419                                                                         <string>NSFilenamesPboardType</string>
    420                                                                         <string>NeXT Encapsulated PostScript v1.2 pasteboard type</string>
    421                                                                         <string>NeXT TIFF v4.0 pasteboard type</string>
    422                                                                 </object>
    423                                                         </object>
    424407                                                        <string key="NSFrame">{{330, 0}, {73, 25}}</string>
    425408                                                        <reference key="NSSuperview" ref="429007171"/>
    426                                                         <bool key="NSEnabled">YES</bool>
    427                                                         <object class="NSImageCell" key="NSCell" id="1024147571">
    428                                                                 <int key="NSCellFlags">130560</int>
    429                                                                 <int key="NSCellFlags2">33554432</int>
    430                                                                 <object class="NSCustomResource" key="NSContents">
    431                                                                         <string key="NSClassName">NSImage</string>
    432                                                                         <string key="NSResourceName">InfoTabBorder</string>
    433                                                                 </object>
    434                                                                 <int key="NSAlign">0</int>
    435                                                                 <int key="NSScale">1</int>
    436                                                                 <int key="NSStyle">0</int>
    437                                                                 <bool key="NSAnimates">YES</bool>
    438                                                         </object>
    439                                                         <bool key="NSEditable">YES</bool>
     409                                                        <string key="NSClassName">InfoTabButtonBack</string>
    440410                                                </object>
    441411                                        </object>
     
    513483                                        <object class="IBObjectRecord">
    514484                                                <int key="objectID">0</int>
    515                                                 <reference key="object" ref="0"/>
     485                                                <object class="NSArray" key="object" id="0">
     486                                                        <bool key="EncodedWithXMLCoder">YES</bool>
     487                                                </object>
    516488                                                <reference key="children" ref="417638779"/>
    517489                                                <nil key="parent"/>
     
    553525                                                        <reference ref="40615128"/>
    554526                                                        <reference ref="1020839921"/>
    555                                                         <reference ref="80002672"/>
    556527                                                        <reference ref="843033231"/>
     528                                                        <reference ref="9173479"/>
    557529                                                </object>
    558530                                                <reference key="parent" ref="571546118"/>
     
    626598                                        </object>
    627599                                        <object class="IBObjectRecord">
    628                                                 <int key="objectID">1273</int>
    629                                                 <reference key="object" ref="80002672"/>
    630                                                 <object class="NSMutableArray" key="children">
    631                                                         <bool key="EncodedWithXMLCoder">YES</bool>
    632                                                         <reference ref="1024147571"/>
    633                                                 </object>
    634                                                 <reference key="parent" ref="429007171"/>
    635                                         </object>
    636                                         <object class="IBObjectRecord">
    637600                                                <int key="objectID">1481</int>
    638601                                                <reference key="object" ref="585844623"/>
     
    650613                                        </object>
    651614                                        <object class="IBObjectRecord">
    652                                                 <int key="objectID">1484</int>
    653                                                 <reference key="object" ref="1024147571"/>
    654                                                 <reference key="parent" ref="80002672"/>
    655                                         </object>
    656                                         <object class="IBObjectRecord">
    657615                                                <int key="objectID">1562</int>
    658616                                                <reference key="object" ref="645033959"/>
     
    663621                                                <reference key="object" ref="219666447"/>
    664622                                                <reference key="parent" ref="1020839921"/>
     623                                        </object>
     624                                        <object class="IBObjectRecord">
     625                                                <int key="objectID">1830</int>
     626                                                <reference key="object" ref="9173479"/>
     627                                                <reference key="parent" ref="429007171"/>
    665628                                        </object>
    666629                                </object>
     
    672635                                        <string>-3.IBPluginDependency</string>
    673636                                        <string>-3.ImportedFromIB2</string>
    674                                         <string>1273.IBPluginDependency</string>
    675                                         <string>1273.ImportedFromIB2</string>
    676637                                        <string>1481.IBPluginDependency</string>
    677638                                        <string>1482.IBPluginDependency</string>
    678639                                        <string>1483.IBPluginDependency</string>
    679                                         <string>1484.IBPluginDependency</string>
    680640                                        <string>15.CustomClassName</string>
    681641                                        <string>15.IBPluginDependency</string>
     
    684644                                        <string>1726.CustomClassName</string>
    685645                                        <string>1726.IBPluginDependency</string>
     646                                        <string>1830.IBPluginDependency</string>
     647                                        <string>1830.IBViewBoundsToFrameTransform</string>
    686648                                        <string>28.IBPluginDependency</string>
    687649                                        <string>28.ImportedFromIB2</string>
     
    723685                                        <integer value="1"/>
    724686                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
     687                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
     688                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
     689                                        <string>InfoTextField</string>
     690                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
    725691                                        <integer value="1"/>
    726692                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
    727                                         <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
    728                                         <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
    729                                         <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
    730                                         <string>InfoTextField</string>
    731                                         <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
    732                                         <integer value="1"/>
    733                                         <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
    734693                                        <string>InfoTabButtonCell</string>
    735694                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
     695                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
     696                                        <object class="NSAffineTransform">
     697                                                <bytes key="NSTransformStruct">AUOLAAAAAAAAA</bytes>
     698                                        </object>
    736699                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
    737700                                        <integer value="1"/>
     
    785748                        </object>
    786749                        <nil key="sourceID"/>
    787                         <int key="maxID">1829</int>
     750                        <int key="maxID">1830</int>
    788751                </object>
    789752                <object class="IBClassDescriber" key="IBDocument.Classes">
     
    796759                                                <string key="majorKey">IBUserSource</string>
    797760                                                <string key="minorKey"/>
     761                                        </object>
     762                                </object>
     763                                <object class="IBPartialClassDescription">
     764                                        <string key="className">InfoTabButtonBack</string>
     765                                        <string key="superclassName">NSView</string>
     766                                        <object class="IBClassDescriptionSource" key="sourceIdentifier">
     767                                                <string key="majorKey">IBProjectSource</string>
     768                                                <string key="minorKey">macosx/InfoTabButtonBack.h</string>
    798769                                        </object>
    799770                                </object>
     
    828799                                                <string key="NS.key.0">setTab:</string>
    829800                                                <string key="NS.object.0">id</string>
     801                                        </object>
     802                                        <object class="NSMutableDictionary" key="actionInfosByName">
     803                                                <string key="NS.key.0">setTab:</string>
     804                                                <object class="IBActionInfo" key="NS.object.0">
     805                                                        <string key="name">setTab:</string>
     806                                                        <string key="candidateClassName">id</string>
     807                                                </object>
    830808                                        </object>
    831809                                        <object class="NSMutableDictionary" key="outlets">
     
    846824                                                </object>
    847825                                        </object>
     826                                        <object class="NSMutableDictionary" key="toOneOutletInfosByName">
     827                                                <bool key="EncodedWithXMLCoder">YES</bool>
     828                                                <object class="NSArray" key="dict.sortedKeys">
     829                                                        <bool key="EncodedWithXMLCoder">YES</bool>
     830                                                        <string>fBasicInfoField</string>
     831                                                        <string>fImageView</string>
     832                                                        <string>fNameField</string>
     833                                                        <string>fTabMatrix</string>
     834                                                </object>
     835                                                <object class="NSMutableArray" key="dict.values">
     836                                                        <bool key="EncodedWithXMLCoder">YES</bool>
     837                                                        <object class="IBToOneOutletInfo">
     838                                                                <string key="name">fBasicInfoField</string>
     839                                                                <string key="candidateClassName">NSTextField</string>
     840                                                        </object>
     841                                                        <object class="IBToOneOutletInfo">
     842                                                                <string key="name">fImageView</string>
     843                                                                <string key="candidateClassName">NSImageView</string>
     844                                                        </object>
     845                                                        <object class="IBToOneOutletInfo">
     846                                                                <string key="name">fNameField</string>
     847                                                                <string key="candidateClassName">NSTextField</string>
     848                                                        </object>
     849                                                        <object class="IBToOneOutletInfo">
     850                                                                <string key="name">fTabMatrix</string>
     851                                                                <string key="candidateClassName">NSMatrix</string>
     852                                                        </object>
     853                                                </object>
     854                                        </object>
    848855                                        <object class="IBClassDescriptionSource" key="sourceIdentifier">
    849856                                                <string key="majorKey">IBProjectSource</string>
     
    14491456                                                <string key="NS.key.0">showWindow:</string>
    14501457                                                <string key="NS.object.0">id</string>
     1458                                        </object>
     1459                                        <object class="NSMutableDictionary" key="actionInfosByName">
     1460                                                <string key="NS.key.0">showWindow:</string>
     1461                                                <object class="IBActionInfo" key="NS.object.0">
     1462                                                        <string key="name">showWindow:</string>
     1463                                                        <string key="candidateClassName">id</string>
     1464                                                </object>
    14511465                                        </object>
    14521466                                        <object class="IBClassDescriptionSource" key="sourceIdentifier">
     
    14831497                                <string>InfoOptions</string>
    14841498                                <string>InfoPeers</string>
    1485                                 <string>InfoTabBorder</string>
    14861499                                <string>InfoTracker</string>
    14871500                                <string>NSApplicationIcon</string>
     
    14891502                        <object class="NSMutableArray" key="dict.values">
    14901503                                <bool key="EncodedWithXMLCoder">YES</bool>
    1491                                 <string>{20.2475, 20.2475}</string>
    14921504                                <string>{20, 20}</string>
    14931505                                <string>{20, 20}</string>
    14941506                                <string>{20, 20}</string>
    14951507                                <string>{20, 20}</string>
    1496                                 <string>{1, 25}</string>
    1497                                 <string>{20.2475, 20.2475}</string>
     1508                                <string>{20, 20}</string>
     1509                                <string>{20, 20}</string>
    14981510                                <string>{512, 512}</string>
    14991511                        </object>
  • trunk/macosx/Makefile.am

    r11621 r11787  
    8282    GroupToolbarItem.h \
    8383    GroupToolbarItem.m \
     84    InfoTabButtonBack.h \
     85    InfoTabButtonBack.m \
    8486    InfoTabButtonCell.h \
    8587    InfoTabButtonCell.m \
  • trunk/macosx/Torrent.m

    r11650 r11787  
    16921692    if ([self isFolder])
    16931693    {
    1694         NSInteger count = [self fileCount];
     1694        const NSInteger count = [self fileCount];
    16951695        NSMutableArray * fileList = [NSMutableArray arrayWithCapacity: count],
    16961696                    * flatFileList = [NSMutableArray arrayWithCapacity: count];
Note: See TracChangeset for help on using the changeset viewer.