Skip to content


Subversion checkout URL

You can clone with
Download ZIP
tree: 8e3203f9dc
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (30 sloc) 1.104 kb
#import "PassengerPref.h"
@implementation PassengerPref
- (void) mainViewDidLoad {
[[CLI sharedInstance] setPathToCLI:[[self bundle] pathForResource:@"ppane" ofType:nil inDirectory:@"bin"]];
[self setupUI];
[self setupAuthorizationView];
[self setupApplicationView];
- (void)setupUI {
NSImage *browserButtonImage;
[passengerIconView setImage:[[NSImage alloc] initByReferencingFile:[[self bundle] pathForImageResource:@"label"]]];
browserButtonImage = [[NSImage alloc] initByReferencingFile:[[self bundle] pathForImageResource:@"OpenInBrowserTemplate"]];
[browserButtonImage setTemplate:true];
[openInBrowserButton setImage:browserButtonImage];
textStateColor = NSColor.disabledControlTextColor;
- (void)setupAuthorizationView {
authorized = false;
[authorizationView setString:kAuthorizationRightExecute];
[authorizationView setDelegate:self];
[authorizationView setAutoupdate:true];
[authorizationView updateStatus:self];
- (void)setupApplicationView {
applications = [[CLI sharedInstance] listApplications];
- (Boolean)isDirty {
return false;
Jump to Line
Something went wrong with that request. Please try again.