#35 Add support for *.ico files

open
nobody
None
5
2004-10-17
2004-10-17
Anonymous
No

Could you please add support for binary files ending in
*.ico (in AmphetaDesk.pm)? I've attached an updated file.

The change is to the section of code that looks like this:

if ( ( $filename =~ /(jpg|gif|png)$/ ) and -e $filename
) {
...
elsif (-e $filename) {
...
else {
...
}

The modification for *.ico files is to simply add that
extension to the list of binary file types. Thus,
"(jpg|gif|png)" becomes "(jpg|gif|png|ico)".

The attached file is the latest version (1.47) of
AmphetaDesk.pm from CVS, modified as described above.

Discussion

  • Updated AmphetaDesk.pm

     
    Attachments
  • Logged In: NO

    I somehow got logged off before submitting this item. I am
    the one who submitted it:

    http://sourceforge.net/users/captainchad/