Skip to content

Commit

Permalink
Merge pull request #192 from josh-/highlighting-fix
Browse files Browse the repository at this point in the history
Fix bug where the statusItem wouldn't be highlighted upon selection
  • Loading branch information
jigish committed Dec 28, 2012
2 parents 27d473f + 5fdfce4 commit f0a16d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Slate/SlateAppDelegate.m
Expand Up @@ -475,7 +475,9 @@ - (void)awakeFromNib {

statusItem = [[NSStatusBar systemStatusBar] statusItemWithLength: NSVariableStatusItemLength];
[statusItem setMenu:statusMenu];
[statusItem setImage:[NSImage imageNamed:@"status"]];
NSImage *statusImage = [NSImage imageNamed:@"status"];
[statusImage setTemplate:YES];
[statusItem setImage:statusImage];
[statusItem setHighlightMode:YES];

// Ensure no timer exists
Expand Down

0 comments on commit f0a16d8

Please sign in to comment.