rcmorano/gnome-shell-gnome2-notifications — Issue #10: TypeError: icon is undefined
Author: alienheadtransplant
Created: 2012-01-29 00:10:05+00:00
State: open

Ran into this on Gnome 3.2.1 on Gentoo. Changing

```javascript
icon = Main.messageTray._summaryItems[i].source._trayIcon;
```

to

```javascript
let icon = Main.messageTray._summaryItems[i].source._trayIcon;
```

fixed it