mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
1b41171d92
- add an action menu for the selected ref in the source view
- add Add Remote, Fetch, Pull and Push buttons to the bottom bar
- Add Remote icon by Nathan Kinsinger
- Fetch, Pull and Push icons are modified versions of André Berg's icons (from 4396081c07) made a bit smaller to fit in the UI better.
- move the status message for both the history view and the commit/stage view
- all PBViewControllers now have status and isBusy properties and can use those to put a message in the bottom bar when they are the active content controller of the window
31 lines
716 B
Objective-C
31 lines
716 B
Objective-C
//
|
|
// PBViewController.h
|
|
// GitX
|
|
//
|
|
// Created by Pieter de Bie on 22-09-08.
|
|
// Copyright 2008 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#import "PBGitRepository.h"
|
|
#import "PBGitWindowController.h"
|
|
|
|
@interface PBViewController : NSViewController {
|
|
__weak PBGitRepository *repository;
|
|
__weak PBGitWindowController *superController;
|
|
|
|
NSString *status;
|
|
BOOL isBusy;
|
|
}
|
|
|
|
@property (readonly) __weak PBGitRepository *repository;
|
|
@property(copy) NSString *status;
|
|
@property(assign) BOOL isBusy;
|
|
|
|
- (id)initWithRepository:(PBGitRepository *)theRepository superController:(PBGitWindowController *)controller;
|
|
- (void) removeView;
|
|
- (void) updateView;
|
|
- (NSResponder *)firstResponder;
|
|
|
|
@end
|