summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-10-28 14:59:18 +0000
committerOlivier Blin <oblin@mandriva.com>2009-10-28 14:59:18 +0000
commit051da221073eba9c656872eb145829cb71f01e13 (patch)
tree72b264e19819738f9f8570c73313499daf978364
parent4406b05f7ae0ee25469d7830e8258cdc2b578ba6 (diff)
downloaddrakx-051da221073eba9c656872eb145829cb71f01e13.tar
drakx-051da221073eba9c656872eb145829cb71f01e13.tar.gz
drakx-051da221073eba9c656872eb145829cb71f01e13.tar.bz2
drakx-051da221073eba9c656872eb145829cb71f01e13.tar.xz
drakx-051da221073eba9c656872eb145829cb71f01e13.zip
use same default windows partition size for gtk and text installs
-rw-r--r--perl-install/fs/partitioning_wizard.pm2
1 files changed, 1 insertions, 1 deletions
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);