yep, i'm still here
about the "cannot be downloaded" - try the following in line 427:
original:
Code:
if ($dslist->[$select][2] ne "" && $dslist->[$select][2] !~ /(adf|hdf|rom)/i)
replace with this line:
Code:
if ($dslist->[$select][2] ne "" && $dslist->[$select][2] !~ /(adf|hdf|rom|null)/i)
you already changed line 105 into "double" - if so, it does not looks well.
maybe there is anothere definition possible (long) - i'll have a look.
edit: double --> double-precision floating point values
this is wrong for the filesize, but there is only int and float for digits. *searching again*
edit2: try line 105 with this:
maybe this does work
edit3: to get an icon for the "null" filetype, change line 304 and 305:
original:
Code:
$pixbuf = $win->render_icon ("gtk-execute", 'menu') if $f_type =~ /^$/;
$pixbuf = $win->render_icon ("gtk-info", 'menu') if $f_type =~ /^$/ &&
change above into:
Code:
$pixbuf = $win->render_icon ("gtk-execute", 'menu') if $f_type =~ /null/i;
$pixbuf = $win->render_icon ("gtk-info", 'menu') if $f_type =~ /null/i &&
not sure about delete / rename . there are also debug lines, if you call the function in the gui.
-------------------------------------------------------------------------------------------------------------
edit4:
before we start to fix the f_type="null" issue on many (!?) lines in lxagui, you can try to fix line 292.
so start with an original lxagui, and change only line 290 and 292:
line 290:
Code:
/\s*(.*?)\s+(\d+)\s+(?:\(?(\w+)\)?)?\s+(\d+\/\d+\/\d+\s+\d+:\d+:\d+)\s(.*)/);
line 292:
Code:
$f_type = "" if ($f_type eq "null");
this will set $f_type to "" if we match a "null" - otherwise it will be dir/vol/rom ...
so we have the same value of $f_type as it is expected from the original lxagui.
and set debug=1 in line 30. post console output of gui functions you are using.