diff options
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 7 | ||||
-rw-r--r-- | addressbook/gui/widgets/eab-contact-display.c | 5 |
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); } |