April 25, 2015
9:22 a.m.
2015-04-25 11:16 GMT+02:00 Nicolai Hess <nicolaihess@web.de>:
2015-04-25 9:00 GMT+02:00 Peter Uhnák <i.uhnak@gmail.com>:
Hi,
is there some (API) way to control the icons for methods in Nautilus? I would like to show an icon for methods that contains "self shouldBeImplemented". Something like what is shown when there is "self halt" in the method. Is this possible without overriding something inside Nautilus?
Just implement a new subclass of AbstractMethodIconAction and implement #privateActionIcon #actionStateToCache #isActionHandled #actionOrder
(and of course, once you will have to call "AbstractNautilusUI resetIconCaches" )
(Possibly through Nautilus Plugin Manager, but I have no idea how that works.)
Thanks, Peter