aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-17 18:03:35 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-17 18:03:35 +0000
commitc6404bf8c7adc8843f45f4170aa7b2da6924e449 (patch)
tree4079d187b8944438fdcc98bf9d24e04cc6596c39 /Rpmdrake/gui.pm
parenta686ef8bea2625b8474fc2deaccbe172952a1480 (diff)
downloadrpmdrake-c6404bf8c7adc8843f45f4170aa7b2da6924e449.tar
rpmdrake-c6404bf8c7adc8843f45f4170aa7b2da6924e449.tar.gz
rpmdrake-c6404bf8c7adc8843f45f4170aa7b2da6924e449.tar.bz2
rpmdrake-c6404bf8c7adc8843f45f4170aa7b2da6924e449.tar.xz
rpmdrake-c6404bf8c7adc8843f45f4170aa7b2da6924e449.zip
(get_new_deps) fix deselecting updates when clicking on "New dependancies"
side effect: doesn't show suggested packages anymore
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 6ac0c766..5c9a08a8 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -232,11 +232,10 @@ sub get_new_deps {
slow_func($::main_window->window, sub {
my $state = {};
my $db = open_rpm_db();
- my @requested = $urpm->resolve_requested(
+ my @requested = $urpm->resolve_requested__no_suggests_(
$db, $state,
{ $upkg->id => 1 },
);
- $urpm->disable_selected($db, $state, @requested);
undef $db;
my @nodes_with_deps = map { urpm_name($_) } @requested;
my @deps = sort { $a cmp $b } difference2(\@nodes_with_deps, [ urpm_name($upkg) ]);