Changeset 921


Ignore:
Timestamp:
Sep 25, 2006, 8:00:45 PM (15 years ago)
Author:
livings124
Message:

rearrange activity and peers tab in inspector

Location:
trunk
Files:
5 edited

Legend:

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

    r920 r921  
    324324                4DCCBB3C09C3D71100D3CABF /* TorrentCell.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = TorrentCell.m; path = macosx/TorrentCell.m; sourceTree = "<group>"; };
    325325                4DCCBB3D09C3D71100D3CABF /* TorrentCell.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = TorrentCell.h; path = macosx/TorrentCell.h; sourceTree = "<group>"; };
    326                 4DDBB71909E16BAE00284745 /* transmissioncli */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "compiled.mach-o.executable"; path = transmissioncli; sourceTree = BUILT_PRODUCTS_DIR; };
     326                4DDBB71909E16BAE00284745 /* transmissioncli */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = transmissioncli; sourceTree = BUILT_PRODUCTS_DIR; };
    327327                4DDBB71B09E16BF100284745 /* transmissioncli.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = transmissioncli.c; path = cli/transmissioncli.c; sourceTree = "<group>"; };
    328328                4DDFDD20099A5D8E00189D81 /* DownloadBadge.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = DownloadBadge.png; path = macosx/Images/DownloadBadge.png; sourceTree = "<group>"; };
  • trunk/macosx/English.lproj/InfoWindow.nib/classes.nib

    r920 r921  
    2727                fNameField = NSTextField;
    2828                fPeerTable = NSTableView;
    29                 fPeerTableStatusField = NSTextField;
    3029                fPieceSizeField = NSTextField;
    3130                fPiecesField = NSTextField;
  • trunk/macosx/InfoWindowController.h

    r920 r921  
    4242                        * fDateStartedField, * fStateField,
    4343                        * fDownloadedValidField, * fDownloadedTotalField, * fUploadedTotalField,
    44                         * fRatioField, * fSeedersField, * fLeechersField,
    45                         * fConnectedPeersField, * fDownloadingFromField, * fUploadingToField, * fSwarmSpeedField;
     44                        * fRatioField, * fSwarmSpeedField;
    4645
    4746    IBOutlet NSTableView * fPeerTable;
    48     IBOutlet NSTextField * fPeerTableStatusField;
     47    IBOutlet NSTextField * fSeedersField, * fLeechersField, * fConnectedPeersField,
     48                        * fDownloadingFromField, * fUploadingToField;
    4949   
    5050    IBOutlet NSTableView * fFileTable;
  • trunk/macosx/InfoWindowController.m

    r920 r921  
    4141//15 spacing at the bottom of each tab
    4242#define TAB_INFO_HEIGHT 182.0
    43 #define TAB_ACTIVITY_HEIGHT 230.0
    44 #define TAB_PEERS_HEIGHT 255.0
     43#define TAB_ACTIVITY_HEIGHT 109.0
     44#define TAB_PEERS_HEIGHT 236.0
    4545#define TAB_FILES_HEIGHT 255.0
    4646#define TAB_OPTIONS_HEIGHT 83.0
     
    170170        [fPeers removeAllObjects];
    171171        [fPeerTable reloadData];
    172         [fPeerTableStatusField setStringValue: @"info not available"];
    173172    }
    174173    else
     
    352351   
    353352    [fPeerTable reloadData];
    354     [fPeerTableStatusField setStringValue: [NSString stringWithFormat: @"%d of %d connected",
    355                                             [torrent totalPeers], [fPeers count]]];
     353    #warning use [fpeers count]
     354    //[fPeerTableStatusField setStringValue: [NSString stringWithFormat: @"%d of %d connected",
     355    //                                        [torrent totalPeers], [fPeers count]]];
    356356}
    357357
Note: See TracChangeset for help on using the changeset viewer.