зеркало из https://github.com/mozilla/pjs.git
Added extension manager support to sunbird
This commit is contained in:
Родитель
838a3a2b79
Коммит
e3a968b46f
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<RDF xmlns:em="http://www.mozilla.org/2004/em-rdf#"
|
||||
xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
||||
|
||||
<Seq about="urn:mozilla:extension:root"/>
|
||||
<Seq about="urn:mozilla:theme:root"/>
|
||||
|
||||
</RDF>
|
|
@ -0,0 +1,40 @@
|
|||
#
|
||||
# The contents of this file are subject to the Mozilla Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/MPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
|
||||
DEPTH = ../../../../..
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
DIRS = {056555d3-e0e0-408f-9b89-8a0189c7bc63} {8af2d0a7-e394-4de2-ae55-2dae532a7a9b}
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
FILES := \
|
||||
Extensions.rdf \
|
||||
$(NULL)
|
||||
|
||||
FILES := $(addprefix $(srcdir)/, $(FILES))
|
||||
|
||||
libs::
|
||||
$(INSTALL) $(FILES) $(DIST)/bin/defaults/profile/extensions
|
||||
$(INSTALL) $(srcdir)/"installed-extensions.txt" $(DIST)/bin/defaults/profile/extensions
|
||||
|
||||
install::
|
||||
$(SYSINSTALL) $(IFLAGS1) $(FILES) $(DESTDIR)$(mozappdir)/defaults/profile/extensions
|
||||
$(SYSINSTALL) $(IFLAGS1) $(srcdir)/"installed-extensions.txt" $(DESTDIR)$(mozappdir)/defaults/profile/extensions
|
|
@ -0,0 +1,2 @@
|
|||
theme,{8af2d0a7-e394-4de2-ae55-2dae532a7a9b}
|
||||
extension,{056555d3-e0e0-408f-9b89-8a0189c7bc63}
|
|
@ -0,0 +1,34 @@
|
|||
#
|
||||
# The contents of this file are subject to the Mozilla Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/MPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
|
||||
DEPTH = ../../../../../..
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
FILES := \
|
||||
install.rdf \
|
||||
$(NULL)
|
||||
|
||||
libs::
|
||||
$(PERL) $(MOZILLA_DIR)/config/preprocessor.pl $(DEFINES) $(ACDEFINES) $(srcdir)/install.rdf.in > install.rdf
|
||||
$(INSTALL) $(FILES) $(DIST)/bin/defaults/profile/extensions/{8af2d0a7-e394-4de2-ae55-2dae532a7a9b}
|
||||
|
||||
install::
|
||||
$(SYSINSTALL) $(IFLAGS1) $(FILES) $(DESTDIR)$(mozappdir)/defaults/profile/extensions/{8af2d0a7-e394-4de2-ae55-2dae532a7a9b}
|
|
@ -0,0 +1,34 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
|
||||
|
||||
<Description about="urn:mozilla:install-manifest">
|
||||
<em:id>{8af2d0a7-e394-4de2-ae55-2dae532a7a9b}</em:id>
|
||||
<em:version>2.0</em:version>
|
||||
|
||||
<!-- Target Application this theme can install into,
|
||||
with minimum and maximum supported versions. -->
|
||||
<em:targetApplication>
|
||||
<Description>
|
||||
<em:id>{718e30fb-e89b-41dd-9da7-e25a45638b28}</em:id>
|
||||
<em:minVersion>0.1</em:minVersion>
|
||||
<em:maxVersion>0.2</em:maxVersion>
|
||||
</Description>
|
||||
</em:targetApplication>
|
||||
|
||||
<!-- Front End MetaData -->
|
||||
<em:name>Sunbird (default)</em:name>
|
||||
<em:description>The default theme</em:description>
|
||||
|
||||
<em:locked>true</em:locked>
|
||||
|
||||
<!-- Front End Integration Hooks (used by Theme Manager)-->
|
||||
<!-- XXXben - preprocess this file to use different info for mac version -->
|
||||
<em:creator>?</em:creator>
|
||||
<em:contributor>Mozilla Contributors</em:contributor>
|
||||
|
||||
<em:internalName>classic/1.0</em:internalName>
|
||||
</Description>
|
||||
|
||||
</RDF>
|
|
@ -39,14 +39,52 @@
|
|||
// The first character after a period must be alphabetic.
|
||||
|
||||
// pref("startup.homepage_override_url","chrome://browser-region/locale/region.properties");
|
||||
pref("general.startup.calendar", true);
|
||||
|
||||
pref("browser.chromeURL","chrome://browser/content/");
|
||||
pref("browser.hiddenWindowChromeURL", "chrome://browser/content/hiddenWindow.xul");
|
||||
pref("xpinstall.dialog.confirm", "chrome://mozapps/content/xpinstall/xpinstallConfirm.xul");
|
||||
pref("xpinstall.dialog.progress", "chrome://mozapps/content/downloads/downloads.xul");
|
||||
pref("xpinstall.dialog.progress.type", "Download:Manager");
|
||||
|
||||
// This is this application's unique identifier used by the Extension System to identify
|
||||
// this application as an extension target, and by the SmartUpdate system to identify
|
||||
// this application to the Update server.
|
||||
pref("app.id", "{718e30fb-e89b-41dd-9da7-e25a45638b28}");
|
||||
pref("app.version",
|
||||
#expand __APP_VERSION__
|
||||
);
|
||||
pref("app.build_id",
|
||||
#expand __BUILD_ID__
|
||||
);
|
||||
|
||||
pref("update.app.enabled", false);
|
||||
pref("update.app.url", "chrome://mozapps/locale/update/update.properties");
|
||||
pref("update.app.updatesAvailable", false);
|
||||
pref("update.app.updateVersion", "");
|
||||
pref("update.app.updateDescription", "");
|
||||
pref("update.app.updateURL", "");
|
||||
pref("update.extensions.enabled", true);
|
||||
pref("update.extensions.wsdl", "chrome://mozapps/locale/extensions/extensions.properties");
|
||||
pref("extensions.getMoreExtensionsURL", "chrome://mozapps/locale/extensions/extensions.properties");
|
||||
pref("extensions.getMoreThemesURL", "chrome://mozapps/locale/extensions/extensions.properties");
|
||||
// Automatically download and install updates to themes and extensions.
|
||||
pref("update.extensions.autoUpdate", false);
|
||||
|
||||
pref("update.interval", 604800000); // every 7 days
|
||||
pref("update.lastUpdateDate", 0); // UTC offset when last update was performed.
|
||||
|
||||
// These prefs relate to the number and severity of updates available. This is a
|
||||
// cache that the browser notification mechanism uses to determine if it should show
|
||||
// status bar UI if updates are detected and the app is shut down before installing
|
||||
// them.
|
||||
// 0 = low (extension/theme updates), 1 = medium (app minor version), 2 = high (major version)
|
||||
pref("update.severity", 0);
|
||||
// The number of extension/theme/etc updates available
|
||||
pref("update.extensions.count", 0);
|
||||
|
||||
pref("keyword.enabled", true);
|
||||
pref("keyword.URL", "http://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q=");
|
||||
pref("keyword.URL", "http://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&sourceid=mozilla-search&q=");
|
||||
|
||||
pref("general.useragent.locale", "chrome://global/locale/intl.properties");
|
||||
pref("general.useragent.contentlocale", "chrome://browser-region/locale/region.properties");
|
||||
|
@ -107,6 +145,7 @@ pref("browser.tabs.loadInBackground", true);
|
|||
pref("browser.tabs.loadFolderAndReplace", true);
|
||||
pref("browser.tabs.opentabfor.middleclick", true);
|
||||
pref("browser.tabs.opentabfor.urlbar", true);
|
||||
pref("browser.tabs.loadBookmarksInBackground", false);
|
||||
|
||||
// Smart Browsing prefs
|
||||
pref("browser.related.enabled", true);
|
||||
|
@ -193,3 +232,11 @@ pref("security.warn_entering_weak.show_once", true);
|
|||
pref("security.warn_leaving_secure.show_once", true);
|
||||
pref("security.warn_viewing_mixed.show_once", true);
|
||||
pref("security.warn_submit_insecure.show_once", true);
|
||||
|
||||
pref("browser.urlbar.clickSelectsAll", true);
|
||||
#ifdef XP_UNIX
|
||||
#ifndef XP_MACOSX
|
||||
pref("browser.urlbar.clickSelectsAll", false);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче