summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-10-15 17:06:51 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-10-15 17:06:51 +0000
commitbc80da86f4156dfca17fdad6b7372c7bc40f1be2 (patch)
treea31b19e732e53090a9b09c64f98c36cef1aa66d2 /perl-install
parent6735c0dc832bbcf3ae0365f76a73f095efd2bf8f (diff)
downloaddrakx-bc80da86f4156dfca17fdad6b7372c7bc40f1be2.tar
drakx-bc80da86f4156dfca17fdad6b7372c7bc40f1be2.tar.gz
drakx-bc80da86f4156dfca17fdad6b7372c7bc40f1be2.tar.bz2
drakx-bc80da86f4156dfca17fdad6b7372c7bc40f1be2.tar.xz
drakx-bc80da86f4156dfca17fdad6b7372c7bc40f1be2.zip
setting background color is normally not needed anymore since XFree starts with "mandrake color" by default now
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_gtk.pm8
1 files changed, 0 insertions, 8 deletions
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;
}
#------------------------------------------------------------------------------