diff --git a/mozilla/browser/components/prefwindow/content/nsPrefWindow.js b/mozilla/browser/components/prefwindow/content/nsPrefWindow.js
index 6365d3f8851..b445b85fc46 100644
--- a/mozilla/browser/components/prefwindow/content/nsPrefWindow.js
+++ b/mozilla/browser/components/prefwindow/content/nsPrefWindow.js
@@ -197,12 +197,12 @@ nsPrefWindow.prototype =
var elt = itemObject.localname;
var prefattribute = itemObject.prefattribute;
if (!prefattribute) {
- if (elt == "radiogroup" || elt == "textbox" || elt == "menulist")
- prefattribute = "value";
- else if (elt == "checkbox")
+ if (elt == "checkbox")
prefattribute = "checked";
else if (elt == "button")
prefattribute = "disabled";
+ else
+ prefattribute = "value";
}
var value = itemObject[prefattribute];
@@ -328,12 +328,12 @@ nsPrefWindow.prototype =
var prefdefval = prefElements[i].getAttribute( "prefdefval" );
var prefattribute = prefElements[i].getAttribute( "prefattribute" );
if (!prefattribute) {
- if (elt == "radiogroup" || elt == "textbox" || elt == "menulist")
- prefattribute = "value";
- else if (elt == "checkbox")
+ if (elt == "checkbox")
prefattribute = "checked";
else if (elt == "button")
prefattribute = "disabled";
+ else
+ prefattribute = "value";
}
var prefvalue = this.getPref( preftype, prefstring );
if( prefvalue == "!/!ERROR_UNDEFINED_PREF!/!" )
diff --git a/mozilla/browser/components/prefwindow/content/pref-connection.xul b/mozilla/browser/components/prefwindow/content/pref-connection.xul
index 4d024c41251..27dc5a031a3 100644
--- a/mozilla/browser/components/prefwindow/content/pref-connection.xul
+++ b/mozilla/browser/components/prefwindow/content/pref-connection.xul
@@ -92,7 +92,7 @@
+ size="5"/>
diff --git a/mozilla/browser/components/prefwindow/content/pref-features.xul b/mozilla/browser/components/prefwindow/content/pref-features.xul
index 2eb09fbeea0..3cda79f1359 100644
--- a/mozilla/browser/components/prefwindow/content/pref-features.xul
+++ b/mozilla/browser/components/prefwindow/content/pref-features.xul
@@ -116,7 +116,7 @@
accesskey="&forOriginatingSiteOnly.accesskey;"
oncommand="updateImagePref()"
style="margin-left: 23px;"/>
-
+
+ preftype="localizedstring" prefstring="font.language.group">
@@ -282,13 +281,13 @@
-
+
-
+
@@ -303,13 +302,13 @@
-
+
-
+