зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1471734 - Remove FULL_BROWSER_WINDOW preprocessor directive;r=Gijs
The key used to be removed from the markup. This changes it to include the <key> but instead disable it through the related command, which fits the pattern used with other commands. MozReview-Commit-ID: LPuwULDt22W --HG-- extra : rebase_source : f463e41602b6c34c4cfcc2254d78647724117318
This commit is contained in:
Родитель
3a2ecad399
Коммит
ab2a748164
|
@ -365,9 +365,7 @@
|
|||
#endif
|
||||
reserved="true"/>
|
||||
|
||||
#ifdef FULL_BROWSER_WINDOW
|
||||
<key id="key_undoCloseTab" command="History:UndoCloseTab" key="&tabCmd.commandkey;" modifiers="accel,shift"/>
|
||||
#endif
|
||||
<key id="key_undoCloseWindow" command="History:UndoCloseWindow" key="&newNavigatorCmd.key;" modifiers="accel,shift"/>
|
||||
|
||||
#ifdef XP_GNOME
|
||||
|
|
|
@ -1956,7 +1956,7 @@ if (AppConstants.platform == "macosx") {
|
|||
"viewToolbarsMenu", "viewSidebarMenuMenu", "Browser:Reload",
|
||||
"viewFullZoomMenu", "pageStyleMenu", "charsetMenu", "View:PageSource", "View:FullScreen",
|
||||
"viewHistorySidebar", "Browser:AddBookmarkAs", "Browser:BookmarkAllTabs",
|
||||
"View:PageInfo"];
|
||||
"View:PageInfo", "History:UndoCloseTab"];
|
||||
var element;
|
||||
|
||||
for (let disabledItem of disabledItems) {
|
||||
|
|
|
@ -89,9 +89,7 @@
|
|||
# All sets except for popupsets (commands, keys, stringbundles and broadcasters)
|
||||
# *must* go into the browser-sets.inc file so that they can be shared with other
|
||||
# top level windows in macWindow.inc.xul.
|
||||
#define FULL_BROWSER_WINDOW
|
||||
#include browser-sets.inc
|
||||
#undef FULL_BROWSER_WINDOW
|
||||
|
||||
<popupset id="mainPopupSet">
|
||||
<menupopup id="tabContextMenu"
|
||||
|
|
Загрузка…
Ссылка в новой задаче