mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
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:
committed by
Pieter de Bie
parent
85fa5a1d8f
commit
0f09401aa6
@@ -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
|
||||
Reference in New Issue
Block a user