From bcb3d840b7a5adda6e3974d2d57556f1545c72a3 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sun, 21 Apr 2013 01:20:57 +0000 Subject: perl_checker cleanups --- perl-install/diskdrake/hd_gtk.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/diskdrake') diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm index 80536b24f..89d46dbfd 100644 --- a/perl-install/diskdrake/hd_gtk.pm +++ b/perl-install/diskdrake/hd_gtk.pm @@ -97,7 +97,7 @@ sub main { current_entry_changed($current_kind, $current_entry); $lock = 0; if ($o_refresh_gui) { - my $new_page = $o_refresh_gui > 1 ? $notebook_widget->get_current_page() : 0; + my $new_page = $o_refresh_gui > 1 ? $notebook_widget->get_current_page : 0; $notebook_widget->set_current_page(-1); $notebook_widget->set_current_page($new_page); } @@ -141,7 +141,7 @@ sub try_ { } if (!diskdrake::interactive::is_part_existing($current_entry, $all_hds)) { - $current_entry = '' ; + $current_entry = ''; } elsif (!$dm_active_before && $current_entry->{dm_active} && $current_entry->{dm_name}) { if (my $mapped_part = fs::get::device2part("mapper/$current_entry->{dm_name}", $all_hds->{dmcrypts})) { $current_entry = $mapped_part; -- cgit v1.2.1