Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 35 lines (24 sloc) 0.597 kb
c36726b Nathan Kinsinger Update the GUI to be more iApp like
authored
1 //
2 // PBGitSVFolderItem.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 "PBGitSVFolderItem.h"
10
11
12 @implementation PBGitSVFolderItem
13
14
15 + (id)folderItemWithTitle:(NSString *)title
16 {
17 PBGitSVFolderItem *item = [self itemWithTitle:title];
18
19 return item;
20 }
21
22
23 - (NSImage *) icon
24 {
25 static NSImage *folderImage = nil;
26 if (!folderImage) {
27 folderImage = [[NSWorkspace sharedWorkspace] iconForFileType:NSFileTypeForHFSTypeCode(kGenericFolderIcon)];
28 [folderImage setSize:NSMakeSize(16,16)];
29 }
30
31 return folderImage;
32 }
33
34 @end
Something went wrong with that request. Please try again.