Bug 876635 - Thunderbird cannot be dragged on always active menubar. r=JosiahOne,a=Standard8
authorRichard Marti <richard.marti@gmail.com>
Thu, 02 Jan 2014 18:15:21 +0100
changeset 17002 9f5595f3ee5e483005c4affa38f0c1b209ebdcf9
parent 17001 c1f55df5b4f5d4327e4b5443a5098c075e8c24b0
child 17003 c5f88c5a9ef18c90a8e7b2a23107e7a5f304a3cb
push id1074
push userbugzilla@standard8.plus.com
push dateMon, 03 Feb 2014 22:47:23 +0000
treeherdercomm-beta@6b791b5369ed [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersJosiahOne, Standard8
bugs876635
Bug 876635 - Thunderbird cannot be dragged on always active menubar. r=JosiahOne,a=Standard8
mail/themes/windows/mail/primaryToolbar-aero.css
mail/themes/windows/mail/primaryToolbar.css
--- a/mail/themes/windows/mail/primaryToolbar-aero.css
+++ b/mail/themes/windows/mail/primaryToolbar-aero.css
@@ -10,16 +10,22 @@
    == the standalone message window.  The other native-OS-style toolbars
    == (addressbook and compose) are already styled elsewhere.
    ====================================================================== */
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 /* :::: Toolbar :::: */
 
+@media not all and (-moz-windows-compositor) {
+  #mail-toolbar-menubar2:not([autohide="true"]) {
+    -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar-drag");
+  }
+}
+
 .mail-toolbox:not(:-moz-lwtheme),
 #navigation-toolbox:not(:-moz-lwtheme),
 .contentTabToolbox:not(:-moz-lwtheme) {
   -moz-appearance: none;
   border-top: none;
   background-color: -moz-Dialog;
 }
 
--- a/mail/themes/windows/mail/primaryToolbar.css
+++ b/mail/themes/windows/mail/primaryToolbar.css
@@ -8,16 +8,20 @@
    == native-OS-style toolbars at the top of various windows, as well as
    == the specifically about the ones that appear on the 3-pane window and
    == the standalone message window.  The other native-OS-style toolbars
    == (addressbook and compose) are already styled elsewhere.
    ====================================================================== */
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
+#mail-toolbar-menubar2:not([autohide="true"]) {
+  -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar-drag");
+}
+
 #navigation-toolbox {
   -moz-appearance: none;
   border-top-width: 0;
   background-color: transparent;
 }
 
 #tabs-toolbar {
   -moz-appearance: none;