RE: Directory/file browser as TreeView
- From: "Ratcliffe, Jeffrey (Peters)" <Jeffrey Ratcliffe External eads com>
- To:
- Cc: gtk-perl-list gnome org
- Subject: RE: Directory/file browser as TreeView
- Date: Thu, 28 Sep 2006 07:57:07 +0200
Very good script. :)
Thanks!
Here is a minor improvement for the the 'cd' sub. It stops some
'unhandled exception in callback' errors.
Thanks for the patch.
It would be nice if the sub-directories didn't appear in the 'files'
treeview, as they are in the 'directory' treeview.
I was trying to keep it short and simple, but you can replace:
@{$slist->{data}} = <*>;
with
my @data;
foreach (<*>) {
# Ignoring directories
push @data, $_ if (! -d $_);
}
@{$slist->{data}} = @data;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]