Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 34 lines (23 sloc) 0.586 kb
c36726b9 »
2010-01-07 Update the GUI to be more iApp like
1 //
2 // PBGitSVBranchItem.m
3 // GitX
4 //
5 // Created by Nathan Kinsinger on 3/2/10.
6 // Copyright 2010 Nathan Kinsinger. All rights reserved.
7 //
8
9 #import "PBGitSVBranchItem.h"
10
11
12 @implementation PBGitSVBranchItem
13
14
15 + (id)branchItemWithRevSpec:(PBGitRevSpecifier *)revSpecifier
16 {
17 PBGitSVBranchItem *item = [self itemWithTitle:[[revSpecifier description] lastPathComponent]];
18 item.revSpecifier = revSpecifier;
19
20 return item;
21 }
22
23
24 - (NSImage *) icon
25 {
26 static NSImage *branchImage = nil;
27 if (!branchImage)
28 branchImage = [NSImage imageNamed:@"Branch.png"];
29
30 return branchImage;
31 }
32
33 @end
Something went wrong with that request. Please try again.