diff options
-rwxr-xr-x | rpmdrake | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -702,6 +702,12 @@ sub run_treeview_dialog { @to_remove; }; $options = { + get_icon => sub { + my ($group) = @_; + my $pixbuf; + eval { $pixbuf = gtkcreate_pixbuf($group_icons{$group}) }; + $pixbuf ||= gtkcreate_pixbuf('applications_section'); + }, node_state => sub { $_[0] ? ($pkgs->{$_[0]}{selected} ? 'selected' : $pkgs->{$_[0]}{pkg}->flag_base ? '/usr/share/rpmdrake/icons/base.png' : 'unselected') : 'XXX'; }, #- checks $_[0] -> hack for partial tree displaying |