mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
CommitView: Add context menu to revert changes
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// PBFileChangesTableView.m
|
||||
// GitX
|
||||
//
|
||||
// Created by Pieter de Bie on 09-10-08.
|
||||
// Copyright 2008 Pieter de Bie. All rights reserved.
|
||||
//
|
||||
|
||||
#import "PBFileChangesTableView.h"
|
||||
#import "PBGitCommitController.h"
|
||||
|
||||
@implementation PBFileChangesTableView
|
||||
|
||||
@synthesize controller;
|
||||
|
||||
#pragma mark NSTableView overrides
|
||||
- (NSMenu *)menuForEvent:(NSEvent *)theEvent
|
||||
{
|
||||
if (controller)
|
||||
return [(PBGitCommitController *)controller menuForTable: self];
|
||||
|
||||
return nil;
|
||||
}
|
||||
@end
|
||||
Reference in New Issue
Block a user