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

git-svn-id: svn://10.0.0.236/trunk@251498 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
reed%reedloden.com
2008-05-10 03:36:36 +00:00
parent b1eefe63c9
commit b991f1b4d8
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: