summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake/hd_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-07-23 04:11:20 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-07-23 04:11:20 +0000
commit4458a8a8985d3c7c66588ff1cf0748178ad23c17 (patch)
treea88ba2f5f2135cfeb37eee21471592a6e6e1d012 /perl-install/diskdrake/hd_gtk.pm
parent1d8347ff685c50364932f1b2e720a4a97c7d550c (diff)
downloaddrakx-4458a8a8985d3c7c66588ff1cf0748178ad23c17.tar
drakx-4458a8a8985d3c7c66588ff1cf0748178ad23c17.tar.gz
drakx-4458a8a8985d3c7c66588ff1cf0748178ad23c17.tar.bz2
drakx-4458a8a8985d3c7c66588ff1cf0748178ad23c17.tar.xz
drakx-4458a8a8985d3c7c66588ff1cf0748178ad23c17.zip
replace pt_type2name($part->{pt_type}) with part2name($part)
(hoisting the dereferencing {pt_type})
Diffstat (limited to 'perl-install/diskdrake/hd_gtk.pm')
-rw-r--r--perl-install/diskdrake/hd_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm
index 8ec9e80be..8479c3f3e 100644
--- a/perl-install/diskdrake/hd_gtk.pm
+++ b/perl-install/diskdrake/hd_gtk.pm
@@ -292,7 +292,7 @@ sub create_buttons4partitions {
last;
}
});
- $w->set_name("PART_" . pt_type2name($entry->{pt_type}));
+ $w->set_name("PART_" . part2name($entry));
$w->set_size_request($entry->{size} * $ratio + $minwidth, 0);
gtkpack__($kind->{display_box}, $w);
$w->grab_focus if $current_entry && fsedit::are_same_partitions($current_entry, $entry);