Window icons

  • Revision slug: Window_icons
  • Revision title: Window icons
  • Revision id: 104318
  • Created:
  • Creator: Andreas Wuest
  • Is current revision? No
  • Comment Added category information

Revision Content

Starting with Firefox 1.5, Thunderbird 1.5, and XULRunner 1.8, you can specify an icon for a XUL window by putting files named <tt>mywindow.ico</tt> (for Windows) and <tt>mywindow.xpm</tt> (Linux), where mywindow is the id of the <window> you want to attach the icon to, in the <tt>chrome/icons/default</tt> subfolder of your bundle.

These icons will override the global icon files, which are located in <tt>app_dir/chrome/icons/default</tt>.

Older versions

To support older applications, such as Firefox 1.0, you need to copy the icons to <tt>app_dir/chrome/icons/default</tt> manually on the first start (example code).

{{ wiki.languages( { "fr": "fr/Ic\u00f4nes_de_fen\u00eatre" } ) }}

Revision Source

<p>
</p><p>Starting with <a href="en/Firefox_1.5">Firefox 1.5</a>, Thunderbird 1.5, and XULRunner 1.8, you can specify an icon for a XUL window by putting files named <tt>mywindow.ico</tt> (for Windows) and <tt>mywindow.xpm</tt> (Linux), where <code>mywindow</code> is the <code>id</code> of the <code>&lt;window&gt;</code> you want to attach the icon to, in the <tt>chrome/icons/default</tt> subfolder of your <a href="en/Bundles">bundle</a>.
</p><p>These icons will override the global icon files, which are located in <tt><i>app_dir</i>/chrome/icons/default</tt>.
</p>
<h3 name="Older_versions"> Older versions </h3>
<p>To support older applications, such as Firefox 1.0, you need to copy the icons to <tt><i>app_dir</i>/chrome/icons/default</tt> manually on the first start (<a class="external" href="http://forums.mozillazine.org/viewtopic.php?p=1243796#1243796">example code</a>).
</p>{{ wiki.languages( { "fr": "fr/Ic\u00f4nes_de_fen\u00eatre" } ) }}
Revert to this revision