diff options
author | Chris Toshok <toshok@ximian.com> | 2004-04-14 04:26:50 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2004-04-14 04:26:50 +0800 |
commit | 17ce73241195003a3bedd2fad88288e4350a6ec5 (patch) | |
tree | ce246f847e5b286fec2cf19b4b7b43f95eaf22c8 | |
parent | 995db274454fd0011e4ade0200c6d5640b0cb489 (diff) | |
download | gsoc2013-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
-rw-r--r-- | addressbook/ChangeLog | 5 | ||||
-rw-r--r-- | addressbook/gui/widgets/eab-contact-display.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 36c8e0c231..1a2a8bb439 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2004-04-13 Chris Toshok <toshok@ximian.com> + + * gui/widgets/eab-contact-display.c (accum_address): disable the + map link for 2.0. + 2004-04-13 Larry Ewing <lewing@ximian.com> * gui/widgets/e-addressbook-view.c (create_table_view): add 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; |