mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
allow quicklook of transfers through the inspector; add a quicklook button; move quicklook code from the file controller to the info controller
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
|
||||
#import "FileOutlineView.h"
|
||||
#import "FileOutlineController.h"
|
||||
#import "InfoWindowController.h"
|
||||
#import "FileNameCell.h"
|
||||
#import "FilePriorityCell.h"
|
||||
#import "Torrent.h"
|
||||
@@ -88,11 +89,11 @@
|
||||
{
|
||||
unichar firstChar = [[event charactersIgnoringModifiers] characterAtIndex: 0];
|
||||
if (firstChar == ' ')
|
||||
[(FileOutlineController *)[super delegate] userDidPressSpaceInOutlineView: self];
|
||||
[(InfoWindowController *)[[self window] windowController] toggleQuickLook: nil];
|
||||
else if (firstChar == NSRightArrowFunctionKey)
|
||||
[(FileOutlineController *)[super delegate] userDidPressRightInOutlineView: self];
|
||||
[(InfoWindowController *)[[self window] windowController] quickLookPressRight];
|
||||
else if (firstChar == NSLeftArrowFunctionKey)
|
||||
[(FileOutlineController *)[super delegate] userDidPressLeftInOutlineView: self];
|
||||
[(InfoWindowController *)[[self window] windowController] quickLookPressLeft];
|
||||
else;
|
||||
|
||||
[super keyDown: event];
|
||||
|
||||
Reference in New Issue
Block a user