mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 814404 - Hide useless menu item in non-browser windows on Mac. r=gavin
--HG-- extra : rebase_source : 4aebcaa31a6cf45fa1949eba731ad5c4d2e05188
This commit is contained in:
parent
7eab3ec7a5
commit
0834b2d12a
@ -137,6 +137,11 @@ let SocialUI = {
|
||||
}
|
||||
},
|
||||
|
||||
nonBrowserWindowInit: function SocialUI_nonBrowserInit() {
|
||||
// Disable the social menu item in non-browser windows
|
||||
document.getElementById("menu_socialAmbientMenu").hidden = true;
|
||||
},
|
||||
|
||||
// Miscellaneous helpers
|
||||
showProfile: function SocialUI_showProfile() {
|
||||
if (Social.haveLoggedInUser())
|
||||
|
@ -1645,6 +1645,8 @@ var gBrowserInit = {
|
||||
}
|
||||
}
|
||||
|
||||
SocialUI.nonBrowserWindowInit();
|
||||
|
||||
this._delayedStartupTimeoutId = setTimeout(this.nonBrowserWindowDelayedStartup.bind(this), 0);
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user