mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Moved "mailnews.start_page.url" from .js to .property, bug 55011, r=tao, sr=alecf.
This commit is contained in:
parent
e9436cb583
commit
bcfd476569
@ -13,6 +13,6 @@ function setHomePageToDefaultPage(folderFieldId)
|
||||
{
|
||||
var homePageField = document.getElementById(folderFieldId);
|
||||
var prefs = Components.classes["@mozilla.org/preferences;1"].getService(Components.interfaces.nsIPref);
|
||||
var url = prefs.CopyDefaultCharPref("mailnews.start_page.url");
|
||||
var url = prefs.getDefaultLocalizedUnicharPref("mailnews.start_page.url");
|
||||
homePageField.value = url;
|
||||
}
|
||||
|
@ -323,7 +323,7 @@ function loadStartPage() {
|
||||
var startpageenabled= pref.GetBoolPref("mailnews.start_page.enabled");
|
||||
|
||||
if (startpageenabled) {
|
||||
var startpage = pref.CopyCharPref("mailnews.start_page.url");
|
||||
var startpage = pref.getLocalizedUnicharPref("mailnews.start_page.url");
|
||||
if (startpage != "") {
|
||||
window.frames["messagepane"].location = startpage;
|
||||
dump("start message pane with: " + startpage + "\n");
|
||||
|
@ -111,6 +111,7 @@ read=Read
|
||||
|
||||
# mailnews.js
|
||||
|
||||
mailnews.start_page.url=http://www.mozilla.org/mailnews/start.html
|
||||
messenger.throbber.url=http://www.mozilla.org/
|
||||
compose.throbber.url=http://www.mozilla.org/
|
||||
addressbook.throbber.url=http://www.mozilla.org/
|
||||
|
@ -360,7 +360,7 @@ pref("ldap_2.version", 3); /* Update kCurrentListVersion in include/di
|
||||
pref("mailnews.confirm.moveFoldersToTrash", true);
|
||||
pref("mailnews.remember_selected_message", true);
|
||||
|
||||
pref("mailnews.start_page.url", "http://www.mozilla.org/mailnews/start.html");
|
||||
pref("mailnews.start_page.url", "chrome://messenger/locale/messenger.properties");
|
||||
pref("mailnews.start_page.enabled", true);
|
||||
|
||||
/* default prefs for Mozilla 5.0 */
|
||||
|
@ -360,7 +360,7 @@ pref("ldap_2.version", 3); /* Update kCurrentListVersion in include/di
|
||||
pref("mailnews.confirm.moveFoldersToTrash", true);
|
||||
pref("mailnews.remember_selected_message", true);
|
||||
|
||||
pref("mailnews.start_page.url", "http://www.mozilla.org/mailnews/start.html");
|
||||
pref("mailnews.start_page.url", "chrome://messenger/locale/messenger.properties");
|
||||
pref("mailnews.start_page.enabled", true);
|
||||
|
||||
/* default prefs for Mozilla 5.0 */
|
||||
|
@ -152,6 +152,7 @@ nsPrefWindow.prototype =
|
||||
(aPrefString == "wallet.Server") ||
|
||||
(aPrefString == "intl.accept_languages") ||
|
||||
(aPrefString == "intl.charset.default") ||
|
||||
(aPrefString == "mailnews.start_page.url") ||
|
||||
(aPrefString == "mailnews.view_default_charset") ||
|
||||
(aPrefString == "mailnews.send_default_charset")) {
|
||||
return pref.getLocalizedUnicharPref( aPrefString );
|
||||
|
Loading…
Reference in New Issue
Block a user