diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-08-23 09:20:45 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-08-23 09:20:45 +0000 |
commit | 9d267941261e314393a3fb33b3781f5b338fd687 (patch) | |
tree | 929c238f28f7fe1a56c0e7914ea6017d82826078 | |
parent | 477b11dd05544924e3825ecadb5d8ecbd04636d7 (diff) | |
download | rpmdrake-9d267941261e314393a3fb33b3781f5b338fd687.tar rpmdrake-9d267941261e314393a3fb33b3781f5b338fd687.tar.gz rpmdrake-9d267941261e314393a3fb33b3781f5b338fd687.tar.bz2 rpmdrake-9d267941261e314393a3fb33b3781f5b338fd687.tar.xz rpmdrake-9d267941261e314393a3fb33b3781f5b338fd687.zip |
(is_a_package) introduce it it order to know whether a leaf is a package or a group
-rwxr-xr-x | rpmdrake | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -702,6 +702,10 @@ sub run_treeview_dialog { @to_remove; }; $options = { + is_a_package => sub { + my ($pkg) = @_; + return exists $pkgs->{$pkg}; + }, get_icon => sub { my ($group, $parent) = @_; my $pixbuf; |