зеркало из https://github.com/mozilla/gecko-dev.git
Bug 720431 - Can't close Style Editor with cmd+w. r=paul
This commit is contained in:
Родитель
78da8aea82
Коммит
fa75301a17
|
@ -54,6 +54,17 @@
|
|||
persist="screenX screenY width height sizemode">
|
||||
<xul:script type="application/javascript" src="chrome://global/content/globalOverlay.js"/>
|
||||
|
||||
<xul:commandset id="style-editor-commandset">
|
||||
<xul:command id="style-editor-cmd-close" oncommand="window.close();"/>
|
||||
</xul:commandset>
|
||||
|
||||
<xul:keyset id="style-editor-keyset">
|
||||
<xul:key id="style-editor-key-close"
|
||||
key="&closeCmd.key;"
|
||||
command="style-editor-cmd-close"
|
||||
modifiers="accel"/>
|
||||
</xul:keyset>
|
||||
|
||||
<xul:box id="style-editor-chrome" class="splitview-root loading">
|
||||
<xul:box class="splitview-controller">
|
||||
<xul:box class="splitview-main">
|
||||
|
|
|
@ -49,3 +49,6 @@
|
|||
<!ENTITY noStyleSheet-tip-action.label "append a new style sheet">
|
||||
<!-- LOCALICATION NOTE (noStyleSheet-tip-end.label): End of the tip sentence -->
|
||||
<!ENTITY noStyleSheet-tip-end.label "?">
|
||||
|
||||
<!-- LOCALIZATION NOTE (closeCmd.key): Accel + this key closes the window. -->
|
||||
<!ENTITY closeCmd.key "W">
|
||||
|
|
Загрузка…
Ссылка в новой задаче