Bug 689267 - setting#prefs-uilanguage should have type="control" instead of "menulist" [r=wesj]
authorMatt Brubeck <mbrubeck@mozilla.com>
Mon, 26 Sep 2011 14:25:12 -0700
changeset 77587 b71570ffc9686a3647805ea8dbddfadf223ae8bd
parent 77586 ebccffe6d7e6ad79bc27b2b4fb421048cb0fe649
child 77588 65ae0b5132e5f995006ac7d8df1f2d7150642caf
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
reviewerswesj
bugs689267
milestone9.0a1
Bug 689267 - setting#prefs-uilanguage should have type="control" instead of "menulist" [r=wesj]
mobile/chrome/content/browser.xul
--- a/mobile/chrome/content/browser.xul
+++ b/mobile/chrome/content/browser.xul
@@ -456,17 +456,17 @@
 #ifdef MOZ_OFFICIAL_BRANDING
 # these two point to the same page, this just matters for what shows up in the
 # URL bar
                             oncommand="BrowserUI.newTab('about:firefox', Browser.selectedTab);"/>
 #else
                             oncommand="BrowserUI.newTab('about:fennec', Browser.selectedTab);"/>
 #endif
                   </setting>
-                  <setting id="prefs-uilanguage" title="&language.title;" type="menulist">
+                  <setting id="prefs-uilanguage" title="&language.title;" type="control">
                     <button id="prefs-uilanguage-button" label="&language.title;" onclick="PreferencesView.showLocalePicker();"/>
                   </setting>
                   <setting id="prefs-homepage" title="&homepage.title;" type="menulist">
                     <menulist id="prefs-homepage-options" oncommand="PreferencesView.updateHomePage();">
                       <menupopup onpopupshowing="PreferencesView.updateHomePageList();">
                         <menuitem id="prefs-homepage-default" label="&homepage.default;" value="default"/>
                         <menuitem id="prefs-homepage-none" label="&homepage.none;" value="none"/>
                         <menuitem id="prefs-homepage-currentpage" label="&homepage.currentpage;" value="currentpage"/>