diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sa-junk-plugin/ChangeLog | 9 | ||||
-rw-r--r-- | plugins/sa-junk-plugin/em-junk-filter.c | 4 |
2 files changed, 11 insertions, 2 deletions
diff --git a/plugins/sa-junk-plugin/ChangeLog b/plugins/sa-junk-plugin/ChangeLog index ccade72b1f..e88a0c6094 100644 --- a/plugins/sa-junk-plugin/ChangeLog +++ b/plugins/sa-junk-plugin/ChangeLog @@ -1,3 +1,12 @@ +2007-11-26 Matthew Barnes <mbarnes@redhat.com> + + ** Fixes bug #499644 + + * em-junk-filter.c (user_remote_tests_cb), + (org_gnome_sa_use_remote_tests): + The behavior of the "Include remote tests" check button was swapped + with respect to its state. Probably why SpamAssassin seemed slow. + 2007-09-07 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #473903 diff --git a/plugins/sa-junk-plugin/em-junk-filter.c b/plugins/sa-junk-plugin/em-junk-filter.c index a39f5cffdf..de294ad411 100644 --- a/plugins/sa-junk-plugin/em-junk-filter.c +++ b/plugins/sa-junk-plugin/em-junk-filter.c @@ -838,7 +838,7 @@ static void use_remote_tests_cb (GtkWidget *widget, gpointer data) { gboolean active = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (widget)); - gconf_client_set_bool (em_junk_sa_gconf, data, active, NULL); + gconf_client_set_bool (em_junk_sa_gconf, data, !active, NULL); } GtkWidget * @@ -859,7 +859,7 @@ org_gnome_sa_use_remote_tests (struct _EPlugin *epl, struct _EConfigHookItemFact gtk_box_pack_start (GTK_BOX (vbox), GTK_WIDGET (check), FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (vbox), GTK_WIDGET (label), FALSE, FALSE, 0); - gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check), em_junk_sa_local_only); + gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check), !em_junk_sa_local_only); g_signal_connect (GTK_TOGGLE_BUTTON (check), "toggled", G_CALLBACK (use_remote_tests_cb), "/apps/evolution/mail/junk/sa/local_only"); gtk_table_attach((GtkTable *)data->parent, vbox, 0, 1, i, i+1, 0, 0, 0, 0); gtk_widget_show_all (vbox); |