Patch to support Indian Mutual Funds
Ganesan R
rganesan at debian.org
Fri Apr 30 02:09:50 EDT 2004
Hi,
I hope this is the right mailing list for sending the patch. The supports
Indian Mutual Funds in GnuCash investment accounts. The latest version of
finance-quote (version 1.08) includes support for this. I've been happily
running gnucash with this patch since version 1.8.2. The patch is against
gnucash 1.8.2 but applies cleanly to 1.8.9. A makepatch version against
1.8.7 is available at http://people.debian.org/~rganesan/indiamutual.patch.
I am not attaching it with this mail because though the patch itself is
small the makepatch version nearly 70K and doesn't make it to the list.
I tried to send this mail to gnucash-patches twice but some how my mail
doesn't seem to make it to the list :-(. I am therefore sending this to
gnucash-devel as well.
Please CC me any responses since I am not subscribed to the
list. Thanks.
Ganesan
-------------- next part --------------
--- gnucash-1.8.2.orig/src/app-utils/gnc-ui-util.c
+++ gnucash-1.8.2/src/app-utils/gnc-ui-util.c
@@ -72,6 +72,7 @@
{ TRUE, TRUE, N_("(none)"), NULL, NULL },
{ FALSE, TRUE, N_("-- Single Sources --"), NULL, NULL },
{ FALSE, FALSE, "AEX", "AEX", "aex" },
+ { FALSE, FALSE, "AMFI India", "AMFIINDIA", "amfiindia" },
{ FALSE, FALSE, "ASX", "ASX", "asx" },
{ FALSE, FALSE, "DWS", "DWS", "dwsfunds" },
{ FALSE, FALSE, "Fidelity Direct", "FIDELITY_DIRECT", "fidelity_direct" },
@@ -96,6 +97,7 @@
{ FALSE, FALSE, "Canada Mutual (Fund Library, ...)", "CANADAMUTUAL", "canadamutual" },
{ FALSE, FALSE, "Dutch (AEX, ...)", "DUTCH", "dutch" },
{ FALSE, FALSE, "Europe (Yahoo, ...)", "EUROPE", "europe" },
+ { FALSE, FALSE, "India Mutual (AMFI, ...)", "INDIAMUTUAL", "indiamutual" },
{ FALSE, FALSE, "Fidelity (Fidelity, ...)", "FIDELITY", "fidelity" },
{ FALSE, FALSE, "T. Rowe Price", "TRPRICE", "troweprice" },
{ FALSE, FALSE, "U.K. Unit Trusts", "UKUNITTRUSTS", "uk_unit_trusts" },
--- gnucash-1.8.2.orig/src/app-utils/gnc-ui-util.h
+++ gnucash-1.8.2/src/app-utils/gnc-ui-util.h
@@ -124,6 +124,7 @@
SOURCE_NONE = 0,
SPECIFIC_SOURCES,
SOURCE_AEX,
+ SOURCE_AMFIINDIA,
SOURCE_ASX,
SOURCE_DWS,
SOURCE_FIDELITY_DIRECT,
@@ -149,6 +150,7 @@
SOURCE_DUTCH,
SOURCE_EUROPE,
SOURCE_FIDELITY,
+ SOURCE_INDIAMUTUAL,
SOURCE_TROWEPRICE,
SOURCE_UKUNITTRUSTS,
SOURCE_USA,
More information about the gnucash-devel
mailing list