summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/partitioning_wizard.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-11-30 14:29:19 +0000
committerOlivier Blin <oblin@mandriva.com>2009-11-30 14:29:19 +0000
commit328b3472f726cf029237af00bd703caeb200f928 (patch)
tree6d75a43a0fc4c3db888f10281c2dec9b3b3dc3ce /perl-install/fs/partitioning_wizard.pm
parentfb244376d0399f54b303f6fb24b1018afa84526f (diff)
downloaddrakx-328b3472f726cf029237af00bd703caeb200f928.tar
drakx-328b3472f726cf029237af00bd703caeb200f928.tar.gz
drakx-328b3472f726cf029237af00bd703caeb200f928.tar.bz2
drakx-328b3472f726cf029237af00bd703caeb200f928.tar.xz
drakx-328b3472f726cf029237af00bd703caeb200f928.zip
suggest non-removable disks first
Diffstat (limited to 'perl-install/fs/partitioning_wizard.pm')
-rw-r--r--perl-install/fs/partitioning_wizard.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm
index 2a354bfaf..a30626b52 100644
--- a/perl-install/fs/partitioning_wizard.pm
+++ b/perl-install/fs/partitioning_wizard.pm
@@ -502,7 +502,7 @@ sub main {
my $mainbox = Gtk2::VBox->new;
- my @kinds = map { diskdrake::hd_gtk::hd2kind($_) } @{$all_hds->{hds}};
+ my @kinds = map { diskdrake::hd_gtk::hd2kind($_) } sort { $a->{is_removable} <=> $b->{is_removable} } @{$all_hds->{hds}};
my $hdchoice = Gtk2::HBox->new;