evolution/evolution-alarm-notify-do-not-use-markup.patch

35 lines
1.1 KiB
Diff
Raw Normal View History

From 7dc7f0d9574355e5ad94a842ac3769d6e2313743 Mon Sep 17 00:00:00 2001
From: Milan Crha <mcrha@redhat.com>
Date: Wed, 16 May 2018 11:59:51 +0200
Subject: [alarm-notify] Do not use markup around organizer name in libnotify
text
This markup (making the text bold) might not be always used in the notification,
resulting in the markup being shown to the user instead.
---
src/calendar/alarm-notify/alarm-queue.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/calendar/alarm-notify/alarm-queue.c b/src/calendar/alarm-notify/alarm-queue.c
index c248f39..e1070fa 100644
--- a/src/calendar/alarm-notify/alarm-queue.c
+++ b/src/calendar/alarm-notify/alarm-queue.c
@@ -1965,12 +1965,12 @@ popup_notification (time_t trigger,
if (organiser.cn) {
if (location)
body = g_strdup_printf (
- "<b>%s</b>\n%s %s\n%s %s",
+ "%s\n%s %s\n%s %s",
organiser.cn, _("Location:"),
location, start_str, time_str);
else
body = g_strdup_printf (
- "<b>%s</b>\n%s %s",
+ "%s\n%s %s",
organiser.cn, start_str, time_str);
}
else {
--
cgit v0.12