Re: Setting default stylesheets

2005-10-24 Thread Boris Zbarsky
Ben Hutchings wrote: I figured it was something like that, but didn't know what the tool was - I've used COM previously but not XPCOM. Is it a frozen interface? Not yet, no. Debian's mozilla-dev package doesn't include the IDL file. Could this be considered a packaging bug? Hmm... Which v

Re: Setting default stylesheets

2005-10-24 Thread Ben Hutchings
Boris, you've been very helpful, but I'm afraid I have more questions for you. Boris Zbarsky <[EMAIL PROTECTED]> wrote: > Ben Hutchings wrote: >> Oddly I can only find an IDL file for that, not a header file > > The nsIStyleSheetService.h header is generated via xpidl. I figured it was something

Re: Setting default stylesheets

2005-10-24 Thread Boris Zbarsky
Ben Hutchings wrote: Oddly I can only find an IDL file for that, not a header file The nsIStyleSheetService.h header is generated via xpidl. (LXR denies all knowledge of the identifier). Yeah, lxr kinda sucks like that. Should I attempt to generate a header file, and how should I find a/t

Re: Setting default stylesheets

2005-10-24 Thread Ben Hutchings
Boris Zbarsky <[EMAIL PROTECTED]> wrote: > Ben Hutchings wrote: >> It's not clear to me how to override the default stylesheet(s) when >> embedding Mozilla. > > You can use nsIStyleSheetService to load additional style sheets. Oddly I can only find an IDL file for that, not a header file (LXR deni

Segfault trying to embed Mozilla using gtkmozembed

2005-10-24 Thread Ondaware
Hi all I've been trying to embedd mozilla. This is the test file I created. Problem is, when I try to run it, it segfaults on the line where it creates the new browser (browser = gtk_moz_embed_new();). Any help would be appreciated. Thanks in advance. - This is how I compile it: g++ \ `gtk

Re: Setting default stylesheets

2005-10-24 Thread Boris Zbarsky
Ben Hutchings wrote: It's not clear to me how to override the default stylesheet(s) when embedding Mozilla. You can use nsIStyleSheetService to load additional style sheets. If you want to modify the existing ones, and you're shipping your own gecko, you can always just edit ua.css... -Bor

Mozilla ActiveX control 1.7.12 linking to 1.7.7 release notes in "about:"

2005-10-24 Thread John A.
In uninstalled 1.7.7 and installed 1.7.12, but how can I be sure that's what I got? =O JA ___ mozilla-embedding mailing list mozilla-embedding@mozilla.org http://mail.mozilla.org/listinfo/mozilla-embedding

Setting default stylesheets

2005-10-24 Thread Ben Hutchings
It's not clear to me how to override the default stylesheet(s) when embedding Mozilla. It appears that I can use nsIPresShell::SetAgentStyleSheets to change them, but I don't see how to load a CSS stylesheet and obtain the interface pointer I would pass into this function. How should I do that?

Re: Mozilla/gecko headless what's the status ?

2005-10-24 Thread Ben Hutchings
<[EMAIL PROTECTED]> wrote: > Hi, > There was some discussions in this group 2 years ago, about how to run > Mozilla/gecko in a headless enviroment. > There is now a commercial application available at > http://gecko.dynalivery.com/ that exactly supports this feature. > > Is there a similiar feature

Re: Gtkmozembed question

2005-10-24 Thread Ben Hutchings
+ Kennedy Kok + <[EMAIL PROTECTED]> wrote: > I am not talking about compile time. What I am talking about is deployment. > > Once my app is deployed to a user's machine, my application is not able to > locate gtkmozembed unless the user manually changes ld.so.conf or > LD_LIBRARY_PATH. And I prefer