Skip to content

Instantly share code, notes, and snippets.

@smorr
smorr / MailApp.m
Created August 2, 2017 14:15 — forked from lukele/MailApp.m
- (void)MASetPreferencesController:(NSWindowController *)windowController {
// minor test to change code here
[self MASetPreferencesController:windowController];
if(!windowController) {
return;
}
NSToolbarItem *toolbarItem = [[NSToolbarItem alloc] initWithItemIdentifier:@"gpgmail"];
toolbarItem.label = @"GPGMail";
toolbarItem.image = [NSImage imageNamed:@"GPGMail"];