aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@gnome-db.org>2011-10-14 19:02:12 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-10-14 19:02:12 +0800
commitd46ec2039ee3c1632e7e5350c7d3582daf91c492 (patch)
tree1199f233f0ca9ae2e9fdedbd2b4cebd9fa9a14e7 /modules
parentde38aaef11fe27ada765fb6d970dce55f00c77a2 (diff)
downloadgsoc2013-evolution-d46ec2039ee3c1632e7e5350c7d3582daf91c492.tar.gz
gsoc2013-evolution-d46ec2039ee3c1632e7e5350c7d3582daf91c492.tar.zst
gsoc2013-evolution-d46ec2039ee3c1632e7e5350c7d3582daf91c492.zip
Migrate bogfilter module to GSettings
Diffstat (limited to 'modules')
-rw-r--r--modules/bogofilter/evolution-bogofilter.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/bogofilter/evolution-bogofilter.c b/modules/bogofilter/evolution-bogofilter.c
index 1d0c99abd4..4521b7a6a1 100644
--- a/modules/bogofilter/evolution-bogofilter.c
+++ b/modules/bogofilter/evolution-bogofilter.c
@@ -23,7 +23,6 @@
#include <camel/camel.h>
-#include <e-util/gconf-bridge.h>
#include <mail/e-mail-junk-filter.h>
/* Standard GObject macros */
@@ -505,10 +504,11 @@ e_bogofilter_interface_init (CamelJunkFilterInterface *interface)
static void
e_bogofilter_init (EBogofilter *extension)
{
- gconf_bridge_bind_property (
- gconf_bridge_get (),
- "/apps/evolution/mail/junk/bogofilter/unicode",
- G_OBJECT (extension), "convert-to-unicode");
+ GSettings *settings;
+
+ settings = g_settings_new ("org.gnome.evolution.eplugin.bogo-junk");
+ g_settings_bind (settings, "utf8-for-spam-filter", G_OBJECT (extension), "convert-to-unicode", G_SETTINGS_BIND_DEFAULT);
+ g_object_unref (settings);
}
G_MODULE_EXPORT void