Updated internal version tag used for registration checking.
[MenuTunes.git] / MTBlingController.m
index 8e9af92..eeb7174 100755 (executable)
     if ( ! window ) {
         window = [MTShizzleWindow sharedWindowForSender:self];
     }
-
+    [NSApp activateIgnoringOtherApps:YES];
     [window center];
-    [window makeKeyAndOrderFront:nil];
+    [window orderFrontRegardless];
+    [window makeKeyWindow];
 //  [window setLevel:NSStatusWindowLevel];
 }
 
@@ -75,6 +76,9 @@
 - (void)registerLater:(id)sender
 {
     [window orderOut:self];
+       if ([[NSDate date] timeIntervalSinceDate:[[MainController sharedController] getBlingTime]] >= 604800) {
+               [NSApp terminate:nil];
+       }
 }
 
 - (void)verifyKey:(id)sender