From 9bbf725f7c434b0374d26d273ecec16975bfb77e Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Wed, 7 Sep 2011 19:56:36 +0000 Subject: [PATCH] * Source/NSSpellChecker.m: Use NSLog rather than a popup alert when the spell server can't be contacted; otherwise the user may be spammed with a series of popups if automatic spellchecking (underlining) is turned on, but the current language isn't set. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33816 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 7 +++++++ Source/NSSpellChecker.m | 4 +--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0be797690..9239f21a6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-09-07 Eric Wasylishen + + * Source/NSSpellChecker.m: Use NSLog rather than a popup alert when the spell + server can't be contacted; otherwise the user may be spammed with a series + of popups if automatic spellchecking (underlining) is turned on, but + the current language isn't set. + 2011-09-07 Eric Wasylishen * Source/GSCharacterPanel.m: Implement -[NSApplication orderFrontCharacterPalette:] diff --git a/Source/NSSpellChecker.m b/Source/NSSpellChecker.m index 0fb74df9d..89b1d6aa6 100644 --- a/Source/NSSpellChecker.m +++ b/Source/NSSpellChecker.m @@ -123,9 +123,7 @@ NSString *GSSpellServerName(NSString *checkerDictionary, NSString *language); proxy = GSContactApplication(spellServicePath, port, finishBy); if (proxy == nil) { - NSRunAlertPanel(nil, - @"Failed to contact spell checker for language '%@'", - @"Continue", nil, nil, language); + NSLog(@"Failed to contact spell checker for language '%@'", language); } else {