aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-04-26 23:21:38 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-04-26 23:21:38 +0800
commit2594b0d00cff45936250e9294ce6eb7cacd87c25 (patch)
treea8baa0ca4b27c773bcd0937fb4ef623005e03f00 /calendar/gui/e-cal-model.c
parentc67695c6f2d5ea5450d90dbf0ecb5590744ec15a (diff)
downloadgsoc2013-evolution-2594b0d00cff45936250e9294ce6eb7cacd87c25.tar
gsoc2013-evolution-2594b0d00cff45936250e9294ce6eb7cacd87c25.tar.gz
gsoc2013-evolution-2594b0d00cff45936250e9294ce6eb7cacd87c25.tar.bz2
gsoc2013-evolution-2594b0d00cff45936250e9294ce6eb7cacd87c25.tar.lz
gsoc2013-evolution-2594b0d00cff45936250e9294ce6eb7cacd87c25.tar.xz
gsoc2013-evolution-2594b0d00cff45936250e9294ce6eb7cacd87c25.tar.zst
gsoc2013-evolution-2594b0d00cff45936250e9294ce6eb7cacd87c25.zip
Add itip_address_is_user().
Convenience function that checks whether the given email address matches a registered mail identity.
Diffstat (limited to 'calendar/gui/e-cal-model.c')
-rw-r--r--calendar/gui/e-cal-model.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c
index ef3c0624df..34408b0151 100644
--- a/calendar/gui/e-cal-model.c
+++ b/calendar/gui/e-cal-model.c
@@ -976,7 +976,7 @@ ecm_value_at (ETableModel *etm, gint col, gint row)
const gchar *text;
text = itip_strip_mailto (ca->value);
- if (e_account_list_find (priv->accounts, E_ACCOUNT_FIND_ID_ADDRESS, text) != NULL) {
+ if (itip_address_is_user (text)) {
if (ca->delto != NULL)
retval = 3;
else