aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-21 16:16:20 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-21 16:16:20 +0000
commite09a18b157dc592d4030e6cffc14440d55e62951 (patch)
treebf2f3e1aa5f8c79465432e4d79245f52787d24bf /Rpmdrake
parent6672829d3986869cf6816a680def1052b9eb4c86 (diff)
downloadrpmdrake-e09a18b157dc592d4030e6cffc14440d55e62951.tar
rpmdrake-e09a18b157dc592d4030e6cffc14440d55e62951.tar.gz
rpmdrake-e09a18b157dc592d4030e6cffc14440d55e62951.tar.bz2
rpmdrake-e09a18b157dc592d4030e6cffc14440d55e62951.tar.xz
rpmdrake-e09a18b157dc592d4030e6cffc14440d55e62951.zip
(get_new_deps) fix deselecting updates when clicking on "New dependancies"
side effect: doesn't show suggested packages anymore (backported from trunk)
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 7178614f..a7ee887d 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -231,11 +231,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) ]);