summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-12-17 15:48:47 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-12-17 15:48:47 +0000
commit1f827eb197702deabebe3ff7b2dd228d4eae3461 (patch)
tree977faab707e24a168b8a45d5cfd71bb467f08f34 /perl-install
parent9a14b4fe3bc212f3c12cc0c1cb246a5d842a1449 (diff)
downloaddrakx-backup-do-not-use-1f827eb197702deabebe3ff7b2dd228d4eae3461.tar
drakx-backup-do-not-use-1f827eb197702deabebe3ff7b2dd228d4eae3461.tar.gz
drakx-backup-do-not-use-1f827eb197702deabebe3ff7b2dd228d4eae3461.tar.bz2
drakx-backup-do-not-use-1f827eb197702deabebe3ff7b2dd228d4eae3461.tar.xz
drakx-backup-do-not-use-1f827eb197702deabebe3ff7b2dd228d4eae3461.zip
oops, set_background *is* needed
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/mygtk2.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index 5d7212216..68f95e714 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -675,6 +675,7 @@ sub set_root_window_background {
my $gc = Gtk2::Gdk::GC->new($root);
my $color = rgb2color($r, $g, $b);
$gc->set_rgb_fg_color($color);
+ $root->set_background($color);
my ($w, $h) = $root->get_size;
$root->draw_rectangle($gc, 1, 0, 0, $w, $h);
}