Changeset 540


Ignore:
Timestamp:
Jul 7, 2006, 1:19:56 AM (16 years ago)
Author:
livings124
Message:

rework prefs for auto import a bit; 30 seconds, not 5

Location:
trunk/macosx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r539 r540  
    258258    [[NSRunLoop currentRunLoop] addTimer: fTimer forMode: NSEventTrackingRunLoopMode];
    259259   
    260     //timer for auto import, will check every 60 seconds
     260    //timer for auto import, will check every 30 seconds
    261261    fAutoImportedNames = [[NSArray alloc] init];
    262262   
    263263    [self checkAutoImportDirectory: nil];
    264     fAutoImportTimer = [NSTimer scheduledTimerWithTimeInterval: 5.0 target: self
     264    fAutoImportTimer = [NSTimer scheduledTimerWithTimeInterval: 30.0 target: self
    265265        selector: @selector(checkAutoImportDirectory:) userInfo: nil repeats: YES];
    266266    [[NSRunLoop currentRunLoop] addTimer: fAutoImportTimer forMode: NSDefaultRunLoopMode];
     
    11761176            if (oldCount < [fTorrents count])
    11771177                [self notifyGrowl: [file stringByAppendingString: @" Imported"] message: @"Torrent file imported"
    1178                                 notification: @"Import Performed"];
     1178                                notification: @"Automatically Add Torrent"];
    11791179        }
    11801180}
     
    17941794         "    tell application \"GrowlHelperApp\"\n"
    17951795         "      register as application \"Transmission\" "
    1796          "        all notifications {\"Download Complete\", \"Import Performed\"}"
    1797          "        default notifications {\"Download Complete\", \"Import Performed\"}"
     1796         "        all notifications {\"Download Complete\", \"Automatically Add Torrent\"}"
     1797         "        default notifications {\"Download Complete\", \"Automatically Add Torrent\"}"
    17981798         "        icon of application \"Transmission\"\n"
    17991799         "    end tell\n"
  • trunk/macosx/English.lproj/PrefsWindow.nib/info.nib

    r539 r540  
    44<dict>
    55        <key>IBDocumentLocation</key>
    6         <string>39 83 356 286 0 0 1152 842 </string>
     6        <string>69 61 356 240 0 0 1152 842 </string>
    77        <key>IBEditorPositions</key>
    88        <dict>
    99                <key>153</key>
    10                 <string>275 334 554 217 0 0 1152 842 </string>
    11                 <key>28</key>
    12                 <string>443 473 554 254 0 0 1440 878 </string>
     10                <string>203 251 554 217 0 0 1152 842 </string>
    1311                <key>41</key>
    14                 <string>241 434 554 342 0 0 1440 878 </string>
    15                 <key>66</key>
    16                 <string>299 526 554 104 0 0 1152 842 </string>
     12                <string>51 387 554 321 0 0 1152 842 </string>
    1713        </dict>
    1814        <key>IBFramework Version</key>
    1915        <string>446.1</string>
    20 <<<<<<< .mine
    21 =======
    2216        <key>IBOpenObjects</key>
    2317        <array>
    24                 <integer>153</integer>
     18                <integer>41</integer>
    2519        </array>
    26 >>>>>>> .r537
    2720        <key>IBSystem Version</key>
    2821        <string>8J135</string>
Note: See TracChangeset for help on using the changeset viewer.