[tracker] Reenable default plugins, as agreed at teamlevel



commit f356254e83178dbf501d8a14b20a57e91efcc145
Author: Philip Van Hoof <philip codeminded be>
Date:   Fri Jul 10 12:20:21 2009 +0200

    Reenable default plugins, as agreed at teamlevel

 configure.ac                                     |    6 +++---
 src/plugins/evolution/tracker-evolution-plugin.c |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3227953..55dda36 100644
--- a/configure.ac
+++ b/configure.ac
@@ -666,14 +666,14 @@ AM_CONDITIONAL(HAVE_UNAC, test "x$have_unac" = "xyes")
 
 AC_ARG_ENABLE([evolution_push_module],
               AS_HELP_STRING([--enable-evolution-push-module],
-                             [enable support for Evolution push mechanism [[default=no]]]),,
-              [enable_evolution_push_module=no])
+                             [enable support for Evolution push mechanism [[default=yes]]]),,
+              [enable_evolution_push_module=yes])
 
 AM_CONDITIONAL(USING_EVOLUTION_PUSH_MODULE, test "x$enable_evolution_push_module" = "xyes")
 
 AC_ARG_ENABLE([kmail_push_module],
               AS_HELP_STRING([--enable-kmail-push-module],
-                             [enable support for KMail push mechanism [[default=no]]]),,
+                             [enable support for KMail push mechanism [[default=yes]]]),,
               [enable_kmail_push_module=yes])
 
 AM_CONDITIONAL(USING_KMAIL_PUSH_MODULE, test "x$enable_kmail_push_module" = "xyes")
diff --git a/src/plugins/evolution/tracker-evolution-plugin.c b/src/plugins/evolution/tracker-evolution-plugin.c
index b6dd69c..50a1a20 100644
--- a/src/plugins/evolution/tracker-evolution-plugin.c
+++ b/src/plugins/evolution/tracker-evolution-plugin.c
@@ -69,7 +69,7 @@
  * reads, never writes). We hope that's sufficient for not having to get our
  * code involved in Camel's cruel inneryard of having to lock the db_r ptr. */
 
-#define MAX_BEFORE_SEND 200
+#define MAX_BEFORE_SEND 2000
 
 G_DEFINE_TYPE (TrackerEvolutionPlugin, tracker_evolution_plugin, G_TYPE_OBJECT)
 
@@ -591,7 +591,7 @@ start_many_handler (void)
 {
 	/* We just slow it down to 'once per second' (for now, we can tweak this
 	 * afterward, of course, but once per second seems to work great) */
-	 g_timeout_add_seconds_full (G_PRIORITY_LOW, 1,
+	 g_idle_add_full (G_PRIORITY_LOW,
 	                            many_idle_handler,
 	                            NULL,
 	                            many_idle_destroy);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]