Allowing the user to select the currency symbol

2013-09-24 Thread Frédéric Perrin
Hi list, Since I moved to Britain, I have about half of my acocunts in euro, the other half in pounds. As I still use the same locale, some accounts use a nice € symbol and some the less nice GBP ticker symbol. I want to be able to ddefine the symbol gnucash should use when printing amounts. What

Re: Allowing the user to select the currency symbol

2013-09-24 Thread Frédéric Perrin
Hi Derek, Le mercredi 25 à 0:08, Derek Atkins a écrit : > If you're going to extend the Commodity Class then why not just put the > symbols into the default constructors in the iso-4217-currencies file? > Why put it into GConf? Which of Australian, Canadian, Zimbabwean dollar gets to use the "$"

Re: Allowing the user to select the currency symbol

2013-09-24 Thread Frédéric Perrin
Le mercredi 25 à 0:33, Derek Atkins a écrit : > On Tue, September 24, 2013 6:19 pm, Frédéric Perrin wrote: >> Hi Derek, >> >> Le mercredi 25 à 0:08, Derek Atkins a écrit : >>> If you're going to extend the Commodity Class then why not just put the >>> symbols into the default constructors in th

Re: Allowing the user to select the currency symbol

2013-09-25 Thread Frédéric Perrin
Le mercredi 25 à 19:25, Geert Janssens a écrit : > On Wednesday 25 September 2013 11:11:21 David Carlson wrote: >> As another user I would suggest per data file. One user may want >> different settings in another file. > > I would rather see it per data file as well. Okay, I guess I can try and se

Re: Allowing the user to select the currency symbol

2013-10-03 Thread Frédéric Perrin
Le jeudi 26 à 17:21, Derek Atkins a écrit : >> And the complexity of "I'll store in (GConf|the data file) one >> user-defined field per currency" seems much lower than "I'll store >> enough data to recreate the entire currency at data-file load time" ; >> I don't think I can acheive the second. > >

Re: Allowing the user to select the currency symbol

2013-10-24 Thread Frédéric Perrin
Le jeudi 24 à 14:35, Geert Janssens a écrit : > What I found missing is the part about default symbols in the > iso-4217-currencies file. There are no default symbols as far as I can > see. Do you plan to implement this in a future patch ? The only default symbol is for gnc_locale_default_currency

Re: Allowing the user to select the currency symbol

2013-10-26 Thread Frédéric Perrin
Le jeudi 24 à 21:55, Geert Janssens a écrit : > On Thursday 24 October 2013 21:37:58 Frédéric Perrin wrote: >> Can't try right now, my build just failed with « >> libgncmod-register-gnome.so: undefined reference to >> `gnc_gconf_get_int' » and I don't have

Re: Backwards compatibility with new currency issue and bug 336843.

2013-11-19 Thread Frédéric Perrin
Hi Mike, Le dimanche 10 à 14:19, Mike Evans a écrit : > While testing bug 336843 patch for backwards compatibility with > 2.4.13, I was getting this output below. The file fails to load. > > * 11:49:30 WARN [valid_commodity()] Invalid commodity: 0 fraction > * 11:49:30 WARN [gnc_commodity_end_

Re: Backwards compatibility with new currency issue and bug 336843.

2013-11-19 Thread Frédéric Perrin
Le mardi 19 à 23:05, Derek Atkins a écrit : > On Tue, November 19, 2013 4:58 pm, Frédéric Perrin wrote: >> Anyway, this is due to r23345 : since we set the user_symbol of every >> currency at startup, the KVP of every currency, even those not used, now >> contains sim

Re: Backwards compatibility with new currency issue and bug 336843.

2013-11-19 Thread Frédéric Perrin
Le mardi 19 à 23:38, Frédéric Perrin a écrit : > Le mardi 19 à 23:05, Derek Atkins a écrit : >> On Tue, November 19, 2013 4:58 pm, Frédéric Perrin wrote: >> I would recommend we do something slightly different. I would have TWO >> setter functions, a "set_default()&q