Bug 669390 - Update mobile settings to use type="menulist"; r=mfinkle

This commit is contained in:
Geoff Lankow 2011-08-14 16:06:01 +12:00
Родитель 353154b75d
Коммит 0036f55bd8
2 изменённых файлов: 7 добавлений и 2 удалений

Просмотреть файл

@ -59,6 +59,11 @@ setting[type="directory"] {
-moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-path");
}
setting[type="radio"],
setting[type="menulist"] {
-moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-multi");
}
#browsers > notificationbox {
-moz-binding: url("chrome://browser/content/notification.xml#stacked-notificationbox");
overflow: -moz-hidden-unscrollable;

Просмотреть файл

@ -443,14 +443,14 @@
oncommand="BrowserUI.newTab('about:fennec', Browser.selectedTab);"/>
#endif
</setting>
<setting id="prefs-uilanguage" title="&language.title;" type="control">
<setting id="prefs-uilanguage" title="&language.title;" type="menulist">
<menulist id="prefs-languages" oncommand="PreferencesView.updateLocale();">
<menupopup>
<menuitem id="prefs-languages-auto" label="&language.auto;" value="auto"/>
</menupopup>
</menulist>
</setting>
<setting id="prefs-homepage" title="&homepage.title;" type="control">
<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"/>