1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 17:17:31 +00:00

old-style spacing

This commit is contained in:
Mitchell Livingston 2014-01-10 18:06:34 +00:00
parent 6be3af35b3
commit 3e22bde5d8

View file

@ -36,7 +36,7 @@
return fileURLs; return fileURLs;
} }
- (NSArray *)menuItems - (NSArray *) menuItems
{ {
NSArray * services = [NSSharingService sharingServicesForItems: [self shareTorrentURLs]]; NSArray * services = [NSSharingService sharingServicesForItems: [self shareTorrentURLs]];
NSMutableArray * items = [NSMutableArray arrayWithCapacity: [services count]]; NSMutableArray * items = [NSMutableArray arrayWithCapacity: [services count]];
@ -56,8 +56,7 @@
return items; return items;
} }
- (void) performShareAction: (NSMenuItem *) item
- (void)performShareAction:(NSMenuItem *)item
{ {
NSSharingService * service = item.representedObject; NSSharingService * service = item.representedObject;
[service performWithItems: [self shareTorrentURLs]]; // on 10.9, use attachmentFileURLs? [service performWithItems: [self shareTorrentURLs]]; // on 10.9, use attachmentFileURLs?