diff --git a/mail/components/preferences/general.js b/mail/components/preferences/general.js index 5d98249a3fc8..f97fcbaba624 100644 --- a/mail/components/preferences/general.js +++ b/mail/components/preferences/general.js @@ -38,14 +38,12 @@ var gGeneralPane = { mPane: null, - mSound: null, init: function () { this.mPane = document.getElementById("paneGeneral"); this.startPageCheck(); - this.mailSoundCheck(); }, #ifdef HAVE_SHELL_SERVICE @@ -108,12 +106,7 @@ var gGeneralPane = { "", null); }, - mailSoundCheck: function() - { - document.getElementById("soundButton").disabled = !document.getElementById("newMailNotification").checked; - }, - - showAdvancedSound: function() + customizeNewMailBehavior: function() { document.documentElement .openSubDialog("chrome://messenger/content/preferences/notifications.xul", diff --git a/mail/components/preferences/general.xul b/mail/components/preferences/general.xul index 802015646d84..9a03fa49662e 100644 --- a/mail/components/preferences/general.xul +++ b/mail/components/preferences/general.xul @@ -101,10 +101,8 @@ - - + #ifdef XP_MACOSX -