// Thanks to: // http://blog.fpmurphy.com/2011/05/more-gnome-shell-customization.html // By: Hedayat Vatankhah <hedayat.fwd@gmail.com>, 2011 const Panel = imports.ui.panel; const StatusIconDispatcher = imports.ui.statusIconDispatcher; function init() { } function enable() { StatusIconDispatcher.STANDARD_TRAY_ICON_IMPLEMENTATIONS['starcal2.py'] = 'StarCalendar'; StatusIconDispatcher.STANDARD_TRAY_ICON_IMPLEMENTATIONS['starcal.py'] = 'StarCalendar'; } function disable() { StatusIconDispatcher.STANDARD_TRAY_ICON_IMPLEMENTATIONS['starcal2.py'] = ''; StatusIconDispatcher.STANDARD_TRAY_ICON_IMPLEMENTATIONS['starcal.py'] = ''; }