[Project_owners] Re: Getting the gecok version

HJ van Rantwijk bugs4hj at aim.com
Fri Sep 22 18:18:33 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Philip Chee wrote:
> On 23/09/2006 00:14, HJ van Rantwijk wrote:
>> Neil wrote:
> 
>>> SeaMonkey also has a XULAppInfo implementation.
> 
>> Ok, and how do we use it?  I can't find nsIXULAppInfo.idl in SeaMonkey.
> 
> Example:
> 
> AHSprefMan.prototype.isSeaMonkey = function()
> {
>   const SEAMONKEY_ID = "{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}";
>   var nsIXULAppInfo = Components.classes["@mozilla.org/xre/app-info;1"]
>                       .getService(Components.interfaces.nsIXULAppInfo);
>   return (nsIXULAppInfo.ID == SEAMONKEY_ID);
> }
> 
> Phil

Yeah, I found this again:

const isSeaMonkey = ("{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}" in Cc);

in our update system (Tip from Neil in this newsgroup) but like I said
to Boris: "I just couldn't remember".  Thanks anyway!

/HJ
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)

iD8DBQFFFH1ZRrb6S73JMeYRAvrZAKDHnzO4U5ff7w9Ftv6YtN/7OoiCWgCgjkob
nTfm10Lvc4rVMM2kuwOSwYs=
=s7Jt
-----END PGP SIGNATURE-----


More information about the Project_owners mailing list