From 194c9bd72e59dff1a0d16d1db9043ac3ca6799b2 Mon Sep 17 00:00:00 2001 From: damien Date: Wed, 6 Dec 2000 01:15:39 +0000 Subject: firewall infects the install. The logo is changed if firewall. --- perl-install/install_gtk.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/perl-install/install_gtk.pm b/perl-install/install_gtk.pm index 2840166dc..710f71e6e 100644 --- a/perl-install/install_gtk.pm +++ b/perl-install/install_gtk.pm @@ -13,6 +13,7 @@ use devices; #-##################################################################################### my @themes_vga16 = qw(blue blackwhite savane); my @themes_desktop = qw(mdk-Desktop DarkMarble marble3d blueHeart); +my @themes_firewall = qw(mdk-Firewall DarkMarble marble3d blueHeart); my @themes = qw(mdk DarkMarble marble3d blueHeart); my (@background1, @background2); @@ -36,6 +37,7 @@ sub load_rc { sub default_theme { my ($o) = @_; @themes = @themes_desktop if $o->{meta_class} eq 'desktop'; + @themes = @themes_desktop if $o->{meta_class} eq 'firewall'; @themes = @themes_vga16 if $o->{simple_themes} || $o->{vga16}; install_theme($o, $o->{theme} || $themes[0]); } @@ -189,6 +191,7 @@ sub create_logo_window { $w->{rwindow}->set_name("logo"); $w->show; my $file = $o->{meta_class} eq 'desktop' ? "logo-mandrake-Desktop.xpm" : "logo-mandrake.xpm"; + $o->{meta_class} eq 'firewall' and $file = "logo-mandrake-Firewall.xpm"; -r $file or $file = "$ENV{SHARE_PATH}/$file"; if (-r $file) { my $ww = $w->{window}; -- cgit v1.2.1