summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-02-19 17:30:55 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-02-19 17:30:55 +0000
commitb947fc6bbcbe16fd89d13b86cc9c2db2c0fa55c9 (patch)
tree6ced819217e0b95ab284994398bafe7bb66c804f
parent2de870f3705fedfeba80c8ac66193036d8a4fc81 (diff)
downloaddrakx-b947fc6bbcbe16fd89d13b86cc9c2db2c0fa55c9.tar
drakx-b947fc6bbcbe16fd89d13b86cc9c2db2c0fa55c9.tar.gz
drakx-b947fc6bbcbe16fd89d13b86cc9c2db2c0fa55c9.tar.bz2
drakx-b947fc6bbcbe16fd89d13b86cc9c2db2c0fa55c9.tar.xz
drakx-b947fc6bbcbe16fd89d13b86cc9c2db2c0fa55c9.zip
the text we give to set_markup should not contain raw "&"
(occurs for "Any PS/2 & USB mice")
-rw-r--r--perl-install/install_steps_gtk.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm
index 259ed9550..6c237f243 100644
--- a/perl-install/install_steps_gtk.pm
+++ b/perl-install/install_steps_gtk.pm
@@ -654,6 +654,7 @@ sub summary_prompt {
$set_entry_labels = sub {
foreach (@$l) {
my $t = $_->{val}() || '<span foreground="red">' . N("not configured") . '</span>';
+ $t =~ s/&/&amp;/g;
$_->{widget}->set_markup($_->{label} . ' - ' . $t);
}
};