Skip to content

Commit

Permalink
CommitView: Remove cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
pieter committed Sep 13, 2009
1 parent 5323b91 commit 6265c77
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 25 deletions.
3 changes: 0 additions & 3 deletions PBGitCommitController.h
Expand Up @@ -25,9 +25,6 @@

NSString *status;
BOOL busy;

NSDictionary *amendEnvironment;

}

@property(copy) NSString *status;
Expand Down
4 changes: 0 additions & 4 deletions PBGitIndexController.h
Expand Up @@ -23,10 +23,6 @@
IBOutlet NSTableView *stagedTable;
}

@property (assign) int contextSize;

- (NSString *) contextParameter;

- (IBAction) rowClicked:(NSCell *) sender;
- (IBAction) tableClicked:(NSTableView *)tableView;

Expand Down
9 changes: 0 additions & 9 deletions PBGitIndexController.m
Expand Up @@ -20,12 +20,8 @@ - (void)resumeTrackingIndex;

@implementation PBGitIndexController

@synthesize contextSize;

- (void)awakeFromNib
{
contextSize = 3;

[unstagedTable setDoubleAction:@selector(tableClicked:)];
[stagedTable setDoubleAction:@selector(tableClicked:)];

Expand Down Expand Up @@ -315,11 +311,6 @@ - (BOOL)tableView:(NSTableView *)aTableView
return YES;
}

- (NSString *) contextParameter
{
return [[NSString alloc] initWithFormat:@"-U%i", contextSize];
}

# pragma mark WebKit Accessibility

+ (BOOL)isSelectorExcludedFromWebScript:(SEL)aSelector
Expand Down
1 change: 0 additions & 1 deletion PBWebChangesController.h
Expand Up @@ -27,5 +27,4 @@
- (void) setStateMessage:(NSString *)state;

- (void) showMultiple:(NSArray *)files;
- (void) setContextSize:(int)size;
@end
8 changes: 0 additions & 8 deletions PBWebChangesController.m
Expand Up @@ -113,12 +113,4 @@ - (void) setStateMessage:(NSString *)state
[script callWebScriptMethod:@"setState" withArguments: [NSArray arrayWithObject:state]];
}

- (void) setContextSize:(int)size
{
if (size == indexController.contextSize)
return;

indexController.contextSize = size;
[self refresh];
}
@end

0 comments on commit 6265c77

Please sign in to comment.