We are not ready for this yet.

This commit is contained in:
Mengjuei Hsieh 2011-10-01 02:31:42 -07:00
parent 6cd2bc0d67
commit cf65a7d64b
1 changed files with 2 additions and 0 deletions

View File

@ -161,6 +161,7 @@ public:
// If Option key is pressed, show the learning-related menu
#if DEBUG
if ([[NSEvent class] respondsToSelector:@selector(modifierFlags)] && ([NSEvent modifierFlags] & NSAlternateKeyMask)) {
BOOL learningEnabled = ![[NSUserDefaults standardUserDefaults] boolForKey:kDisableUserCandidateSelectionLearning];
@ -185,6 +186,7 @@ public:
[menu addItem:dumpMenuItem];
}
}
#endif //DEBUG
NSMenuItem *aboutMenuItem = [[[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"About McBopomofo…", @"") action:@selector(showAbout:) keyEquivalent:@""] autorelease];
[menu addItem:aboutMenuItem];