Fabio Serra wrote:
For always open a dialog window I presume I need to use alwaysAsk http://www.xulplanet.com/references/xpcomref/ifaces/nsIMIMEInfo.html
Yes.
mi.preferredAction = Components.interfaces.nsIMIMEInfo.alwaysAsk;
But what gave you the idea that you want to set the preferredAction to that value? nsIMIMEInfo has a |alwaysAskBeforeHandling| boolean property that you should set as needed.
-Boris _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
