Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (24 sloc) 0.597 kb
//
// PBGitSVFolderItem.m
// GitX
//
// Created by Nathan Kinsinger on 3/2/10.
// Copyright 2010 Nathan Kinsinger. All rights reserved.
//
#import "PBGitSVFolderItem.h"
@implementation PBGitSVFolderItem
+ (id)folderItemWithTitle:(NSString *)title
{
PBGitSVFolderItem *item = [self itemWithTitle:title];
return item;
}
- (NSImage *) icon
{
static NSImage *folderImage = nil;
if (!folderImage) {
folderImage = [[NSWorkspace sharedWorkspace] iconForFileType:NSFileTypeForHFSTypeCode(kGenericFolderIcon)];
[folderImage setSize:NSMakeSize(16,16)];
}
return folderImage;
}
@end
Jump to Line
Something went wrong with that request. Please try again.