summaryrefslogtreecommitdiffstats
path: root/perl-install/printer
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/printer')
-rw-r--r--perl-install/printer/printerdrake.pm26
1 files changed, 12 insertions, 14 deletions
diff --git a/perl-install/printer/printerdrake.pm b/perl-install/printer/printerdrake.pm
index ea67cd001..dfab0d70f 100644
--- a/perl-install/printer/printerdrake.pm
+++ b/perl-install/printer/printerdrake.pm
@@ -164,13 +164,12 @@ If some of these measures lead to problems for you, turn this option off, but th
cancel => "",
},
# List the hosts
- [ if_($#{$sharehosts->{list}} >= 0,
- { val => \$choice, format => \&translate,
- sort => 0, separator => "####",
- tree_expanded => 1,
- quit_if_double_click => 1,
- allow_empty_list => 1,
- list => $sharehosts->{list} }),
+ [ { val => \$choice, format => \&translate,
+ sort => 0, separator => "####",
+ tree_expanded => 1,
+ quit_if_double_click => 1,
+ allow_empty_list => 1,
+ list => $sharehosts->{list} },
{ val => N("Add host/network"),
type => 'button',
clicked_may_quit => sub {
@@ -350,13 +349,12 @@ N("Examples for correct IPs:\n") .
cancel => "",
},
# List the hosts
- [ if_($#{$browsepoll->{list}} >= 0,
- { val => \$choice, format => \&translate,
- sort => 0, separator => "####",
- tree_expanded => 1,
- quit_if_double_click => 1,
- allow_empty_list => 1,
- list => $browsepoll->{list} }),
+ [ { val => \$choice, format => \&translate,
+ sort => 0, separator => "####",
+ tree_expanded => 1,
+ quit_if_double_click => 1,
+ allow_empty_list => 1,
+ list => $browsepoll->{list} },
{ val => N("Add server"),
type => 'button',
clicked_may_quit => sub {