Skip to content

Commit

Permalink
Merge pull request #7 from jnbrewster/patch-1
Browse files Browse the repository at this point in the history
Added setTemplate to the StatusBar image. This will change the menuba…
  • Loading branch information
puffnfresh committed Oct 27, 2015
2 parents 1950e14 + f4daf3b commit 6ae634d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Honer/HonerApplicationDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ - (void)applicationDidFinishLaunching:(NSNotification *)notification
self.statusBar.image = [[NSImage alloc] initWithContentsOfFile: [[NSBundle mainBundle] pathForResource: @"icon-statusitem" ofType: @"pdf"]];
self.statusBar.highlightMode = YES;
self.statusBar.menu = self.statusBarMenu;
[self.statusBar.image setTemplate:YES];


NSNotificationCenter *center = [[NSWorkspace sharedWorkspace] notificationCenter];
[center addObserver:self selector:@selector(onDeactivate:) name:NSWorkspaceDidDeactivateApplicationNotification object:nil];
Expand Down

0 comments on commit 6ae634d

Please sign in to comment.