mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 17:23:59 +00:00
Bug 590744 - Add an edit sub menu to the Firefox menu [r=dao, a=blocking-betaN]
This commit is contained in:
parent
e214e641ee
commit
c8c1f63650
@ -101,6 +101,45 @@
|
||||
command="cmd_paste"
|
||||
onclick="if (!this.disabled) hidePopup();"
|
||||
tooltiptext="&pasteButton.tooltip;"/>
|
||||
<spacer flex="1"/>
|
||||
<menu id="appmenu-editmenu">
|
||||
<menupopup id="appmenu-editmenu-menupopup">
|
||||
<menuitem id="appmenu-editmenu-cut"
|
||||
class="menuitem-iconic"
|
||||
label="&cutCmd.label;"
|
||||
key="key_cut"
|
||||
command="cmd_cut"/>
|
||||
<menuitem id="appmenu-editmenu-copy"
|
||||
class="menuitem-iconic"
|
||||
label="©Cmd.label;"
|
||||
key="key_copy"
|
||||
command="cmd_copy"/>
|
||||
<menuitem id="appmenu-editmenu-paste"
|
||||
class="menuitem-iconic"
|
||||
label="&pasteCmd.label;"
|
||||
key="key_paste"
|
||||
command="cmd_paste"/>
|
||||
<menuseparator/>
|
||||
<menuitem id="appmenu-editmenu-undo"
|
||||
label="&undoCmd.label;"
|
||||
key="key_undo"
|
||||
command="cmd_undo"/>
|
||||
<menuitem id="appmenu-editmenu-redo"
|
||||
label="&redoCmd.label;"
|
||||
key="key_redo"
|
||||
command="cmd_redo"/>
|
||||
<menuseparator/>
|
||||
<menuitem id="appmenu-editmenu-selectAll"
|
||||
label="&selectAllCmd.label;"
|
||||
key="key_selectAll"
|
||||
command="cmd_selectAll"/>
|
||||
<menuseparator/>
|
||||
<menuitem id="appmenu-editmenu-delete"
|
||||
label="&deleteCmd.label;"
|
||||
key="key_delete"
|
||||
command="cmd_delete"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
</hbox>
|
||||
<menuitem id="appmenu_find"
|
||||
class="menuitem-tooltip"
|
||||
|
@ -166,7 +166,9 @@ splitmenu {
|
||||
}
|
||||
|
||||
.splitmenu-menu > .menu-text,
|
||||
:-moz-any(.splitmenu-menu, .splitmenu-menuitem) > .menu-accel-container {
|
||||
:-moz-any(.splitmenu-menu, .splitmenu-menuitem) > .menu-accel-container,
|
||||
#appmenu-editmenu > .menu-text,
|
||||
#appmenu-editmenu > .menu-accel-container {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
@ -1739,13 +1739,16 @@ toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
|
||||
#appmenuSecondaryPane-spacer {
|
||||
min-height: 1em;
|
||||
}
|
||||
#appmenu-cut {
|
||||
#appmenu-cut,
|
||||
#appmenu-editmenu-cut {
|
||||
list-style-image: url("moz-icon://stock/gtk-cut?size=menu");
|
||||
}
|
||||
#appmenu-copy {
|
||||
#appmenu-copy,
|
||||
#appmenu-editmenu-copy {
|
||||
list-style-image: url("moz-icon://stock/gtk-copy?size=menu");
|
||||
}
|
||||
#appmenu-paste {
|
||||
#appmenu-paste,
|
||||
#appmenu-editmenu-paste {
|
||||
list-style-image: url("moz-icon://stock/gtk-paste?size=menu");
|
||||
}
|
||||
#wrapper-appmenu-toolbar-button,
|
||||
|
@ -342,22 +342,32 @@
|
||||
min-height: 1em;
|
||||
}
|
||||
|
||||
#appmenu-editmenu {
|
||||
-moz-box-pack: end;
|
||||
}
|
||||
|
||||
#appmenu_print,
|
||||
#appmenu_print_popup,
|
||||
.appmenu-edit-button,
|
||||
#appmenu-editmenu-cut,
|
||||
#appmenu-editmenu-copy,
|
||||
#appmenu-editmenu-paste,
|
||||
#appmenu-quit {
|
||||
list-style-image: url("appmenu-icons.png");
|
||||
}
|
||||
|
||||
#appmenu-cut {
|
||||
#appmenu-cut,
|
||||
#appmenu-editmenu-cut {
|
||||
-moz-image-region: rect(0 16px 16px 0);
|
||||
}
|
||||
|
||||
#appmenu-copy {
|
||||
#appmenu-copy,
|
||||
#appmenu-editmenu-copy {
|
||||
-moz-image-region: rect(0 32px 16px 16px);
|
||||
}
|
||||
|
||||
#appmenu-paste {
|
||||
#appmenu-paste,
|
||||
#appmenu-editmenu-paste {
|
||||
-moz-image-region: rect(0 48px 16px 32px);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user