summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-10-28 16:07:45 +0000
committerOlivier Blin <oblin@mandriva.com>2009-10-28 16:07:45 +0000
commitc91ce2f3e458fb596d0938d33f773a70be2338d5 (patch)
tree72c7f372410b757a06db3b8f3a2299c4d8994612 /perl-install
parent38505925a80c53dfb3ec7f7197bea6ada273634a (diff)
downloaddrakx-c91ce2f3e458fb596d0938d33f773a70be2338d5.tar
drakx-c91ce2f3e458fb596d0938d33f773a70be2338d5.tar.gz
drakx-c91ce2f3e458fb596d0938d33f773a70be2338d5.tar.bz2
drakx-c91ce2f3e458fb596d0938d33f773a70be2338d5.tar.xz
drakx-c91ce2f3e458fb596d0938d33f773a70be2338d5.zip
remove extra width computing, we do it at beginning of the loop now
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/fs/partitioning_wizard.pm1
1 files changed, 0 insertions, 1 deletions
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;