mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
old-style spacing
This commit is contained in:
parent
6be3af35b3
commit
3e22bde5d8
1 changed files with 2 additions and 3 deletions
|
@ -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?
|
||||||
|
|
Loading…
Reference in a new issue