aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-05-18 22:36:20 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-05-20 01:07:20 +0800
commit366b731a169ac54a0407f5d85879c38ba463398a (patch)
treeca2eb31c03938a2dcac4ae39c058fc714864af5d /modules
parent794e28d23963fd875c0ffcad9c902f67744393bb (diff)
downloadgsoc2013-evolution-366b731a169ac54a0407f5d85879c38ba463398a.tar.gz
gsoc2013-evolution-366b731a169ac54a0407f5d85879c38ba463398a.tar.zst
gsoc2013-evolution-366b731a169ac54a0407f5d85879c38ba463398a.zip
Add e_mail_part_id_has_prefix().
Diffstat (limited to 'modules')
-rw-r--r--modules/prefer-plain/e-mail-display-popup-prefer-plain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/prefer-plain/e-mail-display-popup-prefer-plain.c b/modules/prefer-plain/e-mail-display-popup-prefer-plain.c
index 9b7de92f53..3935263700 100644
--- a/modules/prefer-plain/e-mail-display-popup-prefer-plain.c
+++ b/modules/prefer-plain/e-mail-display-popup-prefer-plain.c
@@ -314,7 +314,7 @@ mail_display_popup_prefer_plain_update_actions (EMailDisplayPopupExtension *exte
for (link = head; link != NULL; link = g_list_next (link)) {
EMailPart *p = link->data;
- if (g_str_has_prefix (p->id, prefix) &&
+ if (e_mail_part_id_has_prefix (p, prefix) &&
(strstr (p->id, "text_html") || strstr (p->id, "plain_text"))) {
const gchar *p_id;