summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2012-04-24 21:58:30 +0000
committerPascal Terjan <pterjan@mageia.org>2012-04-24 21:58:30 +0000
commitb89ccd4c3a313a13536438135d0c8e96ceb7ad5a (patch)
tree56fd3dfed5cbac310448611aa8bc1fe8fc273816 /perl-install/fs
parent2644a0c335af43c91f6af6bfac5a6c850e7273f3 (diff)
downloaddrakx-backup-do-not-use-b89ccd4c3a313a13536438135d0c8e96ceb7ad5a.tar
drakx-backup-do-not-use-b89ccd4c3a313a13536438135d0c8e96ceb7ad5a.tar.gz
drakx-backup-do-not-use-b89ccd4c3a313a13536438135d0c8e96ceb7ad5a.tar.bz2
drakx-backup-do-not-use-b89ccd4c3a313a13536438135d0c8e96ceb7ad5a.tar.xz
drakx-backup-do-not-use-b89ccd4c3a313a13536438135d0c8e96ceb7ad5a.zip
reuse code from hd_gtk, fixes display of "Use free space" solution
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/partitioning_wizard.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm
index 7712301c3..58acbf54d 100644
--- a/perl-install/fs/partitioning_wizard.pm
+++ b/perl-install/fs/partitioning_wizard.pm
@@ -287,10 +287,9 @@ sub warn_reboot_needed {
sub create_display_box {
my ($kind, $resize, $fill_empty, $button) = @_;
- # perl_checker: require UNIVERSAL
- my @parts = fs::get::hds_fstab_and_holes($kind->{val}) if UNIVERSAL::can($kind->{val}, 'first_usable_sector,');
- my $totalsectors = $kind->{val}{totalsectors};
+ my @parts = diskdrake::hd_gtk::kind2parts($kind);
+ my $totalsectors = diskdrake::hd_gtk::kind2sectors($kind, @parts);
my $width = 540;
my $minwidth = 40;