def run(self):
        """
        Perform old-style (distutils) install, then update GTK icon cache.

        Extends ``distutils.command.install.install.run``.
        """
        orig_install.run(self)
        try:
            call(['gtk-update-icon-cache', 'share/icons/hicolor'])
        except OSError as e:
            # ignore failures since the tray icon is an optional component:
            logging.warning(e)
def run ( self ) : orig_install . run ( self ) try : call ( [ 'gtk-update-icon-cache' , 'share/icons/hicolor' ] ) except OSError as e : logging . warning ( e )
Perform old-style (distutils) install, then update GTK icon cache.

        Extends ``distutils.command.install.install.run``.