mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-03 05:47:29 +09:00
Issue MoonchildProductions/UXP#1578 - Add global menubar support for GTK
This commit is contained in:
parent
cd1c94480d
commit
564f1026d5
32 changed files with 4811 additions and 4 deletions
|
|
@ -73,6 +73,10 @@ elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
|
|||
'/dom/system',
|
||||
'/dom/system/android',
|
||||
]
|
||||
elif 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
|
||||
LOCAL_INCLUDES += [
|
||||
'/widget/gtk',
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_WEBSPEECH']:
|
||||
LOCAL_INCLUDES += [
|
||||
|
|
|
|||
|
|
@ -124,6 +124,10 @@
|
|||
#include "mozilla/StaticPresData.h"
|
||||
#include "mozilla/dom/WebIDLGlobalNameHash.h"
|
||||
|
||||
#ifdef MOZ_WIDGET_GTK
|
||||
#include "nsNativeMenuAtoms.h"
|
||||
#endif
|
||||
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::net;
|
||||
using namespace mozilla::dom;
|
||||
|
|
@ -158,6 +162,9 @@ nsLayoutStatics::Initialize()
|
|||
nsTextServicesDocument::RegisterAtoms();
|
||||
nsHTMLTags::RegisterAtoms();
|
||||
nsRDFAtoms::RegisterAtoms();
|
||||
#ifdef MOZ_WIDGET_GTK
|
||||
nsNativeMenuAtoms::RegisterAtoms();
|
||||
#endif
|
||||
|
||||
NS_SealStaticAtomTable();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue