More bugfixes to networking. Small fix in Preferences. Show Player app launch is...
[MenuTunes.git] / MTBlingController.m
index fb1a66b..a09be61 100755 (executable)
@@ -8,6 +8,7 @@
 
 #import "MTBlingController.h"
 #import "MTeSerialNumber.h"
 
 #import "MTBlingController.h"
 #import "MTeSerialNumber.h"
+#import "MainController.h"
 
 #define APP_SUPPORT_PATH_STRING [@"~/Library/Application Support/MenuTunes/" stringByExpandingTildeInPath]
 #define LICENSE_PATH_STRING [APP_SUPPORT_PATH_STRING stringByAppendingString:@"/.license"]
 
 #define APP_SUPPORT_PATH_STRING [@"~/Library/Application Support/MenuTunes/" stringByExpandingTildeInPath]
 #define LICENSE_PATH_STRING [APP_SUPPORT_PATH_STRING stringByAppendingString:@"/.license"]
@@ -31,6 +32,9 @@
 - (void)_IT {}
 - (void)_YOU {}
 - (void)_TIGHTWAD {}
 - (void)_IT {}
 - (void)_YOU {}
 - (void)_TIGHTWAD {}
+- (void)_HAHAHA {}
+- (void)_LOLOL {}
+- (void)_FIVERSKATES {}
 
 - (id)init
 {
 
 - (id)init
 {
     if ( ! window ) {
         window = [MTShizzleWindow sharedWindowForSender:self];
     }
     if ( ! window ) {
         window = [MTShizzleWindow sharedWindowForSender:self];
     }
-
+    [NSApp activateIgnoringOtherApps:YES];
     [window center];
     [window center];
-    [window makeKeyAndOrderFront:nil];
+    [window orderFrontRegardless];
+    [window makeKeyWindow];
 //  [window setLevel:NSStatusWindowLevel];
 }
 
 //  [window setLevel:NSStatusWindowLevel];
 }
 
                           nil, nil, nil,
                           NSLocalizedString(@"failed_msg", @"Failed Message"));
     }
                           nil, nil, nil,
                           NSLocalizedString(@"failed_msg", @"Failed Message"));
     }
-    
+    [[MainController sharedController] blingTime];
 }
 
 - (int)checkKeyFile
 }
 
 - (int)checkKeyFile
 {
     if ( ! (checkDone == 2475) ) {
         if ( ! ([self checkKeyFile] == 7465) ) {
 {
     if ( ! (checkDone == 2475) ) {
         if ( ! ([self checkKeyFile] == 7465) ) {
-            return 0
+            checkDone = 0;
         } else {
         } else {
-            return 2475;
+            checkDone = 2475;
         }
     }
         }
     }
+    return checkDone;
 }
 
 - (void)finishValidSheet:(NSWindow *)sheet returnCode:(int)returnCode contextInfo:(void *)contextInfo
 }
 
 - (void)finishValidSheet:(NSWindow *)sheet returnCode:(int)returnCode contextInfo:(void *)contextInfo