From 2594b0d00cff45936250e9294ce6eb7cacd87c25 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 26 Apr 2011 11:21:38 -0400 Subject: Add itip_address_is_user(). Convenience function that checks whether the given email address matches a registered mail identity. --- calendar/gui/e-cal-model.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/gui/e-cal-model.c') 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 -- cgit v1.2.3