summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-08-21 09:38:04 +0000
committerThierry Vignaud <tv@mandriva.org>2008-08-21 09:38:04 +0000
commit2588c5f14fdbef8e8f4ff15f28e3aa5f2feb86eb (patch)
tree7fce88403634a0606dbdb05ba5ace0fa95b7eb96 /perl-install/diskdrake
parent181c09577174f5852f2031fd5edd11c1b7d2b5b9 (diff)
downloaddrakx-backup-do-not-use-2588c5f14fdbef8e8f4ff15f28e3aa5f2feb86eb.tar
drakx-backup-do-not-use-2588c5f14fdbef8e8f4ff15f28e3aa5f2feb86eb.tar.gz
drakx-backup-do-not-use-2588c5f14fdbef8e8f4ff15f28e3aa5f2feb86eb.tar.bz2
drakx-backup-do-not-use-2588c5f14fdbef8e8f4ff15f28e3aa5f2feb86eb.tar.xz
drakx-backup-do-not-use-2588c5f14fdbef8e8f4ff15f28e3aa5f2feb86eb.zip
(create_buttons4partitions) adjust ratio after latest commit which
fixed width computing
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/hd_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm
index 888af4630..470d729f7 100644
--- a/perl-install/diskdrake/hd_gtk.pm
+++ b/perl-install/diskdrake/hd_gtk.pm
@@ -271,7 +271,7 @@ sub create_automatic_notebooks {
sub create_buttons4partitions {
my ($kind, $totalsectors, @parts) = @_;
- $width = max($width, 0.9 * first($w->{window}->window->get_size)) if $w->{window}->window;
+ $width = max($width, 0.7 * first($w->{window}->window->get_size)) if $w->{window}->window;
my $ratio = $totalsectors ? ($width - @parts * $minwidth) / $totalsectors : 1;
while (1) {