Copy image doesn't work on OS/2

This commit is contained in:
mkaply%us.ibm.com 2004-06-23 12:56:02 +00:00
parent 56fd518298
commit d019f84750
2 changed files with 4 additions and 0 deletions

View File

@ -72,10 +72,12 @@
accesskey="&viewImageCmd.accesskey;"
oncommand="gContextMenu.viewImage();"/>
#ifndef XP_UNIX
#ifndef XP_OS2
<menuitem id="context-copyimage-contents"
label="&copyImageContentsCmd.label;"
accesskey="&copyImageContentsCmd.accesskey;"
command="cmd_copyImageContents"/>
#endif
#endif
<menuitem id="context-copyimage"
label="&copyImageCmd.label;"

View File

@ -2983,8 +2983,10 @@ nsContextMenu.prototype = {
this.showItem( "context-sep-copylink", this.onLink && this.onImage);
#ifndef XP_UNIX
#ifndef XP_OS2
// Copy image contents depends on whether we're on an image.
this.showItem( "context-copyimage-contents", this.onImage );
#endif
#endif
// Copy image location depends on whether we're on an image.
this.showItem( "context-copyimage", this.onImage );