parent
558c737226
commit
d9348efb1e
|
@ -62,11 +62,6 @@ static const NSTimeInterval kTimeoutInterval = 60.0;
|
|||
LTLoadLanguageModel();
|
||||
|
||||
[self checkForUpdate];
|
||||
|
||||
if (0) {
|
||||
PreferencesWindowController *controller = [[PreferencesWindowController alloc] initWithWindowNibName:@"preferences"];
|
||||
[[controller window] orderFront:nil];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)checkForUpdate
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
@interface VTCandidateController : NSWindowController
|
||||
{
|
||||
@protected
|
||||
__weak id<VTCandidateControllerDelegate> _delegate;
|
||||
id<VTCandidateControllerDelegate> _delegate;
|
||||
NSArray *_keyLabels;
|
||||
NSFont *_keyLabelFont;
|
||||
NSFont *_candidateFont;
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
NSUInteger _highlightedIndex;
|
||||
NSUInteger _trackingHighlightedIndex;
|
||||
SEL _action;
|
||||
__weak id _target;
|
||||
id _target;
|
||||
}
|
||||
|
||||
- (void)setKeyLabels:(NSArray *)labels displayedCandidates:(NSArray *)candidates;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<key>CFBundleIconFile</key>
|
||||
<string>McBopomofo.icns</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>org.openvanilla.McBopomofo.${PRODUCT_NAME:rfc1034identifier}</string>
|
||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<key>CFBundleIconFile</key>
|
||||
<string>McBopomofo.icns</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>org.openvanilla.inputmethod.McBopomofo</string>
|
||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
|
|
|
@ -82,7 +82,7 @@ int main(int argc, char *argv[])
|
|||
NSLog(@"Enabling input source %@ at %@.", bundleID, [bundleURL absoluteString]);
|
||||
BOOL status = [OVInputSourceHelper enableInputSource:inputSource];
|
||||
|
||||
if (!status != noErr) {
|
||||
if (!status) {
|
||||
NSLog(@"Fatal error: Cannot enable input source %@.", bundleID);
|
||||
[pool drain];
|
||||
return -1;
|
||||
|
|
Loading…
Reference in New Issue