The return value is uninteresting. false if the software install feature has
been turned off, and true if it's on. True doesn't mean anything about
success because there could be download failures, or the user could cancel,
etc.

-Dan Veditz

Ian Oeschger wrote:
> 
> And what does it return? An integer error code?
> 
> -ian
> 
> Daniel Veditz wrote:
> 
> > Ian Oeschger wrote:
> >
> >> ...and does somebody has a prototype lying around for installChrome()?
> >> It looks like installChrome( flags, file, name/version), but I'd love to
> >> get some description of the params--of the available options, in
> >> particular.
> >
> >
> > installChrome( TYPE, url, name ), where
> >
> > TYPE can be InstallTrigger.SKIN or InstallTrigger.LOCALE
> >
> > url is a string containing a full or relative URL to download
> >
> > name is displayed in the dialog, but is also used to *select* the theme so
> > must match exactly the name in the internal manifest.rdf file.
> >
> > The name used for selecting a theme is pretty ugly when shown on the dialog.
> > In the future we might want to consider a fourth parameter for a dialog
> > name.
> >
> > -Dan Veditz

Reply via email to