mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-21 15:57:31 +09:00
[Basilisk] Issue MoonchildProductions/UXP#1578 - Add global menubar support for GTK
This commit is contained in:
parent
8d5005090a
commit
be8bea50ff
3 changed files with 12 additions and 0 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue