diff options
author | Garrett Regier <alias301@gmail.com> | 2011-03-25 21:15:48 -0700 |
---|---|---|
committer | Steve Frécinaux <code@istique.net> | 2011-03-26 19:53:20 +0100 |
commit | 65474a8b3cf3b8bcd0074b1a0e906d58bf1a8515 (patch) | |
tree | b3e2d5307978af2026e6ab462f1c3c6a830be609 | |
parent | 95c8d02ce8480c53bd1c21c53e656f52a38b465e (diff) | |
download | libpeas-65474a8b3cf3b8bcd0074b1a0e906d58bf1a8515.tar.gz |
Escape the tooltip's markup
-rw-r--r-- | libpeas-gtk/peas-gtk-plugin-manager-view.c | 8 |
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); |