epiphany r8150 - in branches/gnome-2-22: data/chrome embed/mozilla
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: epiphany r8150 - in branches/gnome-2-22: data/chrome embed/mozilla
- Date: Fri, 28 Mar 2008 15:07:49 +0000 (GMT)
Author: chpe
Date: Fri Mar 28 15:07:49 2008
New Revision: 8150
URL: http://svn.gnome.org/viewvc/epiphany?rev=8150&view=rev
Log:
Fix the branding bundle registration by providing the app chrome manifest in the right directory, and set that directory as the component directory with gtk_moz_embed_set_comp_path.
Added:
branches/gnome-2-22/data/chrome/app-chrome.manifest.in
- copied, changed from r8149, /branches/gnome-2-22/data/chrome/epiphany.manifest.in
Removed:
branches/gnome-2-22/data/chrome/epiphany.manifest.in
Modified:
branches/gnome-2-22/data/chrome/Makefile.am
branches/gnome-2-22/embed/mozilla/mozilla-embed-single.cpp
Modified: branches/gnome-2-22/data/chrome/Makefile.am
==============================================================================
--- branches/gnome-2-22/data/chrome/Makefile.am (original)
+++ branches/gnome-2-22/data/chrome/Makefile.am Fri Mar 28 15:07:49 2008
@@ -1,5 +1,5 @@
manifestdir = $(pkgdatadir)/chrome
-manifest_in_files = epiphany.manifest.in
+manifest_in_files = app-chrome.manifest.in
manifest_DATA = $(manifest_in_files:.manifest.in=.manifest)
%.manifest: %.manifest.in
Copied: branches/gnome-2-22/data/chrome/app-chrome.manifest.in (from r8149, /branches/gnome-2-22/data/chrome/epiphany.manifest.in)
==============================================================================
Modified: branches/gnome-2-22/embed/mozilla/mozilla-embed-single.cpp
==============================================================================
--- branches/gnome-2-22/embed/mozilla/mozilla-embed-single.cpp (original)
+++ branches/gnome-2-22/embed/mozilla/mozilla-embed-single.cpp Fri Mar 28 15:07:49 2008
@@ -627,24 +627,27 @@
*lastSlash = '\0';
gtk_moz_embed_set_path(xpcomLocation);
- gtk_moz_embed_set_comp_path (MOZILLA_HOME);
+ gtk_moz_embed_set_comp_path (SHARE_DIR);
#else
#ifdef HAVE_GECKO_1_9
gtk_moz_embed_set_path (MOZILLA_HOME);
-
+ gtk_moz_embed_set_comp_path (SHARE_DIR);
#else
gtk_moz_embed_set_comp_path (MOZILLA_HOME);
#endif
#endif // XPCOM_GLUE
+
/* Pre initialization */
mozilla_init_plugin_path ();
mozilla_init_profile ();
+#ifndef HAVE_GECKO_1_9
nsCOMPtr<nsIDirectoryServiceProvider> dp = new EphyDirectoryProvider ();
if (!dp) return FALSE;
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]