[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[OT] Mozilla-Filepicker



Hi,

nur zur Information, für alle, die sich so wie ich über den 
gtk-Filepicker im Mozilla 1.5 ärgern: Es gibt einen Würgaround um den 
"alten" Mozilla-Filepicker wiederzubekommen:

Im Componets-Verzeichniss in der Datei nsFilePicker.js:

273     compMgr.registerFactoryLocation(FILEPICKER_CID,
274                                     "FilePicker JS Component",
275 //@line 278 *snip*
276                                     "",
277 //@line 280 *snip*
278                                     fileSpec,
279                                     location,
280                                     type);
281 }

in

273     compMgr.registerFactoryLocation(FILEPICKER_CID,
274                                     "FilePicker JS Component",
275 //@line 278 *snip*
276                                     FILEPICKER_CONTRACTID,
277 //@line 280 *snip*
278                                     fileSpec,
279                                     location,
280                                     type);
281 }

ändern und die Komponenten neu registrieren (z.B. deaktivieren und 
reaktivieren einer Extension)

Gruß Chris

-- 
A: because it distrupts the normal process of thought
Q: why is top posting frowned upon



Reply to: