summaryrefslogtreecommitdiffstats
path: root/perl-install/install/steps_interactive.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-11 15:34:34 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-11 15:34:34 +0000
commit34ad8f1f0f7be8b8bc9b541648d3eaa777187a1a (patch)
tree348421d93874a105442e97c1bc92e72fefbfebe6 /perl-install/install/steps_interactive.pm
parentb333859b1411d1da7bdf4ec2986834b2dd03d556 (diff)
downloaddrakx-34ad8f1f0f7be8b8bc9b541648d3eaa777187a1a.tar
drakx-34ad8f1f0f7be8b8bc9b541648d3eaa777187a1a.tar.gz
drakx-34ad8f1f0f7be8b8bc9b541648d3eaa777187a1a.tar.bz2
drakx-34ad8f1f0f7be8b8bc9b541648d3eaa777187a1a.tar.xz
drakx-34ad8f1f0f7be8b8bc9b541648d3eaa777187a1a.zip
(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 '"
Diffstat (limited to 'perl-install/install/steps_interactive.pm')
-rw-r--r--perl-install/install/steps_interactive.pm1
1 files changed, 1 insertions, 0 deletions
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) ]);
}