draft #1 of #2369 - use public API for QuickLook on 10.6 (and drop the hack for 10.5-support)

This commit is contained in:
Mitchell Livingston
2009-09-04 04:10:46 +00:00
parent ae675f3d6f
commit 5e2ef3aa89
12 changed files with 180 additions and 354 deletions

View File

@@ -28,7 +28,7 @@
#import "FilePriorityCell.h"
#import "FileListNode.h"
#import "NSApplicationAdditions.h"
#import "QuickLookController.h"
#import <Quartz/Quartz.h>
#define ROW_SMALL_HEIGHT 18.0
@@ -132,7 +132,8 @@ typedef enum
- (void) outlineViewSelectionDidChange: (NSNotification *) notification
{
[[QuickLookController quickLook] updateQuickLook];
if ([QLPreviewPanel sharedPreviewPanelExists] && [[QLPreviewPanel sharedPreviewPanel] isVisible])
[[QLPreviewPanel sharedPreviewPanel] reloadData];
}
- (NSInteger) outlineView: (NSOutlineView *) outlineView numberOfChildrenOfItem: (id) item