[evolution/gnome-41] I#1667 - Component Preview: render Attendees with HTTPs-URI as hyperlinks



commit 76a83bfbfb281324c8c3e724b30d88552ec761e2
Author: Дилян Палаузов <git-dpa aegee org>
Date:   Sat Oct 23 18:21:04 2021 +0300

    I#1667 - Component Preview: render Attendees with HTTPs-URI as hyperlinks
    
    Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1667
    Closes https://gitlab.gnome.org/GNOME/evolution/-/merge_requests/90

 src/calendar/gui/e-cal-component-preview.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/calendar/gui/e-cal-component-preview.c b/src/calendar/gui/e-cal-component-preview.c
index 0901eca6d7..a27abafed4 100644
--- a/src/calendar/gui/e-cal-component-preview.c
+++ b/src/calendar/gui/e-cal-component-preview.c
@@ -422,6 +422,7 @@ cal_component_preview_write_html (ECalComponentPreview *preview,
                                str = g_strconcat (e_cal_component_attendee_get_cn (attnd), " <", email, ">", 
NULL);
                                html = camel_text_to_html (str,
                                        CAMEL_MIME_FILTER_TOHTML_CONVERT_NL |
+                                       CAMEL_MIME_FILTER_TOHTML_CONVERT_URLS |
                                        CAMEL_MIME_FILTER_TOHTML_CONVERT_SPACES |
                                        CAMEL_MIME_FILTER_TOHTML_CONVERT_ADDRESSES, 0);
                                g_string_append (buffer, html);
@@ -430,6 +431,7 @@ cal_component_preview_write_html (ECalComponentPreview *preview,
                        } else {
                                str = camel_text_to_html (email,
                                        CAMEL_MIME_FILTER_TOHTML_CONVERT_NL |
+                                       CAMEL_MIME_FILTER_TOHTML_CONVERT_URLS |
                                        CAMEL_MIME_FILTER_TOHTML_CONVERT_SPACES |
                                        CAMEL_MIME_FILTER_TOHTML_CONVERT_ADDRESSES, 0);
                                g_string_append (buffer, str);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]