File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
src/com/inet/gradle/setup/dmg/preferences/SetupBuilderOSXPrefPane/Service Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,6 @@ - (void)setService:(Service *)service
4343 }];
4444
4545 NSString *asRootString = localized (@" runAsRoot" );
46-
47- NSString *osxMode = [[NSUserDefaults standardUserDefaults ] stringForKey: @" AppleInterfaceStyle" ];
48- NSColor *color = [@" dark" isEqualToString: osxMode.lowercaseString] ? [NSColor whiteColor ] : [NSColor blueColor ];
4946
5047 for ( NSDictionary *starter in [service starter ] ) {
5148
@@ -65,8 +62,8 @@ - (void)setService:(Service *)service
6562// DLog(@"title: %@", colorTitle);
6663
6764 NSRange titleRange = NSMakeRange (0 , [colorTitle length ]);
68- [colorTitle addAttribute: NSForegroundColorAttributeName value: color range: titleRange];
69- [colorTitle addAttribute: NSUnderlineColorAttributeName value: color range: titleRange];
65+ [colorTitle addAttribute: NSForegroundColorAttributeName value: [ NSColor linkColor ] range: titleRange];
66+ [colorTitle addAttribute: NSUnderlineColorAttributeName value: [ NSColor linkColor ] range: titleRange];
7067 [colorTitle addAttribute: NSUnderlineStyleAttributeName value: [NSNumber numberWithInt: NSUnderlineStyleSingle] range: titleRange];
7168/*
7269 if ( asRoot ) {
You can’t perform that action at this time.
0 commit comments