Bug 394881 - [Mac] Prefpanes should specify heights. r=mconnor

This commit is contained in:
sdwilsh@shawnwilsher.com 2007-10-22 11:07:01 -07:00
parent ba6c9a3377
commit d11b213dd7
4 changed files with 2 additions and 10 deletions

View File

@ -443,11 +443,7 @@ pref("browser.preferences.instantApply", false);
#else
pref("browser.preferences.instantApply", true);
#endif
#ifdef XP_MACOSX
pref("browser.preferences.animateFadeIn", true);
#else
pref("browser.preferences.animateFadeIn", false);
#endif
pref("browser.download.show_plugins_in_list", true);
pref("browser.download.hide_plugins_without_extensions", true);

View File

@ -85,7 +85,7 @@
style="&prefWin.styleWin;">
#else
#ifdef XP_MACOSX
style="&prefWindow.styleMac;">
style="&prefWin.styleMac;">
#else
style="&prefWin.styleGNOME;">
#endif

View File

@ -4,7 +4,7 @@
<!-- When making changes to prefWindow.styleWin test both Windows Classic and
Luna since widget heights are different based on the OS theme -->
<!ENTITY prefWin.styleWin "width: 42em; min-height: 44em;">
<!ENTITY prefWindow.styleMac "width: 47em;">
<!ENTITY prefWin.styleMac "width: 47em; min-height: 45em;">
<!ENTITY prefWin.styleGNOME "width: 42em; min-height: 44.5em;">
<!ENTITY paneMain.title "Main">

View File

@ -801,11 +801,7 @@
<![CDATA[
var psvc = Components.classes["@mozilla.org/preferences-service;1"]
.getService(Components.interfaces.nsIPrefBranch);
#ifdef XP_MACOSX
var animate = true;
#else
var animate = false;
#endif
try {
animate = psvc.getBoolPref("browser.preferences.animateFadeIn");
}