Comment on attachment 551136
don't close compose window w/ send in background if last open window

Review of attachment 551136:
-----------------------------------------------------------------

::: mail/components/compose/content/MsgComposeCommands.js
@@ +2232,5 @@
>                .getBoolPref("mailnews.sendInBackground");
> +  if (sendInBackground && !Application.platformIsMac) {
> +    let windowMediator =
> +      Components.classes["@mozilla.org/appshell/window-mediator;1"]
> +          .getService(Components.interfaces.nsIWindowMediator);

You can just use Services.wm

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/810769

Title:
  Sending window distracting and interrupts flow

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/810769/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to