[Project_owners] Extension Options window has no Close button on Mac

HJ bugs4hj at netscape.net
Sat Mar 18 03:18:43 EST 2006


Wladimir Palant wrote:
> Matthew Wilson wrote:
>>   In Firefox 1.5, my wmlbrowser extension has an options window
>> loosely modelled on the main Firefox options window. It works fine in
>> Windows, but I've heard that it has no Close button on the Mac.
>> Consequently the window never closes until the whole application is
>> closed.
> 
> Dialogs don't have a Close button on Mac. You have to use window.open() 
> instead of window.openDialog().

But there *is* a cancel button in dialog.xml:

http://lxr.mozilla.org/mozilla/source/toolkit/content/widgets/dialog.xml#22

/HJ


More information about the Project_owners mailing list