Permalink
Browse files

Merge pull request #192 from josh-/highlighting-fix

Fix bug where the statusItem wouldn't be highlighted upon selection
  • Loading branch information...
2 parents 27d473f + 5fdfce4 commit f0a16d892354e283758cb67a63f328d85812867e @jigish committed Dec 28, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 Slate/SlateAppDelegate.m
View
4 Slate/SlateAppDelegate.m
@@ -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

0 comments on commit f0a16d8

Please sign in to comment.