summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-01-20 01:50:07 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-02-07 21:36:44 +0100
commit49cc404e5eddf32ac6be303c08055bdebd8ce509 (patch)
treebdad18df28815768d360f3279973bd976f0c77af /perl-install/diskdrake
parent9c55dc6bcfe5288084ec4a91d53dc3180b287b1e (diff)
downloaddrakx-49cc404e5eddf32ac6be303c08055bdebd8ce509.tar
drakx-49cc404e5eddf32ac6be303c08055bdebd8ce509.tar.gz
drakx-49cc404e5eddf32ac6be303c08055bdebd8ce509.tar.bz2
drakx-49cc404e5eddf32ac6be303c08055bdebd8ce509.tar.xz
drakx-49cc404e5eddf32ac6be303c08055bdebd8ce509.zip
simplify sizing
reverting bits of commits cb2bb1873b8120bd1b3b0dadd0aa9222f336b904 & ee5d25217f323d435e06de59cc091586213d4ab7, reverting back to 2008 situation
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 653320697..c95c465d8 100644
--- a/perl-install/diskdrake/hd_gtk.pm
+++ b/perl-install/diskdrake/hd_gtk.pm
@@ -330,7 +330,7 @@ sub create_buttons4partitions {
if ($w->{window}->get_window) {
my $windowwidth = $w->{window}->get_allocated_width;
$windowwidth = $::real_windowwidth if $windowwidth <= 1;
- $width = $windowwidth - first(get_action_box_size()) - 60;
+ $width = $windowwidth - first(get_action_box_size()) - 25;
}
my $ratio = $totalsectors ? ($width - @parts * $minwidth) / $totalsectors : 1;