Changeset 734
- Timestamp:
- Aug 7, 2006, 1:03:14 AM (17 years ago)
- Location:
- trunk/macosx
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r733 r734 1345 1345 [fInfoController updateInfoStatsAndSettings]; 1346 1346 1347 if ([fDefaults boolForKey: @"PlaySeedingSound"]) 1348 { 1349 NSSound * sound; 1350 if ((sound = [NSSound soundNamed: @"Submarine"])) 1351 [sound play]; 1352 } 1353 1347 1354 [GrowlApplicationBridge notifyWithTitle: @"Seeding Complete" description: [[notification object] name] 1348 1355 notificationName: GROWL_SEEDING_COMPLETE iconData: nil priority: 0 isSticky: NO clickContext: nil]; -
trunk/macosx/Defaults.plist
r733 r734 3 3 <plist version="1.0"> 4 4 <dict> 5 <key></key>6 <string></string>7 5 <key>AutoImport</key> 8 6 <false/> … … 53 51 <key>PlayDownloadSound</key> 54 52 <true/> 53 <key>PlaySeedingSound</key> 54 <false/> 55 55 <key>RatioCheck</key> 56 56 <false/> -
trunk/macosx/English.lproj/PrefsWindow.nib/classes.nib
r733 r734 41 41 fNetworkView = NSView; 42 42 fPlayDownloadSoundCheck = NSButton; 43 fPlaySeedingSoundCheck = NSButton; 43 44 fPortField = NSTextField; 44 45 fQuitCheck = NSButton; -
trunk/macosx/English.lproj/PrefsWindow.nib/info.nib
r733 r734 12 12 <string>139 281 538 290 0 0 1152 842 </string> 13 13 <key>41</key> 14 <string>1 61 333 584 3550 0 1152 842 </string>14 <string>115 371 538 378 0 0 1152 842 </string> 15 15 <key>66</key> 16 16 <string>353 613 538 104 0 0 1152 842 </string> -
trunk/macosx/PrefsController.h
r733 r734 38 38 * fQuitDownloadingCheck, * fRemoveDownloadingCheck, 39 39 * fBadgeDownloadRateCheck, * fBadgeUploadRateCheck, 40 * fPlayDownloadSoundCheck, 40 * fPlayDownloadSoundCheck, * fPlaySeedingSoundCheck, 41 41 * fCopyTorrentCheck, * fDeleteOriginalTorrentCheck, 42 42 * fAutoImportCheck, * fAutoSizeCheck; -
trunk/macosx/PrefsController.m
r733 r734 194 194 //set play sound 195 195 [fPlayDownloadSoundCheck setState: [fDefaults boolForKey: @"PlayDownloadSound"]]; 196 [fPlaySeedingSoundCheck setState: [fDefaults boolForKey: @"PlaySeedingSound"]]; 196 197 197 198 //set start setting … … 516 517 - (void) setPlaySound: (id) sender 517 518 { 518 [fDefaults setBool: [sender state] forKey: @"PlayDownloadSound"]; 519 if (sender == fPlayDownloadSoundCheck) 520 [fDefaults setBool: [sender state] forKey: @"PlayDownloadSound"]; 521 else if (sender == fPlaySeedingSoundCheck) 522 [fDefaults setBool: [sender state] forKey: @"PlaySeedingSound"]; 523 else; 519 524 } 520 525
Note: See TracChangeset
for help on using the changeset viewer.