From 2cef815e3fac03ec07c433ffb10af286b14e728b Mon Sep 17 00:00:00 2001 From: "scott%scott-macgregor.org" Date: Mon, 7 Mar 2005 21:49:20 +0000 Subject: [PATCH] hide default settings group box on mac os x --- mail/components/preferences/content/general.js | 3 +++ mail/components/preferences/content/general.xul | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/mail/components/preferences/content/general.js b/mail/components/preferences/content/general.js index 54f09a1644d..342b976b739 100644 --- a/mail/components/preferences/content/general.js +++ b/mail/components/preferences/content/general.js @@ -51,6 +51,9 @@ var gGeneralPane = { this.onReadDefaultMailPref(); this.onReadDefaultNewsPref(); +#ifdef XP_MACOSX + document.getElementById("defaultClientBox").hidden = true; +#endif #ifdef MOZ_WIDGET_GTK2 // first check whether GNOME is available. if it's not, hide the whole diff --git a/mail/components/preferences/content/general.xul b/mail/components/preferences/content/general.xul index 2eaa6eebf01..e342bcf9387 100644 --- a/mail/components/preferences/content/general.xul +++ b/mail/components/preferences/content/general.xul @@ -73,7 +73,7 @@ - + #ifdef XP_WIN @@ -90,7 +90,7 @@ #endif #ifdef MOZ_WIDGET_GTK2 - +