From 85f47f88c2ee3e79b348dd7d9cf3f49d3ecd2e81 Mon Sep 17 00:00:00 2001 From: "brade%netscape.com" Date: Thu, 27 Jul 2000 14:10:11 +0000 Subject: [PATCH] fix prefs (bug #42212) git-svn-id: svn://10.0.0.236/trunk@74915 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/editor/ui/composer.js | 24 ++-------------------- mozilla/modules/libpref/src/init/editor.js | 24 ++-------------------- 2 files changed, 4 insertions(+), 44 deletions(-) diff --git a/mozilla/editor/ui/composer.js b/mozilla/editor/ui/composer.js index 9b3f30868d2..e57838b8881 100644 --- a/mozilla/editor/ui/composer.js +++ b/mozilla/editor/ui/composer.js @@ -41,7 +41,7 @@ pref("editor.hrule.align", 0); // match types in edttyp pref("editor.table.maintain_structure", true); pref("editor.table.delete_key", 0); -pref("editor.prettyprint_html", 1); +pref("editor.prettyprint", true); pref("editor.throbber.url","chrome://editor/locale/editor.properties"); @@ -52,24 +52,4 @@ pref("editor.html_editor", ""); pref("editor.use_image_editor", 0); pref("editor.image_editor", ""); -pref("editor.url_history.TITLE_0", ""); -pref("editor.url_history.TITLE_1", ""); -pref("editor.url_history.TITLE_2", ""); -pref("editor.url_history.TITLE_3", ""); -pref("editor.url_history.TITLE_4", ""); -pref("editor.url_history.TITLE_5", ""); -pref("editor.url_history.TITLE_6", ""); -pref("editor.url_history.TITLE_7", ""); -pref("editor.url_history.TITLE_8", ""); -pref("editor.url_history.TITLE_9", ""); - -pref("editor.url_history.URL_0", ""); -pref("editor.url_history.URL_1", ""); -pref("editor.url_history.URL_2", ""); -pref("editor.url_history.URL_3", ""); -pref("editor.url_history.URL_4", ""); -pref("editor.url_history.URL_5", ""); -pref("editor.url_history.URL_6", ""); -pref("editor.url_history.URL_7", ""); -pref("editor.url_history.URL_8", ""); -pref("editor.url_history.URL_9", ""); +pref("editor.history.url_maximum", 10); diff --git a/mozilla/modules/libpref/src/init/editor.js b/mozilla/modules/libpref/src/init/editor.js index 9b3f30868d2..e57838b8881 100644 --- a/mozilla/modules/libpref/src/init/editor.js +++ b/mozilla/modules/libpref/src/init/editor.js @@ -41,7 +41,7 @@ pref("editor.hrule.align", 0); // match types in edttyp pref("editor.table.maintain_structure", true); pref("editor.table.delete_key", 0); -pref("editor.prettyprint_html", 1); +pref("editor.prettyprint", true); pref("editor.throbber.url","chrome://editor/locale/editor.properties"); @@ -52,24 +52,4 @@ pref("editor.html_editor", ""); pref("editor.use_image_editor", 0); pref("editor.image_editor", ""); -pref("editor.url_history.TITLE_0", ""); -pref("editor.url_history.TITLE_1", ""); -pref("editor.url_history.TITLE_2", ""); -pref("editor.url_history.TITLE_3", ""); -pref("editor.url_history.TITLE_4", ""); -pref("editor.url_history.TITLE_5", ""); -pref("editor.url_history.TITLE_6", ""); -pref("editor.url_history.TITLE_7", ""); -pref("editor.url_history.TITLE_8", ""); -pref("editor.url_history.TITLE_9", ""); - -pref("editor.url_history.URL_0", ""); -pref("editor.url_history.URL_1", ""); -pref("editor.url_history.URL_2", ""); -pref("editor.url_history.URL_3", ""); -pref("editor.url_history.URL_4", ""); -pref("editor.url_history.URL_5", ""); -pref("editor.url_history.URL_6", ""); -pref("editor.url_history.URL_7", ""); -pref("editor.url_history.URL_8", ""); -pref("editor.url_history.URL_9", ""); +pref("editor.history.url_maximum", 10);