add #ifdefs that Melvin forgot in his previous commit
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 30 Dec 2001 17:30:21 +0000 (17:30 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 30 Dec 2001 17:30:21 +0000 (17:30 +0000)
ChangeLog.claws
configure.in
src/prefs_common.c

index 3c3b5efe923dc5a77ef71d419b115dcc62cea13e..58a93e0e69c1cb5f95eae3af04f9d5ef0bdbc000 100644 (file)
@@ -1,3 +1,8 @@
+2001-12-30 [alfons]    0.6.6claws33
+
+       * src/prefs_common.c
+               add #ifdef USE_PSPELLs that Melvin forgot               
+
 2001-12-30 [melvin]    0.6.6claws32
        
        * src/prefs_common.[ch]
 2001-12-30 [melvin]    0.6.6claws32
        
        * src/prefs_common.[ch]
index ccdde88a34e406d8f7b7752620b134199fb88926..1710550a4997afa89561b0a6bf338b4e748f223e 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=6
 MICRO_VERSION=6
 INTERFACE_AGE=0
 BINARY_AGE=0
 MICRO_VERSION=6
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws32
+EXTRA_VERSION=claws33
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl
index ae504a52a9fde600214d4910c75603edd53f1705..7603b11b2da1bfac801570687c072d91c6caae08 100644 (file)
@@ -3047,9 +3047,11 @@ static void quote_color_set_dialog(GtkWidget *widget, gpointer data)
        } else if(g_strcasecmp(type, "TGTFLD") == 0) {
                title = _("Pick color for target folder");
                rgbvalue = prefs_common.tgt_folder_col;
        } else if(g_strcasecmp(type, "TGTFLD") == 0) {
                title = _("Pick color for target folder");
                rgbvalue = prefs_common.tgt_folder_col;
+#if USE_PSPELL         
        } else if(g_strcasecmp(type, "Misspelled word") == 0) {
                title = _("Pick color for misspelled word");
                rgbvalue = prefs_common.misspelled_col;
        } else if(g_strcasecmp(type, "Misspelled word") == 0) {
                title = _("Pick color for misspelled word");
                rgbvalue = prefs_common.misspelled_col;
+#endif         
        } else {   /* Should never be called */
                g_warning("Unrecognized datatype '%s' in quote_color_set_dialog\n", type);
                return;
        } else {   /* Should never be called */
                g_warning("Unrecognized datatype '%s' in quote_color_set_dialog\n", type);
                return;
@@ -3117,9 +3119,11 @@ static void quote_colors_set_dialog_ok(GtkWidget *widget, gpointer data)
                prefs_common.tgt_folder_col = rgbvalue;
                set_button_bg_color(color_buttons.tgt_folder_btn, rgbvalue);
                folderview_set_target_folder_color(prefs_common.tgt_folder_col);
                prefs_common.tgt_folder_col = rgbvalue;
                set_button_bg_color(color_buttons.tgt_folder_btn, rgbvalue);
                folderview_set_target_folder_color(prefs_common.tgt_folder_col);
+#if USE_PSPELL         
        } else if (g_strcasecmp(type, "Misspelled word") == 0) {
                prefs_common.misspelled_col = rgbvalue;
                set_button_bg_color(color_buttons.misspelled_btn, rgbvalue);
        } else if (g_strcasecmp(type, "Misspelled word") == 0) {
                prefs_common.misspelled_col = rgbvalue;
                set_button_bg_color(color_buttons.misspelled_btn, rgbvalue);
+#endif         
        } else
                fprintf( stderr, "Unrecognized datatype '%s' in quote_color_set_dialog_ok\n", type );
 
        } else
                fprintf( stderr, "Unrecognized datatype '%s' in quote_color_set_dialog_ok\n", type );