aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 0a168123..63bfb916 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -23,7 +23,7 @@ package Rpmdrake::gui;
#
# $Id$
-use strict;
+
our @ISA = qw(Exporter);
use lib qw(/usr/lib/libDrakX);
@@ -230,11 +230,11 @@ sub get_new_deps {
slow_func($::main_window->get_window, sub {
my $state = {};
my $db = open_rpm_db();
- my @requested = $urpm->resolve_requested__no_recommends_(
+ my @requested = $urpm->resolve_requested__no_suggests_(
$db, $state,
{ $upkg->id => 1 },
);
- @requested = $urpm->resolve_requested_recommends($db, $state, \@requested);
+ @requested = $urpm->resolve_requested_suggests($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) ]);