mozilla

Compare Revisions

XULRunner tips

Change Revisions

Revision 109173:

Revision 109173 by Jorge.villalobos on

Revision 109174:

Revision 109174 by Glazou on

Title:
XULRunner tips
XULRunner tips
Slug:
XULRunner_tips
XULRunner_tips
Tags:
XUL, XULRunner
XUL, XULRunner
Content:

Revision 109173
Revision 109174
n10    <h2 name="Extension_Manager">n10    <h2 id="Extension_Manager" name="Extension_Manager">
nn34    <p>
35      If your application is based on Gecko 2.0, you need to regi
 >ster a component through the new component registration because t
 >he extension manager uses FUEL, namely <code>Application.restart(
 >)</code>, to restart your xulrunner-based application after any c
 >hange (installation, removal, enabling, disabling) in the extensi
 >ons' list:
36    </p>
37    <ol>
38      <li>copy files <code>fuelApplication.js</code> and <code>fu
 >elApplication.manifest</code> from <a class=" external" href="htt
 >p://mxr.mozilla.org/mozilla-central/source/browser/fuel/src/" tit
 >le="http://mxr.mozilla.org/mozilla-central/source/browser/fuel/sr
 >c/"><code>browser/fuel/src</code></a> for instance into your <cod
 >e>components/</code> directory
39      </li>
40      <li>tweak the line <code>#include ../../../toolkit/componen
 >ts/exthelper/extApplication.js</code> in your copy of <code>fuelA
 >pplication.js</code> as needed
41      </li>
42      <li>make sure to declare the FUEL module and the two files 
 >in your <code>components/Makefile.in</code> as in <a class=" exte
 >rnal" href="http://mxr.mozilla.org/mozilla-central/source/browser
 >/fuel/src/Makefile.in" title="http://mxr.mozilla.org/mozilla-cent
 >ral/source/browser/fuel/src/Makefile.in"><code>browser/fuel/src/M
 >akefile.in</code></a>
43      </li>
44      <li>rebuild...
45      </li>
46    </ol>
34    <h2 name="Useful_Chrome_URLs">47    <h2 id="Useful_Chrome_URLs">
n99    <h2 name="Developer_Extensions">n112    <h2 id="Developer_Extensions" name="Developer_Extensions">
n102    <h3>n115    <h3 id="Venkman">
n129    <h3 name="DOM_Inspector">n142    <h3 id="DOM_Inspector" name="DOM_Inspector">
n207    <h3 name="Component_Viewer">n220    <h3 id="Component_Viewer" name="Component_Viewer">
n213    <h3 name="Extension_Developer.27s_Extension">n226    <h3 id="Extension_Developer.27s_Extension" name="Extension_De
 >veloper.27s_Extension">
n219    <h2 name="Branding">n232    <h2 id="Branding" name="Branding">
n237    <h3 name="Making_Windows_display_correct_application_name_andn250    <h3 id="Making_Windows_display_correct_application_name_and_i
>_icon_when_buttons_are_grouped">>con_when_buttons_are_grouped" name="Making_Windows_display_correc
 >t_application_name_and_icon_when_buttons_are_grouped">
n258    <h2 name="Reading_command_line_arguments">n271    <h2 id="Reading_command_line_arguments" name="Reading_command
 >_line_arguments">
n264    <h2 name="Preferences_needed_for_file_download_dialogs">n277    <h2 id="Preferences_needed_for_file_download_dialogs" name="P
 >references_needed_for_file_download_dialogs">
n298    <h2 name="Enabling_Password_Manager">n311    <h2 id="Enabling_Password_Manager" name="Enabling_Password_Ma
 >nager">
n315    <h2 name="Using_Firefox_3_to_run_XULRunner_applications">n328    <h2 id="Using_Firefox_3_to_run_XULRunner_applications" name="
 >Using_Firefox_3_to_run_XULRunner_applications">
n342    <h2 name="Troubleshooting">n355    <h2 id="Troubleshooting" name="Troubleshooting">
n345    <h3 name="Window_title_missing">n358    <h3 id="Window_title_missing" name="Window_title_missing">
t351    <h2>t364    <h2 id="Default_Theme">

Back to History