diff --git a/.hgignore b/.hgignore index af60947c152..3509e7a2bdb 100644 --- a/.hgignore +++ b/.hgignore @@ -7,6 +7,10 @@ (^|/)ID$ (^|/)\.DS_Store$ +# Vim swap files. +^\.sw.$ +.[^/]*\.sw.$ + # User files that may appear at the root ^\.mozconfig ^mozconfig$ diff --git a/accessible/src/base/NotificationController.h b/accessible/src/base/NotificationController.h index 7a8e5a31772..4d68413313f 100644 --- a/accessible/src/base/NotificationController.h +++ b/accessible/src/base/NotificationController.h @@ -41,6 +41,7 @@ #include "AccEvent.h" #include "nsCycleCollectionParticipant.h" +#include "nsRefreshDriver.h" class nsAccessible; class nsDocAccessible; diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js index a74ee534588..3397e661e39 100644 --- a/browser/app/profile/firefox.js +++ b/browser/app/profile/firefox.js @@ -308,7 +308,7 @@ pref("browser.urlbar.trimURLs", true); // the Content-Disposition filename) before giving up and falling back to // picking a filename without that info in hand so that the user sees some // feedback from their action. -pref("browser.download.saveLinkAsFilenameTimeout", 1000); +pref("browser.download.saveLinkAsFilenameTimeout", 4000); pref("browser.download.useDownloadDir", true); diff --git a/browser/base/content/nsContextMenu.js b/browser/base/content/nsContextMenu.js index ef892d24d47..b0245400947 100644 --- a/browser/base/content/nsContextMenu.js +++ b/browser/base/content/nsContextMenu.js @@ -321,10 +321,8 @@ nsContextMenu.prototype = { var onMisspelling = InlineSpellCheckerUI.overMisspelling; this.showItem("spell-check-enabled", canSpell); this.showItem("spell-separator", canSpell || this.onEditableArea); - if (canSpell) { - document.getElementById("spell-check-enabled") - .setAttribute("checked", InlineSpellCheckerUI.enabled); - } + document.getElementById("spell-check-enabled") + .setAttribute("checked", canSpell && InlineSpellCheckerUI.enabled); this.showItem("spell-add-to-dictionary", onMisspelling); diff --git a/browser/components/preferences/main.xul b/browser/components/preferences/main.xul index 10ce1de1a29..7808ec47bcf 100644 --- a/browser/components/preferences/main.xul +++ b/browser/components/preferences/main.xul @@ -148,7 +148,7 @@ oncommand="gMainPane.setHomePageToCurrent();" id="useCurrent" preference="pref.browser.homepage.disable_button.current_page"/> -