mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
345739 "Block Images from %s" context menu item is misaligned after bugs 342515, 344570. Change it from an iconic menu item to a <menuitem type="checkbox">. r=mano
This commit is contained in:
parent
b66d351891
commit
647e8e6b5c
@ -122,11 +122,10 @@
|
||||
label="&setDesktopBackgroundCmd.label;"
|
||||
accesskey="&setDesktopBackgroundCmd.accesskey;"
|
||||
oncommand="gContextMenu.setDesktopBackground();"/>
|
||||
|
||||
<!--XXXBlake XUL sucks! We need autocheck for menuitems. -->
|
||||
<menuitem id="context-blockimage" class="menuitem-iconic"
|
||||
<menuitem id="context-blockimage"
|
||||
type="checkbox"
|
||||
accesskey="&blockImageCmd.accesskey;"
|
||||
oncommand="gContextMenu.toggleImageBlocking(this.getAttribute('checked') != 'true');"/>
|
||||
oncommand="gContextMenu.toggleImageBlocking(this.getAttribute('checked') == 'true');"/>
|
||||
<menuitem id="context-back"
|
||||
label="&backCmd.label;"
|
||||
accesskey="&backCmd.accesskey;"
|
||||
|
Loading…
Reference in New Issue
Block a user