rgcjonas/gnome-shell-extension-appindicator — pull request #17 by phw (2013-07-13 17:54:58+00:00)
Title: Try to find icon with default theme if not found in theme_path

The patch will redo an icon lookup with the default icon theme if a custom theme path was supplied without finding the icon.

I noticed this issue when using the Solaar app. This app displays a custom icon on startup and then switches to a system icon like "battery-good-charging". It specifies a custom theme path and that results in correct loading of the custom icon, but it will fail loading the system icon. Redoing the lookup with the default theme fixes it.

This is really just a workaround and I don't fully understand the issue. If you have a better fix that would be great. To give an example this will work and return the icon:

```javascript
var icon_theme = Gtk.IconTheme.get_default();
var icon = icon_theme.lookup_icon('battery