From 06bfc5a95963bfcbe9b27f860dd94095d32ad527 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 5 Apr 2001 10:52:06 +0000 Subject: (choosePackagesTree): invert the meaning of 'Show automatically selected packages' to go along with the new description --- perl-install/install_steps_gtk.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm index 18abb6251..6fb6f87a2 100644 --- a/perl-install/install_steps_gtk.pm +++ b/perl-install/install_steps_gtk.pm @@ -311,7 +311,8 @@ sub choosePackagesTree { my ($o, $packages) = @_; $o->set_help('choosePackagesTree'); - my ($curr, $parent, $info_widget, $w_size, $go, $idle, $flat, $auto_deps); + my ($curr, $parent, $info_widget, $w_size, $go, $idle, $flat); + my $auto_deps = 1; my (%wtree, %ptree); my $w = my_gtk->new(''); @@ -456,7 +457,7 @@ sub choosePackagesTree { return $o->ask_warn('', _("You can't select this package as there is not enough space left to install it")); } - @l > @_ && !$auto_deps and $o->ask_okcancel('', [ $isSelection ? + @l > @_ && $auto_deps and $o->ask_okcancel('', [ $isSelection ? _("The following packages are going to be installed") : _("The following packages are going to be removed"), join(", ", common::truncate_list(20, sort @l)) ], 1) || return; -- cgit v1.2.1