]> git.0d.be Git - empathy.git/commit
Add method empathy_format_currency()
authorDanielle Madeley <danielle.madeley@collabora.co.uk>
Fri, 15 Apr 2011 04:15:47 +0000 (14:15 +1000)
committerDanielle Madeley <danielle.madeley@collabora.co.uk>
Thu, 5 May 2011 07:05:08 +0000 (17:05 +1000)
commit1cc68d03a0339cf5f31fabb308b3f1cd9bdb9272
treee1f03dba747463a5874717d01a1df3df9b797306
parent77fab8ebc60ce2625c4f449cde6296b25b10b05d
Add method empathy_format_currency()

This method takes a Telepathy Currency_Amount and attempts to format it using
currency rules appropriate for that amount.

Unfortunately I haven't yet found a good summary of currency rules, so I've
mostly been guessing. The currencies structure needs completing and checking.
libempathy/empathy-utils.c
libempathy/empathy-utils.h