[libpeas] Escape the tooltip's markup



commit 65474a8b3cf3b8bcd0074b1a0e906d58bf1a8515
Author: Garrett Regier <alias301 gmail com>
Date:   Fri Mar 25 21:15:48 2011 -0700

    Escape the tooltip's markup

 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);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]