[MonoDevelop] Web References

Michael Hutchinson m.j.hutchinson at gmail.com
Tue Aug 15 18:20:30 EDT 2006


On 8/15/06, Gideon de Swardt <gdeswardt1978 at yahoo.co.uk> wrote:
> Hi Rafael
>
> Do you know of any example of how to do this? I googled "Gtkmozembed
> certificate truststores" and could not find any information on how to
> use it etc. Any help on this will be much appreciated.

With some C++/XPCOM glue you can poke around in Mozilla internals and
do practically anything, but that's probably overkill, and also
probably out of the question here.

About all you can do to configure GtkMozEmbed is to point it at a
Mozilla user profile.
Certificates are stored in user profiles, so that may well be the
cause of this issue. However, they should also be taken from the
global profile (which is where the default certs should be), so I do
not know why you have this problem.

AFAIK, this profile must be the *same* for all instances in the
process, so if you change it, you change it for MonoDevelop itself.
This actually reflects on something that Lluis and I were talking
about in IRC, the possibility of having a persistent Mozilla profile
for MonoDevelop.

By default, MD points gtkmozembed to /tmp/MonoDevelop, and it creates
a new profile there. However, other calls to the WebControl contructor
change this to some useless default; the end result was that on my
machine, the profile was not created. I've attached a simple patch
that fixes this, and implements per-user Mozilla profiles -- see if it
fixes your problem.


-- 
Michael Hutchinson
http://mjhutchinson.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MozUserProfile.diff
Type: text/x-patch
Size: 911 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20060815/f3dc1832/attachment.bin 


More information about the Monodevelop-list mailing list