summaryrefslogtreecommitdiffstats
path: root/perl-install/install_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-11-12 17:25:21 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-11-12 17:25:21 +0000
commit524762eb79efa427e6ba9aebfeab7687027d0f4f (patch)
tree22773051bfb6741d04ba4156c943283af6f6650a /perl-install/install_gtk.pm
parentbde251eb49f0a55b0109b84e46e5721459fb27e6 (diff)
downloaddrakx-backup-do-not-use-524762eb79efa427e6ba9aebfeab7687027d0f4f.tar
drakx-backup-do-not-use-524762eb79efa427e6ba9aebfeab7687027d0f4f.tar.gz
drakx-backup-do-not-use-524762eb79efa427e6ba9aebfeab7687027d0f4f.tar.bz2
drakx-backup-do-not-use-524762eb79efa427e6ba9aebfeab7687027d0f4f.tar.xz
drakx-backup-do-not-use-524762eb79efa427e6ba9aebfeab7687027d0f4f.zip
the color of the categories of steps is better in the theme
(it was the only part not defined in the theme but in the code)
Diffstat (limited to 'perl-install/install_gtk.pm')
-rw-r--r--perl-install/install_gtk.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/install_gtk.pm b/perl-install/install_gtk.pm
index 48dc018e9..3187a6ac0 100644
--- a/perl-install/install_gtk.pm
+++ b/perl-install/install_gtk.pm
@@ -154,8 +154,7 @@ sub create_steps_window {
$w->{rwindow}->set_title('skip');
$steps{$_} ||= gtkcreate_pixbuf("steps_$_") foreach qw(on off);
- my $category = sub { gtkset_markup(Gtk2::Label->new,
- $o->{doc} ? $_[0] : '<span foreground="gray81">' . $_[0] . '</span>') };
+ my $category = sub { gtkset_name(Gtk2::Label->new($_[0]), 'Step-categories') };
gtkpack__(my $vb = Gtk2::VBox->new(0, 3), $steps{inst} = $category->(N("System installation")), '');
foreach (grep { !eval $o->{steps}{$_}{hidden} } @{$o->{orderedSteps}}) {