aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2011-09-17 10:32:15 +0000
committerThierry Vignaud <tv@mageia.org>2011-09-17 10:32:15 +0000
commitfac1c62b31aabad3b8870e5830f8b0f8be24cd2c (patch)
tree4c815fc69a8d6e71d122f5e98652e1bc86fa3274
parent689ffa7b1944c74d9a72aa2c44e3261cc5967701 (diff)
downloadrpmdrake-fac1c62b31aabad3b8870e5830f8b0f8be24cd2c.tar
rpmdrake-fac1c62b31aabad3b8870e5830f8b0f8be24cd2c.tar.gz
rpmdrake-fac1c62b31aabad3b8870e5830f8b0f8be24cd2c.tar.bz2
rpmdrake-fac1c62b31aabad3b8870e5830f8b0f8be24cd2c.tar.xz
rpmdrake-fac1c62b31aabad3b8870e5830f8b0f8be24cd2c.zip
(perform_installation,perform_removal) better message for orphans (#902)
(needs urpmi > 6.40)
-rw-r--r--NEWS3
-rw-r--r--Rpmdrake/pkg.pm4
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);
}
}