aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2004-04-14 04:26:50 +0800
committerChris Toshok <toshok@src.gnome.org>2004-04-14 04:26:50 +0800
commit17ce73241195003a3bedd2fad88288e4350a6ec5 (patch)
treece246f847e5b286fec2cf19b4b7b43f95eaf22c8 /addressbook/gui
parent995db274454fd0011e4ade0200c6d5640b0cb489 (diff)
downloadgsoc2013-evolution-17ce73241195003a3bedd2fad88288e4350a6ec5.tar
gsoc2013-evolution-17ce73241195003a3bedd2fad88288e4350a6ec5.tar.gz
gsoc2013-evolution-17ce73241195003a3bedd2fad88288e4350a6ec5.tar.bz2
gsoc2013-evolution-17ce73241195003a3bedd2fad88288e4350a6ec5.tar.lz
gsoc2013-evolution-17ce73241195003a3bedd2fad88288e4350a6ec5.tar.xz
gsoc2013-evolution-17ce73241195003a3bedd2fad88288e4350a6ec5.tar.zst
gsoc2013-evolution-17ce73241195003a3bedd2fad88288e4350a6ec5.zip
disable the map link for 2.0.
2004-04-13 Chris Toshok <toshok@ximian.com> * gui/widgets/eab-contact-display.c (accum_address): disable the map link for 2.0. svn path=/trunk/; revision=25447
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/widgets/eab-contact-display.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/addressbook/gui/widgets/eab-contact-display.c b/addressbook/gui/widgets/eab-contact-display.c
index a1dc832550..f81ff673ad 100644
--- a/addressbook/gui/widgets/eab-contact-display.c
+++ b/addressbook/gui/widgets/eab-contact-display.c
@@ -176,7 +176,11 @@ accum_address (GString *gstr, EContact *contact, const char *html_label, EContac
if (label) {
char *html = e_text_to_html (label, E_TEXT_TO_HTML_CONVERT_NL);
+#if mapping_works
g_string_append_printf (gstr, "<tr><td valign=\"top\" width=\"" IMAGE_COL_WIDTH "\"></td><td valign=\"top\" width=\"100\"><font color=" HEADER_COLOR ">%s:</font><br><a href=\"http://www.mapquest.com/\">%s</a></td><td valign=\"top\">%s</td></tr>", html_label, _("(map)"), html);
+#else
+ g_string_append_printf (gstr, "<tr><td valign=\"top\" width=\"" IMAGE_COL_WIDTH "\"></td><td valign=\"top\" width=\"100\"><font color=" HEADER_COLOR ">%s:</font></td><td valign=\"top\">%s</td></tr>", html_label, html);
+#endif
g_free (html);
return;