Changeset 3613


Ignore:
Timestamp:
Oct 28, 2007, 4:35:49 AM (14 years ago)
Author:
livings124
Message:

use "Downloads" folder as default folder

Location:
trunk/macosx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r3588 r3613  
    580580    //clear badge
    581581    [fBadger clearBadge];
    582 
     582   
    583583    //wait for running transfers to stop and for NAT to be disabled (5 second timeout)
    584584    NSDate * start = [NSDate date];
    585     while ([start timeIntervalSinceNow] >= -5.0
    586             && (tr_torrentCount(fLib) > 0 || tr_handleStatus(fLib)->natTraversalStatus != TR_NAT_TRAVERSAL_DISABLED))
     585   
     586    tr_close(fLib);
     587   
     588    while ([start timeIntervalSinceNow] >= -5.0 && tr_handleStatus(fLib)->natTraversalStatus != TR_NAT_TRAVERSAL_DISABLED)
    587589        usleep(100000);
    588590   
     
    604606    [fPendingTorrentDownloads release];
    605607    [fTempTorrentFiles release];
    606    
    607     tr_close(fLib);
    608608}
    609609
  • trunk/macosx/Defaults.plist

    r3224 r3613  
    4646        <string>Constant</string>
    4747        <key>DownloadFolder</key>
    48         <string>~/Desktop</string>
     48        <string>~/Downloads</string>
    4949        <key>DownloadLimit</key>
    5050        <integer>100</integer>
     
    6060        <string>Name</string>
    6161        <key>IncompleteDownloadFolder</key>
    62         <string>~/Desktop</string>
     62        <string>~/Downloads</string>
    6363        <key>InfoVisible</key>
    6464        <false/>
     
    6969        <key>MoveChoice</key>
    7070        <string>Constant</string>
    71         <key>MoveFolder</key>
    72         <string>~/Desktop</string>
    7371        <key>NatTraversal</key>
    7472        <true/>
  • trunk/macosx/PeerProgressIndicatorCell.m

    r3608 r3613  
    2727@implementation PeerProgressIndicatorCell
    2828
    29 #warning exists in 10.5
    3029- (BOOL) hidden
    3130{
Note: See TracChangeset for help on using the changeset viewer.