From bc80da86f4156dfca17fdad6b7372c7bc40f1be2 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Wed, 15 Oct 2003 17:06:51 +0000 Subject: setting background color is normally not needed anymore since XFree starts with "mandrake color" by default now --- perl-install/install_gtk.pm | 8 -------- 1 file changed, 8 deletions(-) (limited to 'perl-install/install_gtk.pm') diff --git a/perl-install/install_gtk.pm b/perl-install/install_gtk.pm index 50e116de1..29c8b1ae1 100644 --- a/perl-install/install_gtk.pm +++ b/perl-install/install_gtk.pm @@ -12,8 +12,6 @@ use devices; #-INTERN CONSTANT #-##################################################################################### -my @background = qw(0.28 0.38 0.66); #- default is the mandrake blue background - #- if we're running for the doc team, we want screenshots with #- a good B&W contrast: we'll override values of our theme my $theme_overriding_for_doc = q(style "galaxy-default" @@ -62,11 +60,6 @@ sub load_rc { $o->{doc} and push @contents, $theme_overriding_for_doc; Gtk2::Rc->parse_string(join("\n", @contents)); - foreach (@contents) { - if (/style\s+"background"/ .. /^\s*$/) { - @background = split ',', $1 if /NORMAL.*\{(.*)\}/; - } - } } } @@ -105,7 +98,6 @@ sub install_theme { load_rc($o, $o->{theme} ||= default_theme($o)); load_font($o); - gtkset_background(map { $_ * 256 * 257 } @background) unless $::live; #- || testing; } #------------------------------------------------------------------------------ -- cgit v1.2.1