From c91ce2f3e458fb596d0938d33f773a70be2338d5 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 28 Oct 2009 16:07:45 +0000 Subject: remove extra width computing, we do it at beginning of the loop now --- perl-install/fs/partitioning_wizard.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm index ad23d8b9a..5613d21bd 100644 --- a/perl-install/fs/partitioning_wizard.pm +++ b/perl-install/fs/partitioning_wizard.pm @@ -363,7 +363,6 @@ sub create_display_box { }; $hpane->signal_connect('size-allocate' => sub { my (undef, $alloc) = @_; - $part->{width} = $alloc->width; $part->{req_size} = int($hpane->get_position * $part->{size} / $part->{width}); $update_size_labels->($part->{req_size}, $part->{size}-$part->{req_size}); 0; -- cgit v1.2.1