0.8.9claws13
authorChristoph Hohmann <reboot@gmx.ch>
Sun, 26 Jan 2003 13:35:59 +0000 (13:35 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Sun, 26 Jan 2003 13:35:59 +0000 (13:35 +0000)
* src/plugins/spamassassin/spamassassin_gtk.c
        only set gtk entry text if string is available

ChangeLog.claws
configure.ac
src/plugins/spamassassin/spamassassin_gtk.c

index ed2604435fbfbe012308a6652360133dc9610712..56e7b350f6903e2b7a46b55f3f032d4890417059 100644 (file)
@@ -1,3 +1,8 @@
+2003-01-26 [christoph] 0.8.9claws13
+
+       * src/plugins/spamassassin/spamassassin_gtk.c
+               only set gtk entry text if string is available
+
 2003-01-26 [melvin]    0.8.9claws12
 
        * src/description_window.c
 2003-01-26 [melvin]    0.8.9claws12
 
        * src/description_window.c
index 38ab3cec0298d4f18323eecccf37fc3555e46795..6bb698f3806695073c69e3375dc5ea0109ffd219 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=9
 INTERFACE_AGE=0
 BINARY_AGE=0
 MICRO_VERSION=9
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws12
+EXTRA_VERSION=claws13
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 519537a1faae785652d4a79bf59fb0acbc96e409..0218243a0df5b3d9bb7e2cb3f577d9d042980eed 100644 (file)
@@ -203,11 +203,13 @@ static void spamassassin_create_widget_func(PrefsPage * _page, GtkWindow *window
        gtk_signal_connect(GTK_OBJECT(button4), "released", GTK_SIGNAL_FUNC(foldersel_cb), page);
 
        gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(enable), spamassassin_enable);
        gtk_signal_connect(GTK_OBJECT(button4), "released", GTK_SIGNAL_FUNC(foldersel_cb), page);
 
        gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(enable), spamassassin_enable);
-       gtk_entry_set_text(GTK_ENTRY(hostname), spamassassin_hostname);
+       if (spamassassin_hostname != NULL)
+               gtk_entry_set_text(GTK_ENTRY(hostname), spamassassin_hostname);
        gtk_spin_button_set_value(GTK_SPIN_BUTTON(port), (float) spamassassin_port);
        gtk_spin_button_set_value(GTK_SPIN_BUTTON(max_size), (float) spamassassin_max_size);
        gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(receive_spam), spamassassin_receive_spam);
        gtk_spin_button_set_value(GTK_SPIN_BUTTON(port), (float) spamassassin_port);
        gtk_spin_button_set_value(GTK_SPIN_BUTTON(max_size), (float) spamassassin_max_size);
        gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(receive_spam), spamassassin_receive_spam);
-       gtk_entry_set_text(GTK_ENTRY(save_folder), spamassassin_save_folder);
+       if (spamassassin_save_folder != NULL)
+               gtk_entry_set_text(GTK_ENTRY(save_folder), spamassassin_save_folder);
        
        page->enable = enable;
        page->hostname = hostname;
        
        page->enable = enable;
        page->hostname = hostname;