Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/yelp/ChangeLog,v
retrieving revision 1.586
diff -u -r1.586 ChangeLog
--- ChangeLog	20 Oct 2004 10:56:21 -0000	1.586
+++ ChangeLog	22 Oct 2004 17:49:00 -0000
@@ -1,3 +1,8 @@
+2004-10-22  Diego Gonzalez <diego@pemas.net>
+
+	* src/yelp-main.c: initialize mozilla's home directory, to avoid
+	  crashing on startup
+
 2004-10-20  Shaun McCance  <shaunm@gnome.org>
 
 	* stylesheets/db2html.xsl.in:
Index: src/yelp-main.c
===================================================================
RCS file: /cvs/gnome/yelp/src/yelp-main.c,v
retrieving revision 1.33
diff -u -r1.33 yelp-main.c
--- src/yelp-main.c	18 Oct 2004 10:48:02 -0000	1.33
+++ src/yelp-main.c	22 Oct 2004 17:49:00 -0000
@@ -26,6 +26,7 @@
 
 #include <gtk/gtkmain.h>
 #include <gtk/gtkwidget.h>
+#include <gtkmozembed.h>
 #include <bonobo/bonobo-context.h>
 #include <bonobo/bonobo-exception.h>
 #include <bonobo/bonobo-generic-factory.h>
@@ -359,6 +360,8 @@
 	if (gnome_client_get_flags (client) & GNOME_CLIENT_RESTORED) {
 		session_started = TRUE;
         }
+
+	gtk_moz_embed_set_comp_path (MOZILLA_HOME);
 
 	if (!factory) { /* Not started, start now */ 
 		BonoboGenericFactory *factory;
