diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-03 00:24:12 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-05-03 00:45:55 +0800 |
commit | f52c1d20c671f438c05727cfcbf16f19c522d2f3 (patch) | |
tree | a8037b4c44b12948af90685125a2adbcd6390476 /mail/em-event.c | |
parent | fc0186d884b46c9fc1e4ce2df74155f974a61695 (diff) | |
download | gsoc2013-evolution-f52c1d20c671f438c05727cfcbf16f19c522d2f3.tar.gz gsoc2013-evolution-f52c1d20c671f438c05727cfcbf16f19c522d2f3.tar.zst gsoc2013-evolution-f52c1d20c671f438c05727cfcbf16f19c522d2f3.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-event.c')
0 files changed, 0 insertions, 0 deletions