[Gnucash-changes] Improve error message for newer aqbanking.
Christian Stimming
cstim at cvs.gnucash.org
Fri Sep 23 15:55:09 EDT 2005
Log Message:
-----------
Improve error message for newer aqbanking.
Modified Files:
--------------
gnucash/src/import-export/hbci:
druid-hbci-initial.c
Revision Data
-------------
Index: druid-hbci-initial.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/import-export/hbci/druid-hbci-initial.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -Lsrc/import-export/hbci/druid-hbci-initial.c -Lsrc/import-export/hbci/druid-hbci-initial.c -u -r1.60 -r1.61
--- src/import-export/hbci/druid-hbci-initial.c
+++ src/import-export/hbci/druid-hbci-initial.c
@@ -591,7 +591,7 @@
if (res == 0) {
res = AB_Banking_ActivateProvider(banking, backend_name);
- if (res == 0)
+ if ((res == 0) || (res == AB_ERROR_FOUND))
druid_enable_next_button(info);
else {
printf("on_aqhbci_button: Oops, after successful wizard the activation return nonzero value: %d. \n", res);
@@ -617,9 +617,9 @@
(info->window,
/* Each of the %s is the name of the backend, e.g. "aqhbci". */
_("The external program \"%s Setup Wizard\" has not been found. \n\n"
- "Did you install the package \"%s-qt-tools\" of %s? \n"
- "If not, please install it now."),
- backend_name, backend_name, backend_name);
+ "The package aqbanking is supposed to install the program \n"
+ "\"%s-qt3-wizard\". Please check your installation of aqbanking."),
+ backend_name, backend_name);
druid_disable_next_button(info);
}
g_free (backend_name);
More information about the gnucash-changes
mailing list