aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2006-06-13 14:11:41 +0800
committerTor Lillqvist <tml@src.gnome.org>2006-06-13 14:11:41 +0800
commit2511403367518c17d1b74fd18d14926981a432ce (patch)
treedb5360dd7dfe6f8577c4d73998b5e4eeb1cf9ac7 /mail
parent020fdf4452f71fc1590088f385a627b2c852e14f (diff)
downloadgsoc2013-evolution-2511403367518c17d1b74fd18d14926981a432ce.tar.gz
gsoc2013-evolution-2511403367518c17d1b74fd18d14926981a432ce.tar.zst
gsoc2013-evolution-2511403367518c17d1b74fd18d14926981a432ce.zip
Fix build on Win32, where EVOLUTION_ICONSDIR is a function call.
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. svn path=/trunk/; revision=32124
Diffstat (limited to 'mail')
-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);
}
}