aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@src.gnome.org>2007-10-04 17:21:54 +0800
committerMilan Crha <mcrha@src.gnome.org>2007-10-04 17:21:54 +0800
commitae05111989a1a4531d3e13ec29c79ab841cc4e15 (patch)
treeddce14df34bca88225b0697f95c9e24433688ec3
parent3a6784cbb6a027b65d139c6d5f7f4da0f0345ebe (diff)
downloadgsoc2013-evolution-ae05111989a1a4531d3e13ec29c79ab841cc4e15.tar.gz
gsoc2013-evolution-ae05111989a1a4531d3e13ec29c79ab841cc4e15.tar.zst
gsoc2013-evolution-ae05111989a1a4531d3e13ec29c79ab841cc4e15.zip
2007-10-04 mcrha Fix for bug #331421
svn path=/trunk/; revision=34352
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/gui/widgets/eab-contact-display.c5
2 files changed, 12 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 7f6ca320ad..0ad2bf1163 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,10 @@
+2007-10-04 Milan Crha <mcrha@redhat.com>
+
+ ** Fix for bug #331421
+
+ * gui/widgets/eab-contact-display.c:
+ (eab_contact_display_render_normal): Make contact list name clickable.
+
2007-10-02 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #469657
diff --git a/addressbook/gui/widgets/eab-contact-display.c b/addressbook/gui/widgets/eab-contact-display.c
index f2d201c8af..41e436c07e 100644
--- a/addressbook/gui/widgets/eab-contact-display.c
+++ b/addressbook/gui/widgets/eab-contact-display.c
@@ -646,6 +646,11 @@ eab_contact_display_render_normal (EABContactDisplay *display, EContact *contact
if (str) {
html = e_text_to_html (str, 0);
+#ifdef HANDLE_MAILTO_INTERNALLY
+ if (e_contact_get (contact, E_CONTACT_IS_LIST))
+ gtk_html_stream_printf (html_stream, "<h2><a href=\"internal-mailto:0\">%s</a></h2>", html);
+ else
+#endif
gtk_html_stream_printf (html_stream, "<h2>%s</h2>", html);
g_free (html);
}