mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
c36726b985
- In PBGitSidebarView.xib
- change indentation to 12
- change font size to 11
- disable the editable behavior
- disable autoresizing
- disable user resizing (column should resize with view)
- remove the window
- remove the shared user defaults controller (not being used)
- add a project item with the project's name
- a "Stage" item to go to what has been called the commit view
- new icons for branches, remote branches and tags (created by Nathan Kinsinger)
- remove the old tiff icons, PBSourceViewRemote.h/m and PBSourceViewAction.h/m from the xcode project
- uses system icon for folder
- uses Network icon for remotes
- capitalize group names
- rename the Custom group to Other (you can't really customize items in the traditional sense)
- create a class for each item type that takes care of it's image (instead of trying to guess the image from it or it's parent's name)
- remove the branch menu toolbar item from the history view, it's redundant now
47 lines
1.3 KiB
Objective-C
47 lines
1.3 KiB
Objective-C
//
|
|
// PBLabelController.h
|
|
// GitX
|
|
//
|
|
// Created by Pieter de Bie on 21-10-08.
|
|
// Copyright 2008 Pieter de Bie. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#import "PBGitHistoryController.h"
|
|
#import "PBCommitList.h"
|
|
#import "PBGitRef.h"
|
|
#import "PBGitCommit.h"
|
|
#import "PBRefContextDelegate.h"
|
|
|
|
@class PBRefMenuItem;
|
|
|
|
@interface PBRefController : NSObject <PBRefContextDelegate> {
|
|
IBOutlet __weak PBGitHistoryController *historyController;
|
|
IBOutlet NSArrayController *commitController;
|
|
IBOutlet PBCommitList *commitList;
|
|
|
|
IBOutlet NSPopUpButton *branchPopUp;
|
|
}
|
|
|
|
- (void) fetchRemote:(PBRefMenuItem *)sender;
|
|
- (void) pullRemote:(PBRefMenuItem *)sender;
|
|
- (void) pushUpdatesToRemote:(PBRefMenuItem *)sender;
|
|
- (void) pushDefaultRemoteForRef:(PBRefMenuItem *)sender;
|
|
- (void) pushToRemote:(PBRefMenuItem *)sender;
|
|
|
|
- (void) checkout:(PBRefMenuItem *)sender;
|
|
- (void) merge:(PBRefMenuItem *)sender;
|
|
- (void) cherryPick:(PBRefMenuItem *)sender;
|
|
- (void) rebaseHeadBranch:(PBRefMenuItem *)sender;
|
|
- (void) createBranch:(PBRefMenuItem *)sender;
|
|
- (void) copySHA:(PBRefMenuItem *)sender;
|
|
- (void) copyPatch:(PBRefMenuItem *)sender;
|
|
- (void) createTag:(PBRefMenuItem *)sender;
|
|
- (void) showTagInfoSheet:(PBRefMenuItem *)sender;
|
|
|
|
- (NSArray *) menuItemsForRef:(PBGitRef *)ref;
|
|
- (NSArray *) menuItemsForCommit:(PBGitCommit *)commit;
|
|
|
|
|
|
@end
|