Added a test to not run the spell checker without a default dictionary
authorMelvin Hadasht <melvin.hadasht@free.fr>
Mon, 14 Oct 2002 14:54:58 +0000 (14:54 +0000)
committerMelvin Hadasht <melvin.hadasht@free.fr>
Mon, 14 Oct 2002 14:54:58 +0000 (14:54 +0000)
ChangeLog.claws
configure.in
src/compose.c

index 747439d15d1d80309d13127da74e651bfbb2abfe..0274da54fe17ef7bdf8c210c651ec77850a2b8f7 100644 (file)
@@ -1,3 +1,9 @@
+2002-10-14 [melvin]    0.8.5claws35
+
+       * src/compose.c
+               Added a test to not run the spell checker if no default
+               dictionary is available. No dialog is displayed though.
+
 2002-10-14 [melvin]    0.8.5claws34
 
        * src/gtkaspell.c
index 55ce3b1ac7476ab18345fe25191081f41e927ca8..e4e15dfcf65d1bb068dd5e4e394b2e50846a184a 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=5
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws34
+EXTRA_VERSION=claws35
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 312a8f6c85bc93de7f62c6891f62bcd64f96ea93..42a63ad2e912341396ef439b95edce2a3a51c682 100644 (file)
@@ -4937,7 +4937,8 @@ static Compose *compose_create(PrefsAccount *account, ComposeMode mode)
 #if USE_ASPELL
        
        menu_set_sensitive(ifactory, "/Spelling", FALSE);
-        if (prefs_common.enable_aspell) {
+        if (prefs_common.enable_aspell && 
+           strcmp(prefs_common.dictionary, _("None"))) {
                gtkaspell = gtkaspell_new((const gchar*)prefs_common.dictionary,
                                          conv_get_current_charset_str(),
                                          prefs_common.misspelled_col,