Add a preferences window

This adds a preference window with default preferences to change the
sparkle options and to set a custom path to a git binary.
This commit is contained in:
Christian Jacobsen
2008-10-02 17:46:30 +02:00
committed by Pieter de Bie
parent 85fa5a1d8f
commit 0f09401aa6
13 changed files with 39258 additions and 7 deletions
+29
View File
@@ -0,0 +1,29 @@
//
// 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