We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 257b25b + 12c220f commit fea925dCopy full SHA for fea925d
ShadowsocksX/SWBAppDelegate.m
@@ -55,8 +55,11 @@ - (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
55
[webServer startWithPort:8090 bonjourName:@"webserver"];
56
57
self.item = [[NSStatusBar systemStatusBar] statusItemWithLength:20];
58
- self.item.image = [NSImage imageNamed:@"menu_icon"];
+ NSImage *image = [NSImage imageNamed:@"menu_icon"];
59
+ [image setTemplate:YES];
60
+ self.item.image = image;
61
self.item.highlightMode = YES;
62
+
63
NSMenu *menu = [[NSMenu alloc] initWithTitle:@"Shadowsocks"];
64
[menu setMinimumWidth:200];
65
0 commit comments