1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 08:13:27 +00:00

display a console message if setting default magnet link app fails

This commit is contained in:
Mitchell Livingston 2009-12-05 15:42:14 +00:00
parent 5756097288
commit 65b8835e1f
2 changed files with 3 additions and 1 deletions

2
NEWS
View file

@ -20,7 +20,7 @@
* Redesigned trackers inspector tab with favicons and copy-paste functionality (paste lists of multiple trackers)
* Message log stores all messages and does real filtering
* Quick Look restored on Snow Leopard
* Moving data and incomplete folders are now handled by libtransmission
* Moving data and incomplete folder are now handled by libtransmission
* Improved reveal in Finder functionality on Snow Leopard
* Various smaller behavior and interface tweaks
==== GTK+ ====

View file

@ -692,6 +692,8 @@ tr_session * fHandle;
{
NSString * bundleID = [[NSBundle mainBundle] bundleIdentifier];
const OSStatus result = LSSetDefaultHandlerForURLScheme((CFStringRef)@"magnet", (CFStringRef)bundleID);
if (result != noErr)
NSLog(@"Failed setting default magnet link handler");
}
- (void) setQueue: (id) sender