Issue MoonchildProductions/UXP#1578 - Add global menubar support for GTK

This commit is contained in:
Lootyhoof 2020-06-06 00:37:29 +01:00 • committed by Roy Tam
commit 564f1026d5
32 changed files with 4811 additions and 4 deletions

View file

@ -24,10 +24,18 @@ UNIFIED_SOURCES += [
'nsAppShell.cpp',
'nsBidiKeyboard.cpp',
'nsColorPicker.cpp',
'nsDbusmenu.cpp',
'nsFilePicker.cpp',
'nsGtkKeyUtils.cpp',
'nsImageToPixbuf.cpp',
'nsLookAndFeel.cpp',
'nsMenuBar.cpp',
'nsMenuContainer.cpp',
'nsMenuItem.cpp',
'nsMenuObject.cpp',
'nsMenuSeparator.cpp',
'nsNativeMenuAtoms.cpp',
'nsNativeMenuDocListener.cpp',
'nsNativeThemeGTK.cpp',
'nsScreenGtk.cpp',
'nsScreenManagerGtk.cpp',
@ -40,6 +48,8 @@ UNIFIED_SOURCES += [
]
SOURCES += [
'nsMenu.cpp', # conflicts with X11 headers
'nsNativeMenuService.cpp',
'nsWindow.cpp', # conflicts with X11 headers
]
@ -104,6 +114,7 @@ FINAL_LIBRARY = 'xul'
LOCAL_INCLUDES += [
'/layout/generic',
'/layout/style',
'/layout/xul',
'/other-licenses/atk-1.0',
'/widget',