summaryrefslogtreecommitdiffstats
path: root/perl-install/install
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
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')
-rw-r--r--perl-install/install/NEWS1
-rw-r--r--perl-install/install/steps_interactive.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index bf29505c6..1ae095588 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,5 +1,6 @@
- do not render "Advanced" & "Help" buttons as blue
- fix default spacing between GUI elements
+- fix parsing error messages ar markups
- put "Close" button of help at right end
- services (thanks to spuk):
o list ip6tables in "Internet" category
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) ]);
}