+- (NSString *)systemUIColor
+{
+ NSDictionary *tmpDict;
+ NSNumber *tmpNumber;
+ if ( (tmpDict = [NSDictionary dictionaryWithContentsOfFile:[@"~/Library/Preferences/.GlobalPreferences.plist" stringByExpandingTildeInPath]]) ) {
+ if ( (tmpNumber = [tmpDict objectForKey:@"AppleAquaColorVariant"]) ) {
+ if ( ([tmpNumber intValue == 1) ) {
+ return @"Aqua";
+ } else {
+ return @"Graphite";
+ }
+ } else {
+ return @"Aqua";
+ }
+ } else {
+ return @"Aqua";
+ }
+}
+