From e9d25ee2d91701a8fc77670b3dddb0b099847657 Mon Sep 17 00:00:00 2001 From: "scott%scott-macgregor.org" Date: Tue, 5 Apr 2005 20:46:27 +0000 Subject: [PATCH] Bug #262626 --> Expose UI in Thunderbird for editing preferences (the config viewer) git-svn-id: svn://10.0.0.236/trunk@171678 18797224-902f-48f8-a5cc-f745e15eee43 --- .../mail/components/preferences/advanced.js | 6 + .../mail/components/preferences/advanced.xul | 5 + .../chrome/messenger/preferences/advanced.dtd | 3 + .../toolkit/themes/qute/communicator/jar.mn | 110 ++++---- mozilla/toolkit/themes/qute/global/config.css | 26 ++ mozilla/toolkit/themes/qute/global/jar.mn | 253 +++++++++--------- 6 files changed, 222 insertions(+), 181 deletions(-) create mode 100644 mozilla/toolkit/themes/qute/global/config.css diff --git a/mozilla/mail/components/preferences/advanced.js b/mozilla/mail/components/preferences/advanced.js index 1784cf2f3b6..a9c4888ac15 100644 --- a/mozilla/mail/components/preferences/advanced.js +++ b/mozilla/mail/components/preferences/advanced.js @@ -88,6 +88,12 @@ var gAdvancedPane = { "", null); }, + showConfigEdit: function() + { + document.documentElement.openSubDialog("chrome://global/content/config.xul", + "chrome,centerscreen,resizable=yes", null); + }, + updateAppUpdateUI: function () { var preference = document.getElementById("app.update.autoUpdateEnabled"); diff --git a/mozilla/mail/components/preferences/advanced.xul b/mozilla/mail/components/preferences/advanced.xul index 85acc04e102..48269d7f313 100644 --- a/mozilla/mail/components/preferences/advanced.xul +++ b/mozilla/mail/components/preferences/advanced.xul @@ -134,6 +134,11 @@ accesskey="&showOfflineSettings.accesskey;" oncommand="gAdvancedPane.showOfflineSettings();"/> + + &configEditDesc.label; +