From 401d009d8af85e4e11d79aca61fb98207a087d97 Mon Sep 17 00:00:00 2001 From: "scott%scott-macgregor.org" Date: Wed, 19 Jan 2005 21:20:28 +0000 Subject: [PATCH] Bug #277833 --> Land Aviary mapi changes to allow thunderbird to register as a default news client. sr=bienvenu git-svn-id: svn://10.0.0.236/trunk@168014 18797224-902f-48f8-a5cc-f745e15eee43 --- .../prefwindow/content/pref-mailnews.xul | 17 +- .../mailnews/base/public/nsIMapiRegistry.idl | 9 +- .../mapi/mapihook/src/msgMapiHook.cpp | 74 +- .../mapi/mapihook/src/nsMapiRegistry.cpp | 46 +- .../mapi/mapihook/src/nsMapiRegistry.h | 1 + .../mapi/mapihook/src/nsMapiRegistryUtils.cpp | 861 ++++++++++++++---- .../mapi/mapihook/src/nsMapiRegistryUtils.h | 65 +- .../resources/content/pref-mailnewsOverlay.js | 106 ++- 8 files changed, 861 insertions(+), 318 deletions(-) diff --git a/mozilla/mail/components/prefwindow/content/pref-mailnews.xul b/mozilla/mail/components/prefwindow/content/pref-mailnews.xul index 2c098a7c456..a95617a22b2 100644 --- a/mozilla/mail/components/prefwindow/content/pref-mailnews.xul +++ b/mozilla/mail/components/prefwindow/content/pref-mailnews.xul @@ -45,7 +45,10 @@ var _elementIDs = ["mailnewsStartPageEnabled", "mailnewsStartPageUrl", "mailPaneConfig", "mailnewsDoubleClick2NewWindow", "mailRememberLastMsg", "mailnewsSoundFileUrl", "newMailNotification", "newMailNotificationType", "newMailNotificationAlert"]; - +#ifdef XP_WIN + _elementIDs.push("mailnewsEnableMapi"); + _elementIDs.push("mailnewsEnableNews"); +#endif #ifdef MOZ_WIDGET_GTK2 _elementIDs.push("checkDefaultMail"); _elementIDs.push("checkDefaultNews"); @@ -56,7 +59,17 @@ - +#ifdef XP_WIN + + + +#endif + #ifdef MOZ_WIDGET_GTK2