Remove bundle icon from notification window

This commit is contained in:
Russell Hancox
2015-01-28 19:08:48 -05:00
parent 6335a02404
commit 95a334dbaf
2 changed files with 0 additions and 11 deletions

View File

@@ -39,7 +39,4 @@
/// An optional message to display with this block.
@property(readonly) IBOutlet NSAttributedString *attributedCustomMessage;
/// If the binary is part of a bundle, this is the icon for that bundle
@property(readonly) IBOutlet NSImage *bundleIcon;
@end

View File

@@ -107,12 +107,4 @@
}
}
- (NSImage *)bundleIcon {
SNTBinaryInfo *bi = [[SNTBinaryInfo alloc] initWithPath:self.event.path];
if (!bi || !bi.bundle) return nil;
return [[NSWorkspace sharedWorkspace] iconForFile:bi.bundlePath];
}
@end