--- trunk/lib/Frey/ClassBrowser.pm 2008/11/28 23:22:22 607 +++ trunk/lib/Frey/ClassBrowser.pm 2008/11/30 23:49:32 653 @@ -25,14 +25,15 @@ $usage ||= $self->session_dump( $self->usage ); #warn "# usage ",dump( $usage ); + + if ( ! $self->can('icon_path') ) { + $self->TODO( "re-apply Frey::Web on $self" ); + Frey::Web->meta->apply( $self ); + } + foreach my $class ( $self->classes ) { - my $icon = ''; - if ( ! $self->can('icon_path') ) { - $self->TODO( "re-apply Frey::Web on $self" ); - Frey::Web->meta->apply( $self ); - } - $icon = $self->icon_path( $class ); + my $icon = $self->icon_path( $class ); if ($icon) { push @icons, $icon; $icon = qq||;