aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-03 09:12:16 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-03 09:12:16 +0000
commit84c9d98819fb9f4ffdbc4957d53b84001ee21a2c (patch)
tree1d6fe17c1c741b4d9fe496ca0b5f0949283193ff /Rpmdrake/gui.pm
parenta0ed0f4efcc8eb1e6f6cc7ec368633fbec85fb2c (diff)
downloadrpmdrake-84c9d98819fb9f4ffdbc4957d53b84001ee21a2c.tar
rpmdrake-84c9d98819fb9f4ffdbc4957d53b84001ee21a2c.tar.gz
rpmdrake-84c9d98819fb9f4ffdbc4957d53b84001ee21a2c.tar.bz2
rpmdrake-84c9d98819fb9f4ffdbc4957d53b84001ee21a2c.tar.xz
rpmdrake-84c9d98819fb9f4ffdbc4957d53b84001ee21a2c.zip
(fast_toggle) enable to select a package listed in urpmi's skip.list (#31548)
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 3c35c673..9e8794a9 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -351,6 +351,12 @@ sub ask_browse_tree_given_widgets_for_rpmdrake {
my ($iter) = @_;
gtkset_mousecursor_wait($w->{w}{rwindow}->window);
my $_cleaner = before_leaving { gtkset_mousecursor_normal($w->{w}{rwindow}->window) };
+ my $name = $w->{detail_list_model}->get($iter, $pkg_columns{text});
+ my $urpm_obj = $pkgs->{$name}{pkg};
+ if ($urpm_obj->flag_skip) {
+ 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);
+ }
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);