Bug 491363 - Minor windowdrag adjustments, r=philor
authorMarkus Stange <mstange@themasta.com>
Tue, 05 May 2009 16:55:22 +0200
changeset 2556 42db95bd2f213a2fd2eb2118fe8a4533ba8f30c9
parent 2555 cebf38418ee1977ed031b3fa265ba7cabc68de3d
child 2557 c582818fbd155d191e0bae4dbac777b6eea59d3c
push idunknown
push userunknown
push dateunknown
reviewersphilor
bugs491363
Bug 491363 - Minor windowdrag adjustments, r=philor This patch makes the throbber in the main window draggable and removes draggability from the light toolbars in the compose window.
mail/base/content/mailWindowOverlay.xul
mail/components/compose/content/messengercompose.xul
--- a/mail/base/content/mailWindowOverlay.xul
+++ b/mail/base/content/mailWindowOverlay.xul
@@ -1679,17 +1679,17 @@
                    class="toolbarbutton-1"
                    label="&addressBookButton.label;"
                    oncommand="toAddressBook();"
                    tooltiptext="&addressBookButton.tooltip;"/>
     <toolbaritem id="throbber-box"
                  title="&throbberItem.title;"
                  align="center"
                  pack="center">
-      <button id="navigator-throbber" disabled="true"/>
+      <button id="navigator-throbber" disabled="true" mousethrough="always"/>
     </toolbaritem>
     <toolbarbutton id="button-stop"
                    class="toolbarbutton-1"
                    label="&stopButton.label;"
                    tooltiptext="&stopButton.tooltip;"
                    command="cmd_stop"/>
   </toolbarpalette>
 
--- a/mail/components/compose/content/messengercompose.xul
+++ b/mail/components/compose/content/messengercompose.xul
@@ -636,17 +636,17 @@
                style="min-width: 150px; width: 200px; max-width: 400px;"/>         
     </vbox> 
 
     <splitter id="sidebar-splitter" hidden="true"/>
 
     <vbox flex="1">  
     <toolbox id="headers-box" class="toolbox-top" mode="icons"> 
     <toolbar id="MsgHeadersToolbar" persist="collapsed" flex="1"
-             customizable="true"
+             customizable="true" nowindowdrag="true"
              ondragover="nsDragAndDrop.dragOver(event, envelopeDragObserver);"
              ondragdrop="nsDragAndDrop.drop(event, envelopeDragObserver);"
              ondragexit="nsDragAndDrop.dragExit(event, envelopeDragObserver);">
       <hbox id="msgheaderstoolbar-box" flex="1">
         <vbox flex="1" id="addresses-box">
           <hbox align="center">
             <label value="&fromAddr.label;" accesskey="&fromAddr.accesskey;" control="msgIdentity"/>
             <menulist id="msgIdentity" type="description" flex="1" oncommand="LoadIdentity(false);">
@@ -709,17 +709,18 @@
                    context="msgComposeAttachmentContext"
                    onkeypress="if (event.keyCode == 8 || event.keyCode == 46) RemoveSelectedAttachment();"
                    onclick="AttachmentBucketClicked(event);"/>
         </vbox>
       </hbox>
     </toolbar>   
 
     <!-- These toolbar items get filled out from the editorOverlay -->
-    <toolbar class="chromeclass-toolbar" id="FormatToolbar" persist="collapsed" customizable="true">
+    <toolbar class="chromeclass-toolbar" id="FormatToolbar" persist="collapsed"
+             customizable="true" nowindowdrag="true">
       <menulist id="ParagraphSelect"/>
       <menulist id="FontFaceSelect"/>
       <stack id="ColorButtons"/>
       <toolbarbutton id="DecreaseFontSizeButton"/>
       <toolbarbutton id="IncreaseFontSizeButton"/>
       <toolbarseparator class="toolbarseparator-standard"/>
       <toolbarbutton id="boldButton"/>
       <toolbarbutton id="italicButton"/>