зеркало из https://github.com/mozilla/gecko-dev.git
Bug #239136 --> Thunderbird needs to integrate with the new download manager in toolkit
Stop building the old one for thunderbird in xpfe\components. sr=bsmedberg
This commit is contained in:
Родитель
300fb23d41
Коммит
2ebd85fd9e
|
@ -337,15 +337,18 @@ pref("browser.chrome.toolbar_style", 2);
|
|||
|
||||
pref("browser.xul.error_pages.enabled", true);
|
||||
|
||||
// Dialog modality issues
|
||||
pref("browser.show_about_as_stupid_modal_window", false);
|
||||
|
||||
pref("browser.download.progressDnldDialog.keepAlive", true); // keep the dnload progress dialog up after dnload is complete
|
||||
pref("browser.download.progressDnldDialog.enable_launch_reveal_buttons", true);
|
||||
// Attachment download manager settings
|
||||
pref("browser.download.useDownloadDir", false);
|
||||
pref("browser.download.folderList", 0);
|
||||
pref("browser.download.autoDownload", false);
|
||||
pref("browser.download.lastLocation", false);
|
||||
pref("browser.download.manager.showAlertOnComplete", false);
|
||||
pref("browser.download.manager.showAlertInterval", 2000);
|
||||
pref("browser.download.manager.retention", 1);
|
||||
pref("browser.download.manager.showWhenStarting", true);
|
||||
pref("browser.download.manager.useWindow", true);
|
||||
pref("browser.download.manager.closeWhenDone", false);
|
||||
pref("browser.download.manager.openDelay", 0);
|
||||
pref("browser.download.manager.focusWhenStarting", false);
|
||||
pref("browser.download.manager.flashCount", 2);
|
||||
|
||||
// various default search settings
|
||||
pref("browser.search.defaulturl", "chrome://navigator-region/locale/region.properties");
|
||||
|
|
|
@ -115,7 +115,6 @@ DIRS = \
|
|||
autocomplete \
|
||||
windowds \
|
||||
console \
|
||||
download-manager \
|
||||
history/public \
|
||||
bookmarks/public \
|
||||
$(NULL)
|
||||
|
|
|
@ -68,21 +68,18 @@ REQUIRES = xpcom \
|
|||
docshell \
|
||||
webshell \
|
||||
appshell \
|
||||
downloadmanager \
|
||||
$(NULL)
|
||||
|
||||
CPPSRCS = nsModule.cpp
|
||||
|
||||
SHARED_LIBRARY_LIBS = \
|
||||
$(DIST)/lib/$(LIB_PREFIX)windowds_s.$(LIB_SUFFIX) \
|
||||
$(DIST)/lib/$(LIB_PREFIX)downloadmanager_s.$(LIB_SUFFIX) \
|
||||
$(DIST)/lib/$(LIB_PREFIX)appcompintl_s.$(LIB_SUFFIX) \
|
||||
$(NULL)
|
||||
|
||||
LOCAL_INCLUDES = \
|
||||
-I$(srcdir)/../windowds \
|
||||
-I$(srcdir)/../../browser/src \
|
||||
-I$(srcdir)/../download-manager/src \
|
||||
$(NULL)
|
||||
|
||||
|
||||
|
|
|
@ -46,8 +46,6 @@
|
|||
#include "nsFontPackageHandler.h"
|
||||
#include "nsWindowDataSource.h"
|
||||
#include "nsRDFCID.h"
|
||||
#include "nsDownloadManager.h"
|
||||
#include "nsDownloadProxy.h"
|
||||
|
||||
#if defined(XP_WIN)
|
||||
#include "nsWindowsHooks.h"
|
||||
|
@ -59,8 +57,6 @@
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsWindowDataSource, Init)
|
||||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsFontPackageHandler)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsDownloadManager, Init)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsDownloadProxy)
|
||||
|
||||
#if defined(XP_WIN)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsWindowsHooks)
|
||||
|
@ -84,9 +80,6 @@ RegisterWindowDS(nsIComponentManager *aCompMgr,
|
|||
}
|
||||
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{ "Download Manager", NS_DOWNLOADMANAGER_CID, NS_DOWNLOADMANAGER_CONTRACTID, nsDownloadManagerConstructor },
|
||||
{ "Download", NS_DOWNLOAD_CID, NS_TRANSFER_CONTRACTID, nsDownloadProxyConstructor },
|
||||
|
||||
{ "nsCharsetMenu", NS_CHARSETMENU_CID,
|
||||
NS_RDF_DATASOURCE_CONTRACTID_PREFIX NS_CHARSETMENU_PID,
|
||||
NS_NewCharsetMenu },
|
||||
|
|
Загрузка…
Ссылка в новой задаче