add item to new Firefox button menu, make Firefox and SeaMonkey open Mandelbrot in...
[mandelbrot.git] / xulapp / chrome / mandelbrot / content / mandelbrot-tab.xul
index 1f15fb3f4c93f3bd065c199e4a869746165f1833..3b61bc6f51e982111bf95440648707d261688032 100644 (file)
@@ -47,8 +47,6 @@
   %brandDTD;
   <!ENTITY % mandelbrotDTD SYSTEM "chrome://mandelbrot/locale/mandelbrot.dtd">
   %mandelbrotDTD;
-  <!ENTITY % imgSettingsDTD SYSTEM "chrome://mandelbrot/locale/image-settings.dtd">
-  %imgSettingsDTD;
 ]>
 
 <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     </toolbar>
   </toolbox>
   <panel id="imgSettingsPanel"
-         level="floating"
-         titlebar="normal"
-         noautohide="true"
-         close="true"
          onpopupshowing="initImgSettings();"
-         onpopuphiding="saveImgSettings();"
-         label="&imageSettings.title;">
+         onpopuphiding="saveImgSettings();">
+    <!-- |titlebar="normal" noautohide="true" close="true" label="&imageSettings.title;"|
+         doesn't seem to work on the panel, so work around with a <titlebar> instead -->
     <titlebar><label value="&imageSettings.title;"/></titlebar>
     <groupbox>
       <caption label="&coord.title;"/>
         <caption label="&options.title;"/>
         <hbox align="center">
           <checkbox id="is_syncProp"
+                    label="&syncProp.label;"
                     onclick="checkProportions();"/>
-          <label value="&syncProp.label;" control="is_syncProp"/>
         </hbox>
       </groupbox>
     </hbox>
     <hbox>
       <button id="is_closeButton" label="&closeSettings.label;" oncommand="closeImgSettings();"/>
       <spacer flex="1"/>
-      <button id="is_drawButton" label="&DrawImageButton.label;" oncommand="closeImgSettings(); drawImage();"/>
+      <button id="is_drawButton" label="&drawImageButton.label;" oncommand="closeImgSettings(); drawImage();"/>
     </hbox>
   </panel>
   <hbox flex="1" pack="center" align="center">