Changeset 9406
- Timestamp:
- Oct 25, 2009, 7:29:30 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r9391 r9406 1782 1782 } 1783 1783 1784 #warning dataLocation could return nil 1785 NSDictionary * clickContext = [NSDictionary dictionaryWithObjectsAndKeys: GROWL_DOWNLOAD_COMPLETE, @"Type", 1786 [torrent dataLocation] , @"Location", nil]; 1784 NSMutableDictionary * clickContext = [NSMutableDictionary dictionaryWithObject: GROWL_DOWNLOAD_COMPLETE forKey: @"Type"]; 1785 1786 NSString * location = [torrent dataLocation]; 1787 if (location) 1788 [clickContext setObject: location forKey: @"Location"]; 1789 1787 1790 [GrowlApplicationBridge notifyWithTitle: NSLocalizedString(@"Download Complete", "Growl notification title") 1788 1791 description: [torrent name] notificationName: GROWL_DOWNLOAD_COMPLETE … … 1844 1847 } 1845 1848 1846 #warning dataLocation could return nil 1847 NSDictionary * clickContext = [NSDictionary dictionaryWithObjectsAndKeys: GROWL_SEEDING_COMPLETE, @"Type", 1848 [torrent dataLocation], @"Location", nil]; 1849 NSMutableDictionary * clickContext = [NSMutableDictionary dictionaryWithObject: GROWL_SEEDING_COMPLETE forKey: @"Type"]; 1850 1851 NSString * location = [torrent dataLocation]; 1852 if (location) 1853 [clickContext setObject: location forKey: @"Location"]; 1854 1849 1855 [GrowlApplicationBridge notifyWithTitle: NSLocalizedString(@"Seeding Complete", "Growl notification title") 1850 1856 description: [torrent name] notificationName: GROWL_SEEDING_COMPLETE
Note: See TracChangeset
for help on using the changeset viewer.