Patch to support Indian Mutual Funds
Ganesan R
rganesan at users.sourceforge.net
Fri May 7 06:38:35 EDT 2004
Hi,
I have a patch that 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.
I tried to send this mail multiple times before to both gnucash-patches and
gnucash-devel but my mail never makes it to the list :-(. I am now
subscribed to gnucash-devel and sending this mail.
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