mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 394881 - [Mac] Prefpanes should specify heights. r=mconnor
This commit is contained in:
parent
ba6c9a3377
commit
d11b213dd7
@ -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);
|
||||
|
@ -85,7 +85,7 @@
|
||||
style="&prefWin.styleWin;">
|
||||
#else
|
||||
#ifdef XP_MACOSX
|
||||
style="&prefWindow.styleMac;">
|
||||
style="&prefWin.styleMac;">
|
||||
#else
|
||||
style="&prefWin.styleGNOME;">
|
||||
#endif
|
||||
|
@ -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">
|
||||
|
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user