From 55f3bf693398690a74003c11a08ea0002424878a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 24 Sep 2008 14:23:21 +0000 Subject: (_gtk__MDV_Notebook) do not hardcode width --- perl-install/mygtk2.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm index 642b97906..7687cb22f 100644 --- a/perl-install/mygtk2.pm +++ b/perl-install/mygtk2.pm @@ -644,7 +644,7 @@ sub _gtk__MDV_Notebook { my $right_background = gtknew('Image', file => "right-white-background_left_part$suffix", flip => $is_flip_needed); my $width1 = $left_background->get_pixbuf->get_width; my $total_width = $width1 + $right_background->get_pixbuf->get_width; - my $arrow_x = text_direction_rtl() ? $offset/2 -4 : $::stepswidth - $offset -3; + my $arrow_x = text_direction_rtl() ? $offset/2 -3 : $width1 - $offset -4; $w = gtknew('HBox', spacing => 0, children => [ 0, $layout = gtknew('Layout', width => $total_width - $offset, children => [ #Layout Fixed # stacking order is important for "Z-buffer": -- cgit v1.2.1