UI: Icons in context menu for copy/paste
This commit is contained in:
parent
1ffb2bf917
commit
1540a1ddd1
|
@ -1140,9 +1140,9 @@ class VIEW3D_MT_select_edit_text(Menu):
|
|||
def draw(self, context):
|
||||
layout = self.layout
|
||||
|
||||
layout.operator("font.text_paste", text="Paste")
|
||||
layout.operator("font.text_cut", text="Cut")
|
||||
layout.operator("font.text_copy", text="Copy")
|
||||
layout.operator("font.text_copy", text="Copy", icon="COPYDOWN")
|
||||
layout.operator("font.text_paste", text="Paste", icon="PASTEDOWN")
|
||||
|
||||
layout.separator()
|
||||
|
||||
|
@ -1626,8 +1626,8 @@ class VIEW3D_MT_object(Menu):
|
|||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("view3d.copybuffer", text="Copy Objects")
|
||||
layout.operator("view3d.pastebuffer", text="Paste Objects")
|
||||
layout.operator("view3d.copybuffer", text="Copy Objects", icon="COPYDOWN")
|
||||
layout.operator("view3d.pastebuffer", text="Paste Objects", icon="PASTEDOWN")
|
||||
|
||||
layout.separator()
|
||||
|
||||
|
@ -2465,8 +2465,8 @@ class VIEW3D_MT_pose(Menu):
|
|||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("pose.copy")
|
||||
layout.operator("pose.paste").flipped = False
|
||||
layout.operator("pose.copy", icon="COPYDOWN")
|
||||
layout.operator("pose.paste", icon="PASTEDOWN").flipped = False
|
||||
layout.operator("pose.paste", text="Paste Pose Flipped").flipped = True
|
||||
|
||||
layout.separator()
|
||||
|
@ -2648,8 +2648,8 @@ class VIEW3D_MT_pose_specials(Menu):
|
|||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("pose.copy")
|
||||
layout.operator("pose.paste").flipped = False
|
||||
layout.operator("pose.copy", icon="COPYDOWN")
|
||||
layout.operator("pose.paste", icon="PASTEDOWN").flipped = False
|
||||
layout.operator("pose.paste", text="Paste X-Flipped Pose").flipped = True
|
||||
|
||||
layout.separator()
|
||||
|
@ -3727,8 +3727,8 @@ class VIEW3D_MT_edit_gpencil(Menu):
|
|||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("gpencil.copy", text="Copy")
|
||||
layout.operator("gpencil.paste", text="Paste").type = 'COPY'
|
||||
layout.operator("gpencil.copy", text="Copy", icon="COPYDOWN")
|
||||
layout.operator("gpencil.paste", text="Paste", icon="PASTEDOWN").type = 'COPY'
|
||||
layout.operator("gpencil.paste", text="Paste & Merge").type = 'MERGE'
|
||||
|
||||
layout.separator()
|
||||
|
|
Loading…
Reference in New Issue