Comment 1 for bug 603057

Revision history for this message
evelio (q-launchpad-euresti-com) wrote : Re: Wrong icon loaded

This happens because the app-indicator searches for an icon named 'appointment-soon' and if that's not in the current theme it then searches for 'appointment' before it goes to the next Theme.

The call is g_themed_icon_new_with_default_fallbacks followed by gtk_icon_theme_lookup_by_gicon.

It seems like it should search all the themes before falling back.

PS. This basically stops any app that wants to include its own icons using app_indicator_new_with_path since the path is appended as a last Theme if they say 'myapp-idle', but the default theme has an icon called 'myapp' it will always use 'myapp'.