summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett Regier <alias301@gmail.com>2011-03-25 21:15:48 -0700
committerSteve Frécinaux <code@istique.net>2011-03-26 19:53:20 +0100
commit65474a8b3cf3b8bcd0074b1a0e906d58bf1a8515 (patch)
treeb3e2d5307978af2026e6ab462f1c3c6a830be609
parent95c8d02ce8480c53bd1c21c53e656f52a38b465e (diff)
downloadlibpeas-65474a8b3cf3b8bcd0074b1a0e906d58bf1a8515.tar.gz
Escape the tooltip's markup
-rw-r--r--libpeas-gtk/peas-gtk-plugin-manager-view.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libpeas-gtk/peas-gtk-plugin-manager-view.c b/libpeas-gtk/peas-gtk-plugin-manager-view.c
index 5ee2494..e8289cd 100644
--- a/libpeas-gtk/peas-gtk-plugin-manager-view.c
+++ b/libpeas-gtk/peas-gtk-plugin-manager-view.c
@@ -616,10 +616,10 @@ peas_gtk_plugin_manager_view_query_tooltip (GtkWidget *widget,
{
gchar *message;
- message = g_strdup_printf (_("<b>The plugin '%s' could not be loaded</b>\n"
- "An error occurred: %s"),
- peas_plugin_info_get_name (info),
- error->message);
+ message = g_markup_printf_escaped (_("<b>The plugin '%s' could not be "
+ "loaded</b>\nAn error occurred: %s"),
+ peas_plugin_info_get_name (info),
+ error->message);
gtk_tooltip_set_markup (tooltip, message);