mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 520724 - Aero Peek preview prefs should be better defined/classified r=rflint
--HG-- extra : rebase_source : 463f184cfb6766d67121784c7edc998c78bc784f
This commit is contained in:
parent
33058ca79e
commit
17b97967ad
@ -48,12 +48,6 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef XP_WIN
|
||||
#ifndef WINCE
|
||||
#define WINNT
|
||||
#endif
|
||||
#endif
|
||||
|
||||
pref("general.startup.browser", true);
|
||||
|
||||
pref("browser.chromeURL","chrome://browser/content/");
|
||||
@ -907,8 +901,10 @@ pref("toolbar.customization.usesheet", true);
|
||||
pref("toolbar.customization.usesheet", false);
|
||||
#endif
|
||||
|
||||
#ifdef WINNT
|
||||
pref("aeropeek.enable", true);
|
||||
pref("aeropeek.maxpreviews", 20);
|
||||
pref("aeropeek.cachetime", 20);
|
||||
#ifdef XP_WIN
|
||||
#ifndef WINCE
|
||||
pref("browser.taskbar.previews.enable", true);
|
||||
pref("browser.taskbar.previews.max", 20);
|
||||
pref("browser.taskbar.previews.cachetime", 20);
|
||||
#endif
|
||||
#endif
|
||||
|
@ -84,11 +84,11 @@ Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
Cu.import("resource://gre/modules/NetUtil.jsm");
|
||||
|
||||
// Pref to enable/disable preview-per-tab
|
||||
const TOGGLE_PREF_NAME = "aeropeek.enable";
|
||||
const TOGGLE_PREF_NAME = "browser.taskbar.previews.enable";
|
||||
// Pref to determine the magic auto-disable threshold
|
||||
const DISABLE_THRESHOLD_PREF_NAME = "aeropeek.maxpreviews";
|
||||
const DISABLE_THRESHOLD_PREF_NAME = "browser.taskbar.previews.max";
|
||||
// Pref to control the time in seconds that tab contents live in the cache
|
||||
const CACHE_EXPIRATION_TIME_PREF_NAME = "aeropeek.cachetime";
|
||||
const CACHE_EXPIRATION_TIME_PREF_NAME = "browser.taskbar.previews.cachetime";
|
||||
|
||||
const WINTASKBAR_CONTRACTID = "@mozilla.org/windows-taskbar;1";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user