gnome-session r4825 - in trunk: . capplet



Author: vuntz
Date: Tue Jul 22 10:48:38 2008
New Revision: 4825
URL: http://svn.gnome.org/viewvc/gnome-session?rev=4825&view=rev

Log:
2008-07-22  Vincent Untz  <vuntz gnome org>

	* capplet/commands.c: (spc_command_get_app_description): escape the
	comment since we're using markup.
	Fix #542086. Patch by Matthias Clasen <mclasen redhat com>


Modified:
   trunk/ChangeLog
   trunk/capplet/commands.c

Modified: trunk/capplet/commands.c
==============================================================================
--- trunk/capplet/commands.c	(original)
+++ trunk/capplet/commands.c	Tue Jul 22 10:48:38 2008
@@ -787,10 +787,10 @@
 }
 
 char *
-spc_command_get_app_description (const char *name, 
-                                                const char *comment)
+spc_command_get_app_description (const char *name,
+                                 const char *comment)
 {
-  return g_strdup_printf ("<b>%s</b>\n%s", name,
-                          (!gsm_util_text_is_blank (comment) ? 
-                           comment : _("No description")));
+  return g_markup_printf_escaped ("<b>%s</b>\n%s", name,
+                                  (!gsm_util_text_is_blank (comment) ?
+                                   comment : _("No description")));
 }



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