@@ -65,12 +65,39 @@ def installMenu():
65
65
"""
66
66
parentMenu = getParentMenu ()
67
67
68
- maya .cmds .menuItem (kMenuDivider , divider = True , longDivider = False , insertAfter = kMenuInsertAfter , parent = parentMenu , version = kMayaVersionAdded )
69
- maya .cmds .menuItem (kMenuName , parent = parentMenu , insertAfter = kMenuDivider , subMenu = True , label = kMenuLabel , tearOff = True , version = kMayaVersionAdded )
68
+ maya .cmds .menuItem (kMenuDivider ,
69
+ divider = True ,
70
+ longDivider = False ,
71
+ insertAfter = kMenuInsertAfter ,
72
+ parent = parentMenu ,
73
+ version = kMayaVersionAdded )
74
+ maya .cmds .menuItem (kMenuName ,
75
+ parent = parentMenu ,
76
+ insertAfter = kMenuDivider ,
77
+ image = commands .importCmd .familyIconPath (),
78
+ subMenu = True ,
79
+ label = kMenuLabel ,
80
+ tearOff = True ,
81
+ version = kMayaVersionAdded )
70
82
71
- maya .cmds .menuItem (parent = kMenuName , label = commands .importCmd .kShortLabel , command = commands .importCmd .kScriptCommand , version = kMayaVersionAdded )
72
- maya .cmds .menuItem (parent = kMenuName , label = commands .reviewCmd .kShortLabel , command = commands .reviewCmd .kScriptCommand , version = kMayaVersionAdded )
73
- maya .cmds .menuItem (parent = kMenuName , label = commands .publishCmd .kShortLabel , command = commands .publishCmd .kScriptCommand , version = kMayaVersionAdded )
83
+ maya .cmds .menuItem (parent = kMenuName ,
84
+ label = commands .importCmd .kShortLabel ,
85
+ annotation = commands .importCmd .kLabel ,
86
+ command = commands .importCmd .kScriptCommand ,
87
+ image = commands .importCmd .iconPath (),
88
+ version = kMayaVersionAdded )
89
+ maya .cmds .menuItem (parent = kMenuName ,
90
+ label = commands .reviewCmd .kShortLabel ,
91
+ annotation = commands .reviewCmd .kLabel ,
92
+ command = commands .reviewCmd .kScriptCommand ,
93
+ image = commands .importCmd .iconPath (),
94
+ version = kMayaVersionAdded )
95
+ maya .cmds .menuItem (parent = kMenuName ,
96
+ label = commands .publishCmd .kShortLabel ,
97
+ annotation = commands .publishCmd .kLabel ,
98
+ command = commands .publishCmd .kScriptCommand ,
99
+ image = commands .importCmd .iconPath (),
100
+ version = kMayaVersionAdded )
74
101
75
102
def uninstallMenu ():
76
103
"""
0 commit comments