aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-14 14:41:49 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-14 14:41:49 +0000
commitdcf2ead1454d951b3166028eab51005b4751028a (patch)
treeca44bc861db7cb729c82c6e4a391d5c9e086870c
parenta5a4eca7e0f064bee74265b2857eedc56648d690 (diff)
downloadrpmdrake-dcf2ead1454d951b3166028eab51005b4751028a.tar
rpmdrake-dcf2ead1454d951b3166028eab51005b4751028a.tar.gz
rpmdrake-dcf2ead1454d951b3166028eab51005b4751028a.tar.bz2
rpmdrake-dcf2ead1454d951b3166028eab51005b4751028a.tar.xz
rpmdrake-dcf2ead1454d951b3166028eab51005b4751028a.zip
warn there're priority upgrades when selecting other packages (#38885)
-rw-r--r--NEWS1
-rw-r--r--Rpmdrake/gui.pm5
2 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 5b883186..4c66b45c 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@
- rpmdrake:
o kill "Mandriva choices"
o only list priority upgrades if there're
+ o warn there're priority upgrades when selecting other packages (#38885)
Version 4.6.1 - 10 March 2008, Thierry Vignaud
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 4ab91ecc..47a2d404 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -437,6 +437,11 @@ sub ask_browse_tree_given_widgets_for_rpmdrake {
interactive_msg(N("Warning"), N("The \"%s\" package is in urpmi skip list.\nDo you want to select it anyway?", $name), yesno => 1) or return '';
$urpm_obj->set_flag_skip(0);
}
+
+ if ($Rpmdrake::pkg::need_restart) {
+ interactive_msg(N("Warning"), '<b>' . N("Rpmdrake or one of its priority dependencies needs to be updated first. Rpmdrake will then restart.") . '</b>' . "\n\n");
+ }
+
toggle_nodes($w->{tree}->window, $w->{detail_list_model}, \&set_leaf_state, $w->{detail_list_model}->get($iter, $pkg_columns{state}),
$w->{detail_list_model}->get($iter, $pkg_columns{text}));
update_size($common);