aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuman Manjunath <msuman@src.gnome.org>2008-07-13 21:03:25 +0800
committerSuman Manjunath <msuman@src.gnome.org>2008-07-13 21:03:25 +0800
commit5dcc53160bfb1202e53fece360838f39646a6d09 (patch)
tree4f4f76a4f85b1e75e3ccd4a0e7af3c1daa149937
parentdd8e931c582b1deb5d16684696e5590e39ed8832 (diff)
downloadgsoc2013-evolution-5dcc53160bfb1202e53fece360838f39646a6d09.tar
gsoc2013-evolution-5dcc53160bfb1202e53fece360838f39646a6d09.tar.gz
gsoc2013-evolution-5dcc53160bfb1202e53fece360838f39646a6d09.tar.bz2
gsoc2013-evolution-5dcc53160bfb1202e53fece360838f39646a6d09.tar.lz
gsoc2013-evolution-5dcc53160bfb1202e53fece360838f39646a6d09.tar.xz
gsoc2013-evolution-5dcc53160bfb1202e53fece360838f39646a6d09.tar.zst
gsoc2013-evolution-5dcc53160bfb1202e53fece360838f39646a6d09.zip
Patch from Paul Bolle <pebolle@tiscali.nl>: Fix for bug #542101 (Escape PlaceOfTheMeeting in the Location: line of the tooltip.)
svn path=/trunk/; revision=35743
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/e-calendar-view.c2
2 files changed, 8 insertions, 1 deletions
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 <pebolle@tiscali.nl>
+
+ ** 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 <keithp@keithp.com>
** 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);