brianhsu/EvilStatusIconForever — pull request #12 by mathematicalcoffee (2012-11-02 04:23:00+00:00)
Title: Updated for GNOME3.6

Hi,

I updated it for GNOME 3.6.

The main problem is that the statusIconDispatcher was removed so you don't get easy moving of icons from the message tray to the top panel simply by adding it to STANDARD_TRAY_ICON_IMPLEMENTATIONS any more.

Instead we listen to the 'tray-icon-added' method of notificationDaemon's tray manager (it uses this to make icons for applications with tray icons in the message tray), and instead make the icons in the top panel.

I also silenced all the `log` you have, it is quite verbose and it becomes a pain when developing other extensions! But you can get the logs back by uncommenting the line

function LOG(message) {
// log(message); <--------------
}

You could have it commented out in the version on e.g.o and there in your dev branch for example so you see the messages but end users don't.