aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-11-26 22:11:28 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-11-26 22:11:28 +0800
commit1fd244770af881843b82eee3320f036634e169ab (patch)
treee7629252527aba209280d376d2a6fdcce710704e /plugins
parent042ba3ee7ee150deb11c1e03076320a4d44c2c37 (diff)
downloadgsoc2013-evolution-1fd244770af881843b82eee3320f036634e169ab.tar.gz
gsoc2013-evolution-1fd244770af881843b82eee3320f036634e169ab.tar.zst
gsoc2013-evolution-1fd244770af881843b82eee3320f036634e169ab.zip
** Fixes bug #499644
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. svn path=/trunk/; revision=34586
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sa-junk-plugin/ChangeLog9
-rw-r--r--plugins/sa-junk-plugin/em-junk-filter.c4
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);