From fac1c62b31aabad3b8870e5830f8b0f8be24cd2c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sat, 17 Sep 2011 10:32:15 +0000 Subject: (perform_installation,perform_removal) better message for orphans (#902) (needs urpmi > 6.40) --- NEWS | 3 +++ Rpmdrake/pkg.pm | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index c519666f..ca37283d 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +- better message for orphans (#902) + (needs urpmi > 6.40) + Version 5.26.10 - 26 May 2011, Anne Nicolas - update translations diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 46a90e9c..0739c417 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -896,7 +896,7 @@ you may now inspect some in order to take actions:"), if ($exit_code == 0 && !$::rpmdrake_options{auto_orphans}) { if (urpm::orphans::check_unrequested_orphans_after_auto_select($urpm)) { - if (my $msg = urpm::orphans::get_now_orphans_msg($urpm)) { + if (my $msg = urpm::orphans::get_now_orphans_gui_msg($urpm)) { interactive_msg(N("Orphan packages"), $msg, scroll => 1); } } @@ -953,7 +953,7 @@ sub perform_removal { return 1; } else { if ($may_be_orphans && !$::rpmdrake_options{auto_orphans}) { - if (my $msg = urpm::orphans::get_now_orphans_msg($urpm)) { + if (my $msg = urpm::orphans::get_now_orphans_gui_msg($urpm)) { interactive_msg(N("Information"), $msg, scroll => 1); } } -- cgit v1.2.1