diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-09-21 16:16:20 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-09-21 16:16:20 +0000 |
commit | e09a18b157dc592d4030e6cffc14440d55e62951 (patch) | |
tree | bf2f3e1aa5f8c79465432e4d79245f52787d24bf | |
parent | 6672829d3986869cf6816a680def1052b9eb4c86 (diff) | |
download | rpmdrake-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)
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | Rpmdrake/gui.pm | 3 |
2 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,6 @@ - display package basenames when signature checking fails - fix changelog highlighting +- fix deselecting updates when clicking on "New dependancies" - makes --merge-all-rpmnew option slight faster - rpmdrake: o make failing to open RPM DB non fatal when reseting selection (mga#7352) 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) ]); |