Jamie Kenyon Posted February 1, 2019 Report Share Posted February 1, 2019 I'm sure I'm doing something wrong, but.... When using, ftrack_connect.application.ApplicationStore, whatever I supply for "icon" in _discoverApplications(), ftrack-connect always displays the "default" icon and not the one I supply... Link to comment Share on other sites More sharing options...
Lorenzo Angeli Posted February 1, 2019 Report Share Posted February 1, 2019 Hi @Jamie Kenyon icon should be a full web address where to pick the icon from, cannot be (atm) a local path, Try setting this path and see whether does work: "https://image.flaticon.com/icons/png/512/33/33447.png" hope it helps. L. Link to comment Share on other sites More sharing options...
Jamie Kenyon Posted February 4, 2019 Author Report Share Posted February 4, 2019 I'm afraid I still don't see an icon Lorenzo. Neither in the connect app or in the web UI. Link to comment Share on other sites More sharing options...
Lorenzo Angeli Posted February 4, 2019 Report Share Posted February 4, 2019 Hi @Jamie Kenyon, that's strange, you can see a fully working example here : https://bitbucket.org/ftrack/ftrack-connect-houdini/src/588f93210b9d5a65307a5eee6900d861d3ff1fe6/resource/hook/ftrack_connect_houdini_hook.py#lines-109 If still does not work would you be able to send your application launcher either here or sending it at support@ftrack.com so we can have a closer look ? Cheers. L. Link to comment Share on other sites More sharing options...
Jamie Kenyon Posted February 4, 2019 Author Report Share Posted February 4, 2019 Hi @Lorenzo Angeli, Right - thanks for that. So, my bad. The BaseAction class from ftrack_action_handler.action doesn't set the icon attribute. So I just had to reimplement BaseAction._discover() in my subclass. Problem solved. Thanks! Link to comment Share on other sites More sharing options...
Lorenzo Angeli Posted February 5, 2019 Report Share Posted February 5, 2019 Hi @Jamie Kenyon, glad to hear ! If there's anything else you know let us know . Cheers. L. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.