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:
mark%moxienet.com 2006-07-24 21:32:52 +00:00
parent b66d351891
commit 647e8e6b5c

View File

@ -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;"