[Xfce4-commits] <xfce4-panel:xfce-4.6> Use g_markup_printf_escaped in the launcher tooltip (bug #5507).
Nick Schermer
noreply at xfce.org
Fri Oct 16 14:30:01 CEST 2009
Updating branch refs/heads/xfce-4.6
to 435ec34e704b3d33bfa39815df5375603563a6cc (commit)
from f85ab8d15450b9442ac9012c3c5d1e9d6efd519a (commit)
commit 435ec34e704b3d33bfa39815df5375603563a6cc
Author: Nick Schermer <nick at xfce.org>
Date: Mon Oct 5 18:02:32 2009 +0200
Use g_markup_printf_escaped in the launcher tooltip (bug #5507).
plugins/launcher/launcher.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/plugins/launcher/launcher.c b/plugins/launcher/launcher.c
index a9fcc4e..80ccb49 100644
--- a/plugins/launcher/launcher.c
+++ b/plugins/launcher/launcher.c
@@ -254,7 +254,7 @@ launcher_utility_query_tooltip (GtkWidget *widget,
{
if (entry->comment)
{
- string = g_strdup_printf ("<b>%s</b>\n%s", entry->name, entry->comment);
+ string = g_markup_printf_escaped ("<b>%s</b>\n%s", entry->name, entry->comment);
gtk_tooltip_set_markup (tooltip, string);
g_free (string);
}
More information about the Xfce4-commits
mailing list