diff options
Diffstat (limited to 'perl-install/ugtk3.pm')
-rw-r--r-- | perl-install/ugtk3.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/ugtk3.pm b/perl-install/ugtk3.pm index 630d25807..ea275e5ce 100644 --- a/perl-install/ugtk3.pm +++ b/perl-install/ugtk3.pm @@ -927,8 +927,8 @@ sub ask_browse_tree_info { ) ]), 0, Gtk3::HSeparator->new, 0, my $status = gtknew('Label'), - if_($common->{auto_deps}, - 0, gtknew('CheckButton', text => $common->{auto_deps}, active_ref => \$common->{state}{auto_deps}) + ($common->{auto_deps} ? + (0, gtknew('CheckButton', text => $common->{auto_deps}, active_ref => \$common->{state}{auto_deps})) : () ), 0, Gtk3::HSeparator->new, 0, my $box2 = gtknew('HBox', spacing => 10), |