mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 896887 - Enable application button and hide menubar on Linux by default. r=dao
This commit is contained in:
parent
864814d603
commit
48a0c604c1
@ -96,7 +96,7 @@
|
||||
gQueue.push(new focusElmWhileSubdocIsFocused("link"));
|
||||
|
||||
gQueue.push(new synthTab(editableDoc, new focusChecker(editableDoc)));
|
||||
if (WIN) {
|
||||
if (WIN || LINUX) {
|
||||
// Alt key is used to active menubar and focus menu item on Windows,
|
||||
// other platforms requires setting a ui.key.menuAccessKeyFocuses
|
||||
// preference.
|
||||
|
@ -156,7 +156,7 @@
|
||||
// Alt key is used to active menubar and focus menu item on Windows,
|
||||
// other platforms requires setting a ui.key.menuAccessKeyFocuses
|
||||
// preference.
|
||||
if (WIN) {
|
||||
if (WIN || LINUX) {
|
||||
gQueue.push(new focusFileMenu());
|
||||
gQueue.push(new focusEditMenu());
|
||||
gQueue.push(new leaveMenubar());
|
||||
|
@ -432,6 +432,9 @@
|
||||
#ifdef MENUBAR_CAN_AUTOHIDE
|
||||
toolbarname="&menubarCmd.label;"
|
||||
accesskey="&menubarCmd.accesskey;"
|
||||
#ifdef XP_LINUX
|
||||
autohide="true"
|
||||
#endif
|
||||
#endif
|
||||
context="toolbar-context-menu">
|
||||
<toolbaritem id="menubar-items" align="center"
|
||||
|
@ -3868,6 +3868,8 @@ pref("ui.panel.default_level_parent", true);
|
||||
|
||||
pref("mousewheel.system_scroll_override_on_root_content.enabled", false);
|
||||
|
||||
pref("ui.key.menuAccessKeyFocuses", true);
|
||||
|
||||
# XP_UNIX
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user