summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-06-15 15:30:26 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-06-15 15:30:26 +0000
commitd41449068bc0df24cf199b02540343a4dc6ec93c (patch)
tree5e0d96cb5e6f7a765da68d89e5f3e2a80190482b /perl-install/diskdrake
parent023feb47d4fc6d04343638288fba247b001f65fd (diff)
downloaddrakx-d41449068bc0df24cf199b02540343a4dc6ec93c.tar
drakx-d41449068bc0df24cf199b02540343a4dc6ec93c.tar.gz
drakx-d41449068bc0df24cf199b02540343a4dc6ec93c.tar.bz2
drakx-d41449068bc0df24cf199b02540343a4dc6ec93c.tar.xz
drakx-d41449068bc0df24cf199b02540343a4dc6ec93c.zip
rename is_same_part to are_same_partitions (not that much clear, but at least a little)
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/hd_gtk.pm2
-rw-r--r--perl-install/diskdrake/interactive.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm
index c6ae7b4e4..197bbf1d9 100644
--- a/perl-install/diskdrake/hd_gtk.pm
+++ b/perl-install/diskdrake/hd_gtk.pm
@@ -295,7 +295,7 @@ sub create_buttons4partitions {
$w->set_name("PART_" . type2name($entry->{type}));
$w->set_size_request($entry->{size} * $ratio + $minwidth, 0);
gtkpack__($kind->{display_box}, $w);
- $w->grab_focus if $current_entry && fsedit::is_same_part($current_entry, $entry);
+ $w->grab_focus if $current_entry && fsedit::are_same_partitions($current_entry, $entry);
}
}
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index 19b59fa99..8a029c26b 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -972,7 +972,7 @@ sub Options {
sub is_part_existing {
my ($part, $all_hds) = @_;
- $part && any { fsedit::is_same_part($part, $_) } fsedit::get_all_fstab_and_holes($all_hds);
+ $part && any { fsedit::are_same_partitions($part, $_) } fsedit::get_all_fstab_and_holes($all_hds);
}
sub modifyRAID {