File tree Expand file tree Collapse file tree 8 files changed +7
-15
lines changed Expand file tree Collapse file tree 8 files changed +7
-15
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ - (NSDragOperation)draggingSourceOperationMaskForLocal:(BOOL) local
21
21
- (void )keyDown : (NSEvent *)event
22
22
{
23
23
NSString * character = [event charactersIgnoringModifiers ];
24
-
24
+
25
25
// Pass on command-shift up/down to the responder. We want the splitview to capture this.
26
26
if ([event modifierFlags ] & NSShiftKeyMask && [event modifierFlags ] & NSCommandKeyMask && ([event keyCode ] == 0x7E || [event keyCode ] == 0x7D )) {
27
27
[self .nextResponder keyDown: event];
28
28
return ;
29
29
}
30
-
30
+
31
31
if ([character isEqualToString: @" " ]) {
32
32
if (controller.selectedCommitDetailsIndex == 0 ) {
33
33
if ([event modifierFlags ] & NSShiftKeyMask )
Original file line number Diff line number Diff line change 14
14
NSString *repositoryPath;
15
15
}
16
16
@property (copy ) NSString *repositoryPath;
17
- - init;
18
- - initWithRepositoryPath : (NSString *)path ;
17
+ - ( id ) init ;
18
+ - ( id ) initWithRepositoryPath : (NSString *)path ;
19
19
@end
Original file line number Diff line number Diff line change 12
12
@implementation PBGitConfig
13
13
@synthesize repositoryPath;
14
14
15
- - init
15
+ - ( id ) init
16
16
{
17
17
repositoryPath = nil ;
18
18
return self;
19
19
}
20
20
21
- - initWithRepositoryPath : (NSString *)path
21
+ - ( id ) initWithRepositoryPath : (NSString *)path
22
22
{
23
23
repositoryPath = path;
24
24
return self;
Original file line number Diff line number Diff line change @@ -250,8 +250,6 @@ - (void) addRef: (PBGitRef *) ref fromParameters: (NSArray *) components
250
250
- (void ) reloadRefs
251
251
{
252
252
_headRef = nil ;
253
- BOOL ret = NO ;
254
-
255
253
refs = [NSMutableDictionary dictionary ];
256
254
NSMutableArray *oldBranches = [branches mutableCopy ];
257
255
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ - (id)initWithRepository:(PBGitRepository *)theRepository superController:(PBGit
42
42
- (void )awakeFromNib
43
43
{
44
44
[super awakeFromNib ];
45
- window.contentView = self. view ;
45
+ window.contentView = [ self view ] ;
46
46
[self populateList ];
47
47
48
48
historyViewController = [[PBGitHistoryController alloc ] initWithRepository: repository superController: superController];
Original file line number Diff line number Diff line change 9
9
#import " PBRefController.h"
10
10
#import " PBGitRevisionCell.h"
11
11
#import " PBRefMenuItem.h"
12
- #import " KBPopUpToolbarItem.h"
13
12
#import " PBCreateBranchSheet.h"
14
13
#import " PBCreateTagSheet.h"
15
14
#import " PBGitDefaults.h"
Original file line number Diff line number Diff line change 28
28
- (NSResponder *)firstResponder ;
29
29
- (IBAction ) refresh : (id )sender ;
30
30
31
- - (IBAction ) refresh : (id )sender ;
32
31
@end
Original file line number Diff line number Diff line change @@ -43,10 +43,6 @@ - (void) updateView
43
43
{
44
44
}
45
45
46
- - (IBAction ) refresh : sender
47
- {
48
- }
49
-
50
46
- (NSResponder *)firstResponder ;
51
47
{
52
48
return nil ;
You can’t perform that action at this time.
0 commit comments