What I've tried: connect a GtkIconTheme changed signal with a method that reloads the icon (in practice, it was setting the icon name as the same as before. This way, the icon was reloaded from file - therefore, reflecting icon theme change).
But, Unity 3.6 and 3.6.2 were crashing sometimes when I changed the icon theme. It looks like that a pointer to a SimpleLauncherIcon does not contains exactly a SimpleLauncherIcon... I haven't too much skills on C++, but there is something wrong.
I'll try to do it again today with the latest trunk version.
What I've tried: connect a GtkIconTheme changed signal with a method that reloads the icon (in practice, it was setting the icon name as the same as before. This way, the icon was reloaded from file - therefore, reflecting icon theme change).
But, Unity 3.6 and 3.6.2 were crashing sometimes when I changed the icon theme. It looks like that a pointer to a SimpleLauncherIcon does not contains exactly a SimpleLauncherI con... I haven't too much skills on C++, but there is something wrong.
I'll try to do it again today with the latest trunk version.