summaryrefslogtreecommitdiffstats
path: root/bin/draknfs
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-20 19:52:33 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-20 19:52:33 +0000
commitb3111e7e9c262d8c71e23a6dc78d5d7a888dacc3 (patch)
treed42205550d30ec092f9743748bcec938017f985b /bin/draknfs
parent683619174a6cd634655ac6a489b5a6efb1b5b3cc (diff)
downloaddrakx-net-b3111e7e9c262d8c71e23a6dc78d5d7a888dacc3.tar
drakx-net-b3111e7e9c262d8c71e23a6dc78d5d7a888dacc3.tar.gz
drakx-net-b3111e7e9c262d8c71e23a6dc78d5d7a888dacc3.tar.bz2
drakx-net-b3111e7e9c262d8c71e23a6dc78d5d7a888dacc3.tar.xz
drakx-net-b3111e7e9c262d8c71e23a6dc78d5d7a888dacc3.zip
perl_checker cleanups
Diffstat (limited to 'bin/draknfs')
-rwxr-xr-xbin/draknfs10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/draknfs b/bin/draknfs
index aa0d8fb..3a0cf31 100755
--- a/bin/draknfs
+++ b/bin/draknfs
@@ -118,7 +118,7 @@ sub show_file_dialog {
}
$file_dlg->hide;
$file_dlg->destroy;
-};
+}
sub get_nfs_data() {
# /home/nis *(async,rw,no_root_squash)
@@ -269,7 +269,7 @@ sub add_modify_entry {
$lsubtree_check->set_popdown_strings(@yesno);
my $button = gtknew('Button', text => N("Directory"));
- $button->signal_connect(clicked => sub { show_file_dialog($dir); });
+ $button->signal_connect(clicked => sub { show_file_dialog($dir) });
# test if modify or add a nfs share
@@ -324,8 +324,8 @@ sub add_modify_entry {
else { $lsubtree_check->set_text("yes") }
} else { next }
}
- foreach ($lsecure, $lsync) { if ($_->get_text =~ //) { $_->set_text("yes") } };
- foreach ($lr, $lsubtree_check) { if ($_->get_text =~ //) { $_->set_text("no") } };
+ foreach ($lsecure, $lsync) { if ($_->get_text =~ //) { $_->set_text("yes") } }
+ foreach ($lr, $lsubtree_check) { if ($_->get_text =~ //) { $_->set_text("no") } }
}
$luserid->signal_connect(changed => sub {
@@ -370,7 +370,7 @@ sub add_modify_entry {
$w->{window}->set_modal(1);
$w->{window}->set_position('center');
- $expender->signal_connect(activate => sub { $w->shrink_topwindow; });
+ $expender->signal_connect(activate => sub { $w->shrink_topwindow });
gtkadd($w->{window},
gtknew('VBox', spacing => 0, children_loose => [