From 051da221073eba9c656872eb145829cb71f01e13 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 28 Oct 2009 14:59:18 +0000 Subject: use same default windows partition size for gtk and text installs --- perl-install/fs/partitioning_wizard.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm index aa8c85d95..fc6bd4f96 100644 --- a/perl-install/fs/partitioning_wizard.pm +++ b/perl-install/fs/partitioning_wizard.pm @@ -323,7 +323,7 @@ sub create_display_box { $hpane->child1_shrink(0); $hpane->add2($ev2); $hpane->child2_shrink(0); - $hpane->set_position(ceil($ratio * $part->{min_win} + $minwidth * $part->{min_win} / $part->{size})); + $hpane->set_position(ceil($ratio * $part->{req_size})); ugtk2::gtkset_size_request($hpane, $ratio * $part->{size} + $minwidth, 0); ugtk2::gtkpack__($display_box, $hpane); -- cgit v1.2.1