Changeset 1588


Ignore:
Timestamp:
Mar 24, 2007, 5:31:10 PM (15 years ago)
Author:
livings124
Message:

preference to not give warning about remaining space

Location:
trunk/macosx
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Defaults.plist

    r1435 r1588  
    6969        <key>QueueDownloadNumber</key>
    7070        <integer>3</integer>
    71     <key>QueueSeed</key>
     71        <key>QueueSeed</key>
    7272        <false/>
    73     <key>QueueSeedNumber</key>
     73        <key>QueueSeedNumber</key>
    7474        <integer>3</integer>
    7575        <key>RatioCheck</key>
     
    7777        <key>RatioLimit</key>
    7878        <integer>2</integer>
     79        <key>RemainingSpaceWarning</key>
     80        <true/>
    7981        <key>SUScheduledCheckInterval</key>
    8082        <integer>86400</integer>
  • trunk/macosx/English.lproj/PrefsWindow.nib/info.nib

    r1577 r1588  
    1010                <string>294 445 563 268 0 0 1152 842 </string>
    1111                <key>28</key>
    12                 <string>294 433 563 290 0 0 1152 842 </string>
     12                <string>92 421 563 320 0 0 1152 842 </string>
    1313                <key>41</key>
    1414                <string>189 445 563 305 0 0 1152 842 </string>
  • trunk/macosx/PrefsController.h

    r1577 r1588  
    6161- (void) setUpdater: (SUUpdater *) updater;
    6262
    63 - (void) setBadge:          (id) sender;
    64 - (void) setSound:          (id) sender;
    65 - (void) setUpdate:         (id) sender;
     63- (void) setBadge: (id) sender;
     64- (void) setSound: (id) sender;
     65- (void) setUpdate: (id) sender;
    6666
    67 - (void) setQueue:          (id) sender;
    68 - (void) setQueueNumber:    (id) sender;
     67- (void) setQueue: (id) sender;
     68- (void) setQueueNumber: (id) sender;
    6969
    70 - (void) setDownloadLocation:       (id) sender;
    71 - (void) folderSheetShow:           (id) sender;
     70- (void) setDownloadLocation: (id) sender;
     71- (void) folderSheetShow: (id) sender;
    7272- (void) incompleteFolderSheetShow: (id) sender;
    7373
    74 - (void) setPort:   (id) sender;
     74- (void) setPort: (id) sender;
    7575- (void) updatePortStatus;
    7676- (void) portCheckerDidFinishProbing: (PortChecker *) portChecker;
    77 - (void) setNat:    (id) sender;
     77- (void) setNat: (id) sender;
    7878- (void) updateNatStatus;
    7979
  • trunk/macosx/Torrent.m

    r1579 r1588  
    648648- (BOOL) alertForRemainingDiskSpace
    649649{
    650     if ([self allDownloaded])
     650    if ([self allDownloaded] || ![fDefaults boolForKey: @"RemainingSpaceWarning"])
    651651        return YES;
    652652   
     
    656656    uint64_t remainingSpace = [[fsAttributes objectForKey: NSFileSystemFreeSize] unsignedLongLongValue],
    657657            torrentRemaining = [self size] - (uint64_t)[self downloadedValid];
    658    
    659     /*NSLog(@"Volume: %@", volumeName);
    660     NSLog(@"Remaining disk space: %qu (%@)", remainingSpace, [NSString stringForFileSize: remainingSpace]);
    661     NSLog(@"Torrent remaining size: %qu (%@)", torrentRemaining, [NSString stringForFileSize: torrentRemaining]);*/
    662658   
    663659    if (volumeName && remainingSpace <= torrentRemaining)
  • trunk/macosx/TorrentCell.m

    r1577 r1588  
    8484- (void) placeBar: (NSImage *) barImage width: (float) width point: (NSPoint) point
    8585{
     86    if (width <= 0.0)
     87        return;
     88   
    8689    if ([barImage size].width < width)
    8790        [barImage setSize: NSMakeSize(width * 2.0, BAR_HEIGHT)];
Note: See TracChangeset for help on using the changeset viewer.