diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-23 00:43:41 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-24 11:00:48 +0100 |
commit | 4838ddbb818deba84355d9b6f1adeea96e429ed8 (patch) | |
tree | bae1950ea50281fcfd015ddaa9578240e8567141 | |
parent | 331742480333c9090d1a7244c565cf02a009dd9d (diff) | |
download | drakx-net-4838ddbb818deba84355d9b6f1adeea96e429ed8.tar drakx-net-4838ddbb818deba84355d9b6f1adeea96e429ed8.tar.gz drakx-net-4838ddbb818deba84355d9b6f1adeea96e429ed8.tar.bz2 drakx-net-4838ddbb818deba84355d9b6f1adeea96e429ed8.tar.xz drakx-net-4838ddbb818deba84355d9b6f1adeea96e429ed8.zip |
simplify
-rwxr-xr-x | bin/draknfs | 7 |
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) }); |