Permalink
Browse files

CommitView: Remove cruft

  • Loading branch information...
1 parent 5323b91 commit 6265c774ac8893c38ef462a057fd0e111604bf37 @pieter pieter committed Sep 13, 2009
Showing with 0 additions and 25 deletions.
  1. +0 −3 PBGitCommitController.h
  2. +0 −4 PBGitIndexController.h
  3. +0 −9 PBGitIndexController.m
  4. +0 −1 PBWebChangesController.h
  5. +0 −8 PBWebChangesController.m
View
@@ -25,9 +25,6 @@
NSString *status;
BOOL busy;
-
- NSDictionary *amendEnvironment;
-
}
@property(copy) NSString *status;
View
@@ -23,10 +23,6 @@
IBOutlet NSTableView *stagedTable;
}
-@property (assign) int contextSize;
-
-- (NSString *) contextParameter;
-
- (IBAction) rowClicked:(NSCell *) sender;
- (IBAction) tableClicked:(NSTableView *)tableView;
View
@@ -20,12 +20,8 @@ - (void)resumeTrackingIndex;
@implementation PBGitIndexController
-@synthesize contextSize;
-
- (void)awakeFromNib
{
- contextSize = 3;
-
[unstagedTable setDoubleAction:@selector(tableClicked:)];
[stagedTable setDoubleAction:@selector(tableClicked:)];
@@ -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
View
@@ -27,5 +27,4 @@
- (void) setStateMessage:(NSString *)state;
- (void) showMultiple:(NSArray *)files;
-- (void) setContextSize:(int)size;
@end
View
@@ -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.