Commits

Herbert Breunung committed 7d99040

better name for module retrieval sub

Comments (0)

Files changed (1)

lib/Kephra/App/Panel/FileBrowser.pm

         &Wx::wxTR_SINGLE | &Wx::wxTR_HIDE_ROOT,
     );
 
-    my @lib = @{ get_modules('lib') };
+    my @lib = @{ get_modules_and_paths('lib') };
     my $root_ID = $self->AddRoot( 'Root', -1, -1, Wx::TreeItemData->new( 'Data' ));
     for (0 .. $#lib){
         my $data = Wx::TreeItemData->new; 
     return $self;
 }
 
-sub get_modules {
+sub get_modules_and_paths {
     my $dir = shift;
     return 0 unless -d $dir;
     my @libs;