Changeset 2129


Ignore:
Timestamp:
Jun 17, 2007, 2:02:33 PM (15 years ago)
Author:
livings124
Message:

show the document icon for the torrent file instead of the directory icon

Location:
branches/file_selection/macosx
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/file_selection/macosx/CreatorWindowController.h

    r2111 r2129  
    2929@interface CreatorWindowController : NSWindowController
    3030{
    31     IBOutlet NSImageView * fIcon, * fLocationIcon;
     31    IBOutlet NSImageView * fIcon;
    3232    IBOutlet NSTextField * fNameField, * fStatusField, * fPiecesField, * fTrackerField, * fLocationField;
    3333    IBOutlet NSTextView * fCommentView;
  • branches/file_selection/macosx/CreatorWindowController.m

    r2123 r2129  
    116116    fLocation = [[[DEFAULT_SAVE_LOCATION stringByAppendingPathComponent: [name stringByAppendingPathExtension: @"torrent"]]
    117117                                            stringByExpandingTildeInPath] retain];
    118     [fLocationIcon setImage: [[NSWorkspace sharedWorkspace] iconForFile: [fLocation stringByDeletingLastPathComponent]]];
    119118    [fLocationField setStringValue: [fLocation stringByAbbreviatingWithTildeInPath]];
    120119    [fLocationField setToolTip: fLocation];
     
    224223        fLocation = [[panel filename] retain];
    225224       
    226         [fLocationIcon setImage: [[NSWorkspace sharedWorkspace] iconForFile: [fLocation stringByDeletingLastPathComponent]]];
    227225        [fLocationField setStringValue: [fLocation stringByAbbreviatingWithTildeInPath]];
    228226        [fLocationField setToolTip: fLocation];
  • branches/file_selection/macosx/English.lproj/Creator.nib/classes.nib

    r2111 r2129  
    1414                fIcon = NSImageView;
    1515                fLocationField = NSTextField;
    16                 fLocationIcon = NSImageView;
    1716                fNameField = NSTextField;
    1817                fPiecesField = NSTextField;
  • branches/file_selection/macosx/English.lproj/Creator.nib/info.nib

    r2123 r2129  
    99        <key>IBOpenObjects</key>
    1010        <array>
     11                <integer>45</integer>
    1112                <integer>5</integer>
    12                 <integer>45</integer>
    1313        </array>
    1414        <key>IBSystem Version</key>
Note: See TracChangeset for help on using the changeset viewer.