From 34ad8f1f0f7be8b8bc9b541648d3eaa777187a1a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 11 Sep 2008 15:34:34 +0000 Subject: (errorInStep) fix parsing error messages ar markups which resulted in: "Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1: Character '" --- perl-install/install/steps_interactive.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/install/steps_interactive.pm') diff --git a/perl-install/install/steps_interactive.pm b/perl-install/install/steps_interactive.pm index d726a2703..65bf90ccf 100644 --- a/perl-install/install/steps_interactive.pm +++ b/perl-install/install/steps_interactive.pm @@ -35,6 +35,7 @@ use log; #-###################################################################################### sub errorInStep { my ($o, $err) = @_; + $err = ugtk2::escape_text_for_TextView_markup_format($err) if $o->isa('install::steps_gtk'); $o->ask_warn(N("Error"), [ N("An error occurred"), formatError($err) ]); } -- cgit v1.2.1