Comment 50 for bug 162993

Revision history for this message
In , Michael-monreal+moz (michael-monreal+moz) wrote :

Problem 1): there is no need to depend on libgnomeui for this. The icons are pulled from the icon theme... gnome-icon-theme for example, on which Firefox itself does not depend. Using moz-icon, we CAN display not only the icons GTK ships, but also the ones that are only in the fdo icon theme:

moz-icon://stock/package-x-generic?size=menu

This works, but only displays the icon if it is available in the active theme.

So what could be done here is to test if a list of theme icons are available when FF starts and else fall back on icons that are shipped with firefox, perhaps? If this would be possible, we could use the same for some other icons like window-new and tab-new (which have icons in fdo themes but not GTK, so currently we only use the ones shipping with FF)