Move the rename menu item to the File menu.

This commit is contained in:
Mitchell Livingston
2013-01-23 03:46:04 +00:00
parent 45c8174cc2
commit c6290bcd71
3 changed files with 40 additions and 45 deletions

View File

@@ -75,12 +75,7 @@ typedef void (^CompletionBlock)(BOOL);
[super windowDidLoad];
NSString * name = self.node ? [self.node name] : [self.torrent name];
NSString * label;
if (self.node)
label = [NSString stringWithFormat: NSLocalizedString(@"Rename \"%@\":", "rename sheet label"), name];
else
label = [NSString stringWithFormat: NSLocalizedString(@"Rename the transfer \"%@\":", "rename sheet label"), name];
NSString * label = [NSString stringWithFormat: NSLocalizedString(@"Rename the file \"%@\":", "rename sheet label"), name];
[self.labelField setStringValue: label];
[self.inputField setStringValue: name];