Removed Audioscrobbler NSLog debug
[MenuTunes.git] / MTBlingController.m
index 7541747..eeb7174 100755 (executable)
@@ -32,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];
 }
 
@@ -72,6 +76,9 @@
 - (void)registerLater:(id)sender
 {
     [window orderOut:self];
 - (void)registerLater:(id)sender
 {
     [window orderOut:self];
+       if ([[NSDate date] timeIntervalSinceDate:[[MainController sharedController] getBlingTime]] >= 604800) {
+               [NSApp terminate:nil];
+       }
 }
 
 - (void)verifyKey:(id)sender
 }
 
 - (void)verifyKey:(id)sender