diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-12-17 15:48:47 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-12-17 15:48:47 +0000 |
commit | 1f827eb197702deabebe3ff7b2dd228d4eae3461 (patch) | |
tree | 977faab707e24a168b8a45d5cfd71bb467f08f34 /perl-install/mygtk2.pm | |
parent | 9a14b4fe3bc212f3c12cc0c1cb246a5d842a1449 (diff) | |
download | drakx-1f827eb197702deabebe3ff7b2dd228d4eae3461.tar drakx-1f827eb197702deabebe3ff7b2dd228d4eae3461.tar.gz drakx-1f827eb197702deabebe3ff7b2dd228d4eae3461.tar.bz2 drakx-1f827eb197702deabebe3ff7b2dd228d4eae3461.tar.xz drakx-1f827eb197702deabebe3ff7b2dd228d4eae3461.zip |
oops, set_background *is* needed
Diffstat (limited to 'perl-install/mygtk2.pm')
-rw-r--r-- | perl-install/mygtk2.pm | 1 |
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); } |