diff options
Diffstat (limited to 'base/content/browser-menubar.inc')
-rw-r--r-- | base/content/browser-menubar.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/content/browser-menubar.inc b/base/content/browser-menubar.inc index 702c5ec..04e4634 100644 --- a/base/content/browser-menubar.inc +++ b/base/content/browser-menubar.inc @@ -5,7 +5,11 @@ <menubar id="main-menubar" onpopupshowing="if (event.target.parentNode.parentNode == this && +#ifdef MOZ_WIDGET_GTK + document.documentElement.getAttribute('shellshowingmenubar') != 'true') +#else !('@mozilla.org/widget/nativemenuservice;1' in Cc)) +#endif this.setAttribute('openedwithkey', event.target.parentNode.openedWithKey);" style="border:0px;padding:0px;margin:0px;-moz-appearance:none"> |