mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
e76d483180
This allows you to drag a changed file to for example XCode, so you can edit it.
28 lines
498 B
Objective-C
28 lines
498 B
Objective-C
//
|
|
// PBFileChangesTableView.m
|
|
// GitX
|
|
//
|
|
// Created by Pieter de Bie on 09-10-08.
|
|
// Copyright 2008 Pieter de Bie. All rights reserved.
|
|
//
|
|
|
|
#import "PBFileChangesTableView.h"
|
|
|
|
@implementation PBFileChangesTableView
|
|
|
|
#pragma mark NSTableView overrides
|
|
- (NSMenu *)menuForEvent:(NSEvent *)theEvent
|
|
{
|
|
if ([self delegate])
|
|
return [[self delegate] menuForTable: self];
|
|
|
|
return nil;
|
|
}
|
|
|
|
- (NSDragOperation) draggingSourceOperationMaskForLocal:(BOOL) local
|
|
{
|
|
return NSDragOperationEvery;
|
|
}
|
|
|
|
@end
|