Bug 970769 - MenuBar flickers when I click History/Tools menu in the first time r=markh

This commit is contained in:
Tim Taubert
2014-03-12 18:14:05 -07:00
parent ddc268d66f
commit b9d8bd1287
2 changed files with 6 additions and 3 deletions

View File

@@ -444,7 +444,10 @@
accesskey="&toolsMenu.accesskey;">
<menupopup id="menu_ToolsPopup"
#ifdef MOZ_SERVICES_SYNC
onpopupshowing="gSyncUI.updateUI();"
# We have to use setTimeout() here to avoid a flickering menu bar when opening
# the Tools menu, see bug 970769. This can be removed once we got rid of the
# event loop spinning in Weave.Status._authManager.
onpopupshowing="setTimeout(() => gSyncUI.updateUI());"
#endif
>
<menuitem id="menu_openDownloads"