git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixing some more registration bugs...
[MenuTunes.git]
/
MTBlingController.m
diff --git
a/MTBlingController.m
b/MTBlingController.m
index
bc20477
..
638a2f1
100755
(executable)
--- a/
MTBlingController.m
+++ b/
MTBlingController.m
@@
-49,7
+49,7
@@
[window center];
[window makeKeyAndOrderFront:nil];
[window center];
[window makeKeyAndOrderFront:nil];
-
[window setLevel:NSStatusWindowLevel];
+
//
[window setLevel:NSStatusWindowLevel];
}
- (void)showPanelIfNeeded
}
- (void)showPanelIfNeeded
@@
-82,7
+82,7
@@
name:o
extra:nil
publisher:@"04611"] autorelease];
name:o
extra:nil
publisher:@"04611"] autorelease];
- if (
[s isValid] == ITeSerialNumberIsValid && ( [[s infoDictionary] objectForKey:@"appIdentifier"] == @"MT"
) ) {
+ if (
([s isValid] == ITeSerialNumberIsValid) && ( [[[s infoDictionary] objectForKey:@"appIdentifier"] isEqualToString:@"MT"]
) ) {
NSFileManager *fm = [NSFileManager defaultManager];
NSFileManager *fm = [NSFileManager defaultManager];
@@
-124,7
+124,7
@@
MTeSerialNumber *k = [[[MTeSerialNumber alloc] initWithContentsOfFile:p
extra:@""
publisher:@"04611"] autorelease];
MTeSerialNumber *k = [[[MTeSerialNumber alloc] initWithContentsOfFile:p
extra:@""
publisher:@"04611"] autorelease];
- if ( k &&
[k isValid] == ITeSerialNumberIsValid && ( [[k infoDictionary] objectForKey:@"appIdentifier"] == @"MT"
)) {
+ if ( k &&
([k isValid] == ITeSerialNumberIsValid) && ( [[[k infoDictionary] objectForKey:@"appIdentifier"] isEqualToString:@"MT"]
)) {
return 7465;
} else {
[[NSFileManager defaultManager] removeFileAtPath:p handler:nil];
return 7465;
} else {
[[NSFileManager defaultManager] removeFileAtPath:p handler:nil];