r16158 - gnucash/trunk/src/import-export/hbci - With aqbanking-2.3.0 we can activate all backends here already.

Christian Stimming cstim at cvs.gnucash.org
Tue Jun 12 16:23:50 EDT 2007


Author: cstim
Date: 2007-06-12 16:23:49 -0400 (Tue, 12 Jun 2007)
New Revision: 16158
Trac: http://svn.gnucash.org/trac/changeset/16158

Modified:
   gnucash/trunk/src/import-export/hbci/druid-hbci-initial.c
Log:
With aqbanking-2.3.0 we can activate all backends here already.

Modified: gnucash/trunk/src/import-export/hbci/druid-hbci-initial.c
===================================================================
--- gnucash/trunk/src/import-export/hbci/druid-hbci-initial.c	2007-06-10 00:50:13 UTC (rev 16157)
+++ gnucash/trunk/src/import-export/hbci/druid-hbci-initial.c	2007-06-12 20:23:49 UTC (rev 16158)
@@ -570,6 +570,14 @@
     /* Call the qt wizard. See the note above about why this approach
        is chosen. */
 
+#if ((AQBANKING_VERSION_MAJOR == 2) && \
+     (AQBANKING_VERSION_MINOR >= 3))
+    /* With aqbanking>=2.3.0, we can directly activate all backends
+       here. Reduces user confusion. But in aqbanking-3.x this won't
+       be needed anymore. */
+    AB_Banking_ActivateAllProviders (info->api);
+#endif
+
     /* Reset existing mapping tables */
     AB_Banking_Fini (info->api);
     if (info->gnc_hash != NULL)



More information about the gnucash-changes mailing list