From cf65a7d64b21d1e52a66d823194bf86edc7bb078 Mon Sep 17 00:00:00 2001 From: Mengjuei Hsieh Date: Sat, 1 Oct 2011 02:31:42 -0700 Subject: [PATCH] We are not ready for this yet. --- Source/InputMethodController.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/InputMethodController.mm b/Source/InputMethodController.mm index afa38078..689124d6 100644 --- a/Source/InputMethodController.mm +++ b/Source/InputMethodController.mm @@ -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];