libebook: Better region guessing for phone numbers
authorMathias Hasselmann <mathias@openismus.com>
Fri, 25 Jan 2013 06:59:05 +0000 (07:59 +0100)
committerMathias Hasselmann <mathias@openismus.com>
Fri, 1 Feb 2013 14:01:45 +0000 (15:01 +0100)
commit287d18208323c20480ad9806f430e2b8257d8007
tree5300bfac17576f9b6b21061d8e632f588aa44eef
parent910342f759e177267ff31b53b6acd20f94892cb7
libebook: Better region guessing for phone numbers

Extract country code from current locale id if needed, that is because
_NL_ADDRESS_COUNTRY_AB2 is missing or gives bad information.

See: https://bugzilla.gnome.org/show_bug.cgi?id=689622
addressbook/libebook/e-phone-number-private.cpp
addressbook/libebook/e-phone-number-private.h
addressbook/libebook/e-phone-number.c
addressbook/libebook/e-phone-number.h
tests/libebook/test-ebook-phone-number.c