summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2000-12-06 01:15:39 +0000
committerdamien <damien@mandriva.com>2000-12-06 01:15:39 +0000
commit194c9bd72e59dff1a0d16d1db9043ac3ca6799b2 (patch)
treef5312101189bcd16c68148cf5a676d20aed9575e
parentafcdce050cd0d965a021ae45452f9741b1175bd0 (diff)
downloaddrakx-backup-do-not-use-194c9bd72e59dff1a0d16d1db9043ac3ca6799b2.tar
drakx-backup-do-not-use-194c9bd72e59dff1a0d16d1db9043ac3ca6799b2.tar.gz
drakx-backup-do-not-use-194c9bd72e59dff1a0d16d1db9043ac3ca6799b2.tar.bz2
drakx-backup-do-not-use-194c9bd72e59dff1a0d16d1db9043ac3ca6799b2.tar.xz
drakx-backup-do-not-use-194c9bd72e59dff1a0d16d1db9043ac3ca6799b2.zip
firewall infects the install.
The logo is changed if firewall.
-rw-r--r--perl-install/install_gtk.pm3
1 files changed, 3 insertions, 0 deletions
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};