diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-03 00:24:12 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:04 +0800 |
commit | c54a329d969f632a739b6fe76a78db7cc15bbd66 (patch) | |
tree | caf03aa62e284a664528ac1caf1c328817135129 /mail/em-utils.h | |
parent | a63bf8a183f3512b74dc647335b3b55f39b68098 (diff) | |
download | gsoc2013-evolution-c54a329d969f632a739b6fe76a78db7cc15bbd66.tar gsoc2013-evolution-c54a329d969f632a739b6fe76a78db7cc15bbd66.tar.gz gsoc2013-evolution-c54a329d969f632a739b6fe76a78db7cc15bbd66.tar.bz2 gsoc2013-evolution-c54a329d969f632a739b6fe76a78db7cc15bbd66.tar.lz gsoc2013-evolution-c54a329d969f632a739b6fe76a78db7cc15bbd66.tar.xz gsoc2013-evolution-c54a329d969f632a739b6fe76a78db7cc15bbd66.tar.zst gsoc2013-evolution-c54a329d969f632a739b6fe76a78db7cc15bbd66.zip |
e_get_account_by_uid(): Also handle CamelTransport UIDs.
Enhance e_get_account_by_uid() to also accept CamelTransport UIDs.
The convention we use to distinguish them is simple:
Given an EAccount UID:
- The CamelStore UID is the EAccount UID verbatim.
- The CamelTransport UID is the EAccount UID + "-transport".
So just check for a "-transport" suffix and truncate it.
Diffstat (limited to 'mail/em-utils.h')
0 files changed, 0 insertions, 0 deletions