summaryrefslogtreecommitdiffstats
path: root/perl-install/install_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-11-12 17:16:17 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-11-12 17:16:17 +0000
commitbde251eb49f0a55b0109b84e46e5721459fb27e6 (patch)
tree8bfaf9937a3164e205efbd2e8230f7b8343deaeb /perl-install/install_gtk.pm
parent78ee67abd5f4b2e2305000cffb949fa76740d709 (diff)
downloaddrakx-bde251eb49f0a55b0109b84e46e5721459fb27e6.tar
drakx-bde251eb49f0a55b0109b84e46e5721459fb27e6.tar.gz
drakx-bde251eb49f0a55b0109b84e46e5721459fb27e6.tar.bz2
drakx-bde251eb49f0a55b0109b84e46e5721459fb27e6.tar.xz
drakx-bde251eb49f0a55b0109b84e46e5721459fb27e6.zip
fix converting the background color
Diffstat (limited to 'perl-install/install_gtk.pm')
-rw-r--r--perl-install/install_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_gtk.pm b/perl-install/install_gtk.pm
index 066223316..48dc018e9 100644
--- a/perl-install/install_gtk.pm
+++ b/perl-install/install_gtk.pm
@@ -64,7 +64,7 @@ sub load_rc {
Gtk2::Rc->parse_string(join("\n", @contents));
foreach (@contents) {
if (/style\s+"background"/ .. /^\s*$/) {
- @background = map { $_ * 256 * 257 } split ',', $1 if /NORMAL.*\{(.*)\}/;
+ @background = map { $_ * 255 * 255 } split ',', $1 if /NORMAL.*\{(.*)\}/;
}
}
}