summaryrefslogtreecommitdiffstats
path: root/bin/draknfs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/draknfs')
-rwxr-xr-xbin/draknfs7
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/draknfs b/bin/draknfs
index c00b7c8..1b6f835 100755
--- a/bin/draknfs
+++ b/bin/draknfs
@@ -253,10 +253,9 @@ sub add_modify_entry {
$access->set_popdown_strings(@access_list);
$luserid->set_popdown_strings(@listuserid_data);
- $lr->set_popdown_strings(@yesno);
- $lsync->set_popdown_strings(@yesno);
- $lsecure->set_popdown_strings(@yesno);
- $lsubtree_check->set_popdown_strings(@yesno);
+ foreach my $box ($lr, $lsync, $lsecure, $lsubtree_check) {
+ $box->set_popdown_strings(@yesno);
+ }
my $button = gtknew('Button', text => N("Directory"));
$button->signal_connect(clicked => sub { show_file_dialog($dir) });