summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-04-05 10:52:06 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-04-05 10:52:06 +0000
commit06bfc5a95963bfcbe9b27f860dd94095d32ad527 (patch)
treef4026516e89063288e6a673797445585ede7e129 /perl-install/install_steps_gtk.pm
parent8076e536edbcc288ad1666a13b55f4eb2974fc4e (diff)
downloaddrakx-backup-do-not-use-06bfc5a95963bfcbe9b27f860dd94095d32ad527.tar
drakx-backup-do-not-use-06bfc5a95963bfcbe9b27f860dd94095d32ad527.tar.gz
drakx-backup-do-not-use-06bfc5a95963bfcbe9b27f860dd94095d32ad527.tar.bz2
drakx-backup-do-not-use-06bfc5a95963bfcbe9b27f860dd94095d32ad527.tar.xz
drakx-backup-do-not-use-06bfc5a95963bfcbe9b27f860dd94095d32ad527.zip
(choosePackagesTree): invert the meaning of 'Show automatically selected
packages' to go along with the new description
Diffstat (limited to 'perl-install/install_steps_gtk.pm')
-rw-r--r--perl-install/install_steps_gtk.pm5
1 files 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;