***************
AFTER YOU RE-INSTALL iPhoto 4.0
to get rid of the generic icon in the dock...
first remove it from the dock.*POOF* then "get info" on your iPhoto Application (iPhoto.app). Next, click once on the icon in the get info window. press command+C (copy), then press "delete"(icon disappears), then command+p (paste). The icon should reappear. then close get info window. Finally.... re-add the iPhoto icon to the dock. FIXED..i hope🙂
I hope I didn't miss anything as I typed this by memory.
***************