aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/em-format-html.c12
2 files changed, 11 insertions, 6 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 5aa0b01727..cdc358acb2 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2006-06-13 Tor Lillqvist <tml@novell.com>
+
+ * em-format-html.c (efh_format_address): Fix build on Win32, where
+ EVOLUTION_ICONSDIR is a function call.
+
2006-06-12 Srinivasa Ragavan <sragavan@novell.com>
* message-list.etspec: Corrected the sortable parameter of the message
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index 91a876cf6e..c2a5b16f21 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -1560,19 +1560,19 @@ efh_format_address (EMFormatHTML *efh, GString *out, struct _camel_header_addres
if (!strcmp (field, i18n_hdrs[2])) {
g_string_append (out, "<a href=\"##TO##\">...</a>");
- str = g_strdup ("<a href=\"##TO##\"><img src="EVOLUTION_ICONSDIR"\"/plus.png\" /></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])) {
g_string_append (out, "<a href=\"##CC##\">...</a>");
- str = g_strdup ("<a href=\"##CC##\"><img src="EVOLUTION_ICONSDIR"\"/plus.png\" /></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])) {
g_string_append (out, "<a href=\"##BCC##\">...</a>");
- str = g_strdup ("<a href=\"##BCC##\"><img src="EVOLUTION_ICONSDIR"\"/plus.png\" /></a> ");
+ str = g_strdup_printf ("<a href=\"##BCC##\"><img src=\"%s/plus.png\" /></a> ", EVOLUTION_ICONSDIR);
return str;
}
@@ -1584,13 +1584,13 @@ efh_format_address (EMFormatHTML *efh, GString *out, struct _camel_header_addres
if (!strcmp (field, i18n_hdrs[2])) {
- str = g_strdup_printf ("<a href=\"##TO##\"><img src="EVOLUTION_ICONSDIR"\"/minus.png\" /></a> ");
+ str = g_strdup_printf ("<a href=\"##TO##\"><img src=\"%s/minus.png\" /></a> ", EVOLUTION_ICONSDIR);
}
else if (!strcmp (field, i18n_hdrs[3])) {
- str = g_strdup ("<a href=\"##CC##\"><img src="EVOLUTION_ICONSDIR"\"/minus.png\" /></a> ");
+ str = g_strdup_printf ("<a href=\"##CC##\"><img src=\"%s/minus.png\" /></a> ", EVOLUTION_ICONSDIR);
}
else if (!strcmp (field, i18n_hdrs[4])) {
- str = g_strdup ("<a href=\"##BCC##\"><img src="EVOLUTION_ICONSDIR"\"/minus.png\" /></a> ");
+ str = g_strdup_printf ("<a href=\"##BCC##\"><img src=\"%s/minus.png\" /></a> ", EVOLUTION_ICONSDIR);
}
}