summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-24 22:33:46 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-24 22:33:46 +0000
commit8c0d5fa642c04ad3df3f6cab068e20924fc10383 (patch)
treebf98642ac21bebf359638fe3f3cdc7462bdac836 /perl-install
parent0988bdfe1c5d6e3e2922415c3a115cb9c9450328 (diff)
downloaddrakx-8c0d5fa642c04ad3df3f6cab068e20924fc10383.tar
drakx-8c0d5fa642c04ad3df3f6cab068e20924fc10383.tar.gz
drakx-8c0d5fa642c04ad3df3f6cab068e20924fc10383.tar.bz2
drakx-8c0d5fa642c04ad3df3f6cab068e20924fc10383.tar.xz
drakx-8c0d5fa642c04ad3df3f6cab068e20924fc10383.zip
(_gtk__MDV_Notebook) make sure filler is big enough
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/mygtk2.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index 2a47d272c..c37073cdd 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -657,6 +657,7 @@ sub _gtk__MDV_Notebook {
my $offset = 20;
my $is_flip_needed = text_direction_rtl();
my $filler = gtknew('Image', file => 'left-background-filler.png');
+ my $filler_height = $filler->get_pixbuf->get_height;
my $left_background = gtknew('Image', file => 'left-background.png');
my $right_background = gtknew('Image', file => "right-white-background_left_part$suffix", flip => $is_flip_needed);
my $lf_height = $left_background->get_pixbuf->get_height;
@@ -669,6 +670,8 @@ sub _gtk__MDV_Notebook {
[ $left_background, 0, 0 ],
if_($suffix ne '_600',
[ $filler, 0, $lf_height ],
+ [ gtknew('Image', file => 'left-background-filler.png'), 0, $lf_height + $filler_height ],
+ [ gtknew('Image', file => 'left-background-filler.png'), 0, $lf_height + $filler_height*2 ],
),
[ $selection_bar = gtknew('Image', file => 'rollover.png'), 0, 0 ], # arbitrary vertical position
($opts->{children} ? @{ delete $opts->{children} } : ()),