summaryrefslogtreecommitdiffstats
path: root/modules/libpref/init
diff options
context:
space:
mode:
authorLootyhoof <lootyhoofer@gmail.com>2020-06-06 00:37:29 +0100
committerLootyhoof <lootyhoofer@gmail.com>2020-06-09 13:41:53 +0100
commitd18faf81938c947f1d02feab2c394b8135f88d8f (patch)
tree17ad9c1ecb14acd726cb8404c3a82e2781e27253 /modules/libpref/init
parentfdb918dea124a6efaf0c86f6d5c2ab1b83013e40 (diff)
downloadUXP-d18faf81938c947f1d02feab2c394b8135f88d8f.tar
UXP-d18faf81938c947f1d02feab2c394b8135f88d8f.tar.gz
UXP-d18faf81938c947f1d02feab2c394b8135f88d8f.tar.lz
UXP-d18faf81938c947f1d02feab2c394b8135f88d8f.tar.xz
UXP-d18faf81938c947f1d02feab2c394b8135f88d8f.zip
Issue MoonchildProductions/UXP#1578 - Add global menubar support for GTK
Diffstat (limited to 'modules/libpref/init')
-rw-r--r--modules/libpref/init/all.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index ca96bcb07..9e2513011 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -251,6 +251,10 @@ pref("browser.sessionhistory.max_total_viewers", -1);
pref("browser.newtabpage.add_to_session_history", false);
pref("ui.use_native_colors", true);
+#ifdef MOZ_WIDGET_GTK
+// Determines whether the menubar is shown in the global menubar or not.
+pref("ui.use_global_menubar", false);
+#endif
pref("ui.click_hold_context_menus", false);
// Duration of timeout of incremental search in menus (ms). 0 means infinite.
pref("ui.menu.incremental_search.timeout", 1000);