[PATCH 07/10] Enable by default BS IMAP implementation



---
 configure.ac                         |    2 ++
 libtinymail-camel/tny-camel-folder.c |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index faf607c..73b7c72 100644
--- a/configure.ac
+++ b/configure.ac
@@ -220,6 +220,7 @@ esac],[build_demoui=$build_demoui])
 AM_CONDITIONAL(BUILD_DEMOUI, test x$build_demoui = xtrue)
 
 dnl ### Enable IMAP part-fetch feature ##
+build_imapp=true
 AC_ARG_ENABLE(imap-part-fetch,
 AC_HELP_STRING([--enable-imap-part-fetch],
   [Build using imap part fetch]),
@@ -654,6 +655,7 @@ echo "  Enable GNOME features:       $build_gnome"
 echo "  Enable ACAP features:        $build_acap"
 echo "  Enable Telepathy features:   $build_tp"
 echo "  HTML component:              ${with_html_component}"
+echo "  Enable Bodystruct support:   ${build_imapp}"
 echo "  Python language bindings:    $build_pytinymail"
 echo "  API tests:                   $build_apitests"
 echo "  Unit tests:                  $build_unittests"
diff --git a/libtinymail-camel/tny-camel-folder.c b/libtinymail-camel/tny-camel-folder.c
index 8fabed8..b689d70 100644
--- a/libtinymail-camel/tny-camel-folder.c
+++ b/libtinymail-camel/tny-camel-folder.c
@@ -6807,7 +6807,7 @@ tny_camel_folder_instance_init (GTypeInstance *instance, gpointer g_class)
 	priv->cached_name = NULL;
 	priv->cached_folder_type = TNY_FOLDER_TYPE_UNKNOWN;
 	priv->remove_strat = tny_camel_msg_remove_strategy_new ();
-	priv->receive_strat = tny_camel_bs_msg_receive_strategy_new ();
+	priv->receive_strat = tny_camel_full_msg_receive_strategy_new ();
 	priv->reason_lock = g_new0 (GStaticRecMutex, 1);
 	g_static_rec_mutex_init (priv->reason_lock);
 
-- 
1.6.3.3


--=-gnkDh763C8UIUYIzLd8x
Content-Disposition: attachment; filename*0=0008-Avoid-crash-on-getting-reference-to-bs-header-as-it-.pat; filename*1=ch
Content-Type: text/x-patch; name="0008-Avoid-crash-on-getting-reference-to-bs-header-as-it-.patch"; charset="UTF-8"
Content-Transfer-Encoding: 7bit



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