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/NEWS | 1 + perl-install/install/steps_interactive.pm | 1 + 2 files changed, 2 insertions(+) (limited to 'perl-install') 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) ]); } -- cgit v1.2.1