mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
0f09401aa6
This adds a preference window with default preferences to change the sparkle options and to set a custom path to a git binary.
30 lines
758 B
Objective-C
30 lines
758 B
Objective-C
//
|
|
// PBPrefsWindowController.h
|
|
// GitX
|
|
//
|
|
// Created by Christian Jacobsen on 02/10/2008.
|
|
// Copyright 2008 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#import "DBPrefsWindowController.h"
|
|
|
|
@interface PBPrefsWindowController : DBPrefsWindowController {
|
|
/* Outlets for Preference Views */
|
|
IBOutlet NSView *generalPrefsView;
|
|
IBOutlet NSView *updatesPrefsView;
|
|
|
|
/* Variables for the Updates View */
|
|
IBOutlet NSPathControl *gitPathController;
|
|
IBOutlet NSImageView *badGitPathIcon;
|
|
IBOutlet NSView *gitPathOpenAccessory;
|
|
NSOpenPanel *gitPathOpenPanel;
|
|
|
|
}
|
|
|
|
- (IBAction) checkGitValidity: sender;
|
|
- (void)pathCell:(NSPathCell *)pathCell willDisplayOpenPanel:(NSOpenPanel *)openPanel;
|
|
- (IBAction) showHideAllFiles: sender;
|
|
|
|
@end
|