galeon r8972 - in trunk: . mozilla



Author: philipl
Date: Fri Jul 18 04:45:40 2008
New Revision: 8972
URL: http://svn.gnome.org/viewvc/galeon?rev=8972&view=rev

Log:
2008-07-17  Philip Langdale  <philipl alumni utexas net>

	* mozilla/mozilla-embed-shell.cpp: Fix a bug introduced
	in the 1.9 updates. Setting the directory_service_provider
	must happen before starting gtk_moz_embed. This doesn't
	apply in 1.9 but matters for 1.8



Modified:
   trunk/ChangeLog
   trunk/mozilla/mozilla-embed-shell.cpp

Modified: trunk/mozilla/mozilla-embed-shell.cpp
==============================================================================
--- trunk/mozilla/mozilla-embed-shell.cpp	(original)
+++ trunk/mozilla/mozilla-embed-shell.cpp	Fri Jul 18 04:45:40 2008
@@ -362,16 +362,15 @@
 	mozilla_init_plugin_path();
 	mozilla_init_profile ();
 
-	/* Fire up the beast */
-	gtk_moz_embed_push_startup ();
-
-
 #if HAVE_NSITOOLKITCHROMEREGISTRY_H
 	nsCOMPtr<nsIDirectoryServiceProvider> dp = new EphyDirectoryProvider ();
 	if (dp) {
 		gtk_moz_embed_set_directory_service_provider (dp);
 	}
 #endif
+
+	/* Fire up the beast */
+	gtk_moz_embed_push_startup ();
 }
 
 



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