Re: Setting default stylesheets

2005-10-25 Thread Boris Zbarsky
Ben Hutchings wrote: Something I don't understand is that I apparently have to do this for each page. How do Seamonkey and Firefox set stylesheets to be applied to all pages There are hardcoded URIs to the sheets in the C++. and can I do the same? Yes, if you change the C++ involved... In

Re: Setting default stylesheets

2005-10-25 Thread Ben Hutchings
Boris Zbarsky <[EMAIL PROTECTED]> wrote: > Ben Hutchings wrote: >> It's 1.7.8. > > OK. Then there is no really clean way to do it... You can try creating a > CSSLoader (nsICSSLoader.h) and using it to load sheets, then using > SetAgentStyleSheets() on the presshell, I guess. That works for me,

Re: Setting default stylesheets

2005-10-25 Thread Boris Zbarsky
Ben Hutchings wrote: It's 1.7.8. OK. Then there is no really clean way to do it... You can try creating a CSSLoader (nsICSSLoader.h) and using it to load sheets, then using SetAgentStyleSheets() on the presshell, I guess. -Boris ___ mozilla-embed

Re: Setting default stylesheets

2005-10-25 Thread Ben Hutchings
Boris Zbarsky <[EMAIL PROTECTED]> wrote: > Ben Hutchings wrote: >> Debian's mozilla-dev >> package doesn't include the IDL file. Could this be considered a >> packaging bug? > > Hmm... Which version are they packaging? This interface did not exist in the > 1.7 version of Gecko. > > If you're wo