aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-07-29 17:52:07 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-07-29 17:52:07 +0800
commitbb2092ac42761ca2f8b53644ac67b2d328bda1a1 (patch)
treeafa6b8a932b3eef8c0af2e730c5de8043978d3c2 /mail/em-format-html.c
parentb0070ae43aa4189581be32a3df5078b79dc5e6ca (diff)
downloadgsoc2013-evolution-bb2092ac42761ca2f8b53644ac67b2d328bda1a1.tar.gz
gsoc2013-evolution-bb2092ac42761ca2f8b53644ac67b2d328bda1a1.tar.zst
gsoc2013-evolution-bb2092ac42761ca2f8b53644ac67b2d328bda1a1.zip
** Fix for bug #459030
svn path=/trunk/; revision=33881
Diffstat (limited to 'mail/em-format-html.c')
-rw-r--r--mail/em-format-html.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index f2eb568595..d554b1e288 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -1519,9 +1519,9 @@ efh_format_address (EMFormatHTML *efh, GString *out, struct _camel_header_addres
int limit = mail_config_get_address_count ();
if (field ) {
- if ((!strcmp (field, i18n_hdrs[2]) && !(efh->header_wrap_flags & EM_FORMAT_HTML_HEADER_TO))
- || (!strcmp (field, i18n_hdrs[3]) && !(efh->header_wrap_flags & EM_FORMAT_HTML_HEADER_CC))
- || (!strcmp (field, i18n_hdrs[4]) && !(efh->header_wrap_flags & EM_FORMAT_HTML_HEADER_BCC)))
+ if ((!strcmp (field, _("To")) && !(efh->header_wrap_flags & EM_FORMAT_HTML_HEADER_TO))
+ || (!strcmp (field, _("Cc")) && !(efh->header_wrap_flags & EM_FORMAT_HTML_HEADER_CC))
+ || (!strcmp (field, _("Bcc")) && !(efh->header_wrap_flags & EM_FORMAT_HTML_HEADER_BCC)))
wrap = TRUE;
}
@@ -1577,20 +1577,20 @@ efh_format_address (EMFormatHTML *efh, GString *out, struct _camel_header_addres
/* Let us add a '...' if we have more addresses */
if (limit > 0 && wrap && a && (i>(limit-1))) {
- if (!strcmp (field, i18n_hdrs[2])) {
+ if (!strcmp (field, _("To"))) {
g_string_append (out, "<a href=\"##TO##\">...</a>");
str = g_strdup_printf ("<a href=\"##TO##\"><img src=\"%s/plus.png\" /></a> ", EVOLUTION_ICONSDIR);
return str;
}
- else if (!strcmp (field, i18n_hdrs[3])) {
+ else if (!strcmp (field, _("Cc"))) {
g_string_append (out, "<a href=\"##CC##\">...</a>");
str = g_strdup_printf ("<a href=\"##CC##\"><img src=\"%s/plus.png\" /></a> ", EVOLUTION_ICONSDIR);
return str;
}
- else if (!strcmp (field, i18n_hdrs[4])) {
+ else if (!strcmp (field, _("Bcc"))) {
g_string_append (out, "<a href=\"##BCC##\">...</a>");
str = g_strdup_printf ("<a href=\"##BCC##\"><img src=\"%s/plus.png\" /></a> ", EVOLUTION_ICONSDIR);
@@ -1603,13 +1603,13 @@ efh_format_address (EMFormatHTML *efh, GString *out, struct _camel_header_addres
if (limit > 0 && i>(limit)) {
- if (!strcmp (field, i18n_hdrs[2])) {
+ if (!strcmp (field, _("To"))) {
str = g_strdup_printf ("<a href=\"##TO##\"><img src=\"%s/minus.png\" /></a> ", EVOLUTION_ICONSDIR);
}
- else if (!strcmp (field, i18n_hdrs[3])) {
+ else if (!strcmp (field, _("Cc"))) {
str = g_strdup_printf ("<a href=\"##CC##\"><img src=\"%s/minus.png\" /></a> ", EVOLUTION_ICONSDIR);
}
- else if (!strcmp (field, i18n_hdrs[4])) {
+ else if (!strcmp (field, _("Bcc"))) {
str = g_strdup_printf ("<a href=\"##BCC##\"><img src=\"%s/minus.png\" /></a> ", EVOLUTION_ICONSDIR);
}
}