summaryrefslogtreecommitdiffstats
path: root/perl-install/install_gtk.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-08-26 13:58:47 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-08-26 13:58:47 +0000
commit0dd36000b55ace3bbfffdb0e8aa022618919d795 (patch)
treecd830d7f595d17a01a3291c8691e3bef44d9c65c /perl-install/install_gtk.pm
parentca09a25a2290e8d2bf69cd17a9492737944cab01 (diff)
downloaddrakx-0dd36000b55ace3bbfffdb0e8aa022618919d795.tar
drakx-0dd36000b55ace3bbfffdb0e8aa022618919d795.tar.gz
drakx-0dd36000b55ace3bbfffdb0e8aa022618919d795.tar.bz2
drakx-0dd36000b55ace3bbfffdb0e8aa022618919d795.tar.xz
drakx-0dd36000b55ace3bbfffdb0e8aa022618919d795.zip
(update_steps_position) render passed steps as bold and current step as bold italic as requested by IHM team
Diffstat (limited to 'perl-install/install_gtk.pm')
-rw-r--r--perl-install/install_gtk.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/install_gtk.pm b/perl-install/install_gtk.pm
index ce7661f13..62446a68f 100644
--- a/perl-install/install_gtk.pm
+++ b/perl-install/install_gtk.pm
@@ -160,7 +160,11 @@ sub update_steps_position {
exists $steps{steps}{$_} or next;
if ($o->{steps}{$_}{entered} && !$o->{steps}{$_}{done}) {
$steps{steps}{$_}{img}->set_from_pixbuf($steps{on});
- $last_step and $steps{steps}{$last_step}{img}->set_from_pixbuf($steps{off});
+ $steps{steps}{$_}{text}->set_markup('<b><i>' . $steps{steps}{$_}{raw_text} . '</i></b>');
+ if ($last_step) {
+ $steps{steps}{$last_step}{img}->set_from_pixbuf($steps{done});
+ $steps{steps}{$last_step}{text}->set_markup('<b>' . $steps{steps}{$last_step}{raw_text} . '</b>');
+ }
return;
}
$last_step = $_;