git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Failed miserably at making Audioscrobbler submissions work.
[MenuTunes.git]
/
MTBlingController.m
diff --git
a/MTBlingController.m
b/MTBlingController.m
index
8e9af92
..
eeb7174
100755
(executable)
--- a/
MTBlingController.m
+++ b/
MTBlingController.m
@@
-50,9
+50,10
@@
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];
}
@@
-75,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