gnumeric r16637 - in trunk: . src



Author: mortenw
Date: Thu Jun 19 21:11:45 2008
New Revision: 16637
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16637&view=rev

Log:
2008-06-19  Morten Welinder  <terra gnome org>

	* src/wbc-gtk.c (wbcg_error_error_info): Quote markup.  Fixes
	#386412.



Modified:
   trunk/ChangeLog
   trunk/NEWS
   trunk/src/wbc-gtk.c

Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS	(original)
+++ trunk/NEWS	Thu Jun 19 21:11:45 2008
@@ -38,6 +38,7 @@
 	* Fix OPT_RGW hang.  [#534132]
 	* Fix BESSELI and BESSELK aborts.  [#534475]
 	* Fix corrupted-xls-file problem.  [#539178]
+	* Fix markup/text confusion.  [#386412]
 
 SeÃn de BÃrca:
 	* Move to tango based icons. [#450444]

Modified: trunk/src/wbc-gtk.c
==============================================================================
--- trunk/src/wbc-gtk.c	(original)
+++ trunk/src/wbc-gtk.c	Thu Jun 19 21:11:45 2008
@@ -4226,8 +4226,10 @@
 static void
 wbcg_error_error (GOCmdContext *cc, GError *err)
 {
+	char *text = g_markup_escape_text (err->message, -1);
 	go_gtk_notice_dialog (wbcg_toplevel (WBC_GTK (cc)),
-		GTK_MESSAGE_ERROR, err->message);
+			      GTK_MESSAGE_ERROR, text);
+	g_free (text);
 }
 static void
 wbcg_error_error_info (GOCmdContext *cc, ErrorInfo *error)



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