Skip to content

Commit

Permalink
[minor] Added dark themed icon
Browse files Browse the repository at this point in the history
  • Loading branch information
manneohrstrom committed Feb 22, 2017
1 parent 963bf75 commit de40d50
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
14 changes: 12 additions & 2 deletions app.py
Expand Up @@ -12,7 +12,7 @@
Multi Publish
"""

import os
import sgtk

class MultiPublish2(sgtk.platform.Application):
Expand All @@ -28,7 +28,17 @@ def init_app(self):
# register command
cb = lambda : tk_multi_publish2.show_dialog(self)
menu_caption = "Publish..."
menu_options = {"short_name": "publish", "description": "Publishing of data into Shotgun"}
menu_options = {
"short_name": "publish",
"description": "Publishing of data into Shotgun",

# dark themed icon for engines that recognize this format
"icons": {
"dark": {
"png": os.path.join(self.disk_location, "resources", "publish_menu_icon.png")
}
}
}
self.engine.register_command(menu_caption, cb, menu_options)

@property
Expand Down
2 changes: 1 addition & 1 deletion info.yml
Expand Up @@ -45,7 +45,7 @@ configuration:
- [Houdini Scene, hip]
- [Maya Scene, ma, mb]
- [Hiero Project, hrox]
- [Alembic Cache]
- [Alembic Cache, abc]
- [Rendered Image, dpx, exr]
- [Texture, tiff, tx, tga, dds]
- [Image, jpeg, jpg, png]
Expand Down
Binary file added resources/publish_menu_icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit de40d50

Please sign in to comment.