On Thu, 1 Nov 2007, Shriphani Palakodety wrote:

> Date: Thu, 1 Nov 2007 19:39:06 +0530
> From: Shriphani Palakodety <[EMAIL PROTECTED]>
> Reply-To:  <[email protected]>
> To:  <[email protected]>
> Subject: Re: [twincling] firefox extensions
> 
> On 11/1/07, Saifi Khan <[EMAIL PROTECTED]> wrote:
> >
> > firefox file:///home/shriphani/firefox_extn/test.xul should work fine.
> >
> > When developing XUL-based apps, its always a good idea to work with
> > 'xulrunner' and not firefox.
> >
> > The default behaviour is to fill the entire container area.
> > You can control the size, by packaging the XUL app along with skins,
> > locale etc.
> >
> >
> > thanks
> > Saifi.
> >
> 
> Error: Gecko MinVersion requirement not met. 
> what am I to do now ?
> 
> 
> Regards,
> Shriphani Palakodety
> 

Hi Shriphani:

When making a firefox extension, it is a good idea to have a
'application.ini' file in the home directory of your xul app.

You can have a application.ini file in firefox_extn/ dir

The application.ini is an important file, since it has a
section titled [Gecko] which specifies the Gecko versions
with which this xul application is expected to work with.

There are other sections as well.

Here is a sample, 'application.ini' that i am currently using.

[App]
Vendor=TWINCLING Society, Hyderabad AP, India
Name=Test App
Version=1.0
BuildID=20071016
Copyright=Copyright (C) 2005,2006,2007 TWINCLING Society, Hyderabad AP
[EMAIL PROTECTED]

[Gecko]
MinVersion=1.8
MaxVersion=1.9


Note, the [Gecko] section above. 
This xul app of mine will work with min 1.8 and max 1.9
This is important since various users may have different versions 
of firefox.


thanks
Saifi.

Reply via email to