Actually, we could have this code build when MOZ_ENABLE_GNOMEUI is not set, and use #ifdef around the libgnomeui headers, and #ifdef out the file type icon code. Then you'd still get icons in the Firefox UI even if libgnomeui is not available at build time.
Actually, we could have this code build when MOZ_ENABLE_GNOMEUI is not set, and use #ifdef around the libgnomeui headers, and #ifdef out the file type icon code. Then you'd still get icons in the Firefox UI even if libgnomeui is not available at build time.