Bug 432938 - "Use GTK stock icon for netError favicon instead of Windows icon" [p=reed r+sr=jst r=dietrich a1.9=schrep]

This commit is contained in:
reed@reedloden.com 2008-05-09 20:36:36 -07:00
parent cdc2c657bc
commit 7fb19b8ba6
2 changed files with 5 additions and 1 deletions

View File

@ -1,2 +1,2 @@
toolkit.jar:
content/global/netError.xhtml
* content/global/netError.xhtml

View File

@ -61,7 +61,11 @@
<link rel="stylesheet" href="chrome://global/skin/netError.css" type="text/css" media="all" />
<!-- If the location of the favicon is changed here, the FAVICON_ERRORPAGE_URL symbol in
toolkit/components/places/src/nsFaviconService.h should be updated. -->
#ifdef MOZ_WIDGET_GTK2
<link rel="icon" type="image/png" id="favicon" href="moz-icon://stock/gtk-dialog-warning?size=menu"/>
#else
<link rel="icon" type="image/png" id="favicon" href="chrome://global/skin/icons/warning-16.png"/>
#endif
<script type="application/x-javascript"><![CDATA[
// Error url MUST be formatted like this: