diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-02-27 14:00:23 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-02-27 14:00:23 +0000 |
commit | cfe74ef9cbf9abe3828cee37149e206b90f4e74e (patch) | |
tree | e50c9cdd1dbad5e99ba4a069eea4438d8489c266 /Rpmdrake/gui.pm | |
parent | a36cb2315aa1cee9d7e3ffad3d0014e4b22b5e0c (diff) | |
download | rpmdrake-cfe74ef9cbf9abe3828cee37149e206b90f4e74e.tar rpmdrake-cfe74ef9cbf9abe3828cee37149e206b90f4e74e.tar.gz rpmdrake-cfe74ef9cbf9abe3828cee37149e206b90f4e74e.tar.bz2 rpmdrake-cfe74ef9cbf9abe3828cee37149e206b90f4e74e.tar.xz rpmdrake-cfe74ef9cbf9abe3828cee37149e206b90f4e74e.zip |
make select checkbox not activatable for base packages instead of popup an explanation about not possible
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r-- | Rpmdrake/gui.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index 3725860c..debd54d9 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -63,6 +63,7 @@ our %pkg_columns = ( version => 5, release => 6, 'arch' => 7, + selectable => 8, ); @@ -253,6 +254,7 @@ sub set_node_state { $model->set($iter, $pkg_columns{state_icon} => $pix{$state}); $model->set($iter, $pkg_columns{state} => $state); $model->set($iter, $pkg_columns{selected} => to_bool(member($state, qw(base installed to_install)))); #$pkg->{selected})); + $model->set($iter, $pkg_columns{selectable} => to_bool($state ne 'base')); } sub set_leaf_state { |