From 5dcc53160bfb1202e53fece360838f39646a6d09 Mon Sep 17 00:00:00 2001 From: Suman Manjunath Date: Sun, 13 Jul 2008 13:03:25 +0000 Subject: Patch from Paul Bolle : Fix for bug #542101 (Escape PlaceOfTheMeeting in the Location: line of the tooltip.) svn path=/trunk/; revision=35743 --- calendar/ChangeLog | 7 +++++++ calendar/gui/e-calendar-view.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 2a0d2a8048..c778291424 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2008-07-13 Paul Bolle + + ** Fix for bug #542101 + + * gui/e-calendar-view.c: (e_calendar_view_get_tooltips): + Escape PlaceOfTheMeeting in the Location: line of the tooltip. + 2008-07-13 Keith Packard ** Fix for bug #541355 diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c index 9055f15acd..152a2110c9 100644 --- a/calendar/gui/e-calendar-view.c +++ b/calendar/gui/e-calendar-view.c @@ -2244,7 +2244,7 @@ e_calendar_view_get_tooltips (ECalendarViewEventData *data) if (str) { /* To Translators: It will display "Location: PlaceOfTheMeeting" */ - tmp = g_strdup_printf (_("Location: %s"), str); + tmp = g_markup_printf_escaped (_("Location: %s"), str); label = gtk_label_new (NULL); gtk_label_set_markup ((GtkLabel *)label, tmp); hbox = gtk_hbox_new (FALSE, 0); -- cgit