Bug 500208: select element should update label when script changes selection, r=bzbarsky

This commit is contained in:
Mark Finkle 2009-07-06 09:39:54 -04:00
parent 38fcebf359
commit 99c409b6f6
2 changed files with 3 additions and 4 deletions

View File

@ -1519,16 +1519,14 @@ nsComboboxControlFrame::RestoreState(nsPresState* aState)
// Camino uses a native widget for the combobox
// popup, which affects drawing and event
// handling here and in nsListControlFrame.
//
// Also, Fennec use a custom combobox built-in widget
//
/* static */
PRBool
nsComboboxControlFrame::ToolkitHasNativePopup()
{
#ifdef XP_MACOSX
return nsContentUtils::GetBoolPref("ui.use_native_popup_windows");
#else
return PR_FALSE;
#endif
}

View File

@ -84,6 +84,7 @@ pref("offline-apps.quota.warn", 51200);
pref("browser.sessionhistory.max_total_viewers", -1);
pref("ui.use_native_colors", true);
pref("ui.use_native_popup_windows", false);
pref("browser.display.use_document_fonts", 1); // 0 = never, 1 = quick, 2 = always
pref("browser.display.use_document_colors", true);
pref("browser.display.use_system_colors", false);