Yes, the api function is app_indicator_set_icon(...), but the problem is on the side of the program showing the indicators.
It works ok with indicator-application/gnome-panel, but causes a leak in unity/compiz. ** Description changed: While indicator-multiload itself remains static, while it is running memory use in compiz increases about 1MB/min (RSS Attached is pidstat log showing at idle for about 4 min, the indicator started and ruuning for about the same, then stopped and back at idle for a couple of min. - This is a bug in compiz/unity (bug #720446), and can't be fixed in - system load indicator. + This is a bug in compiz/unity (bug #720446, bug #758248), and can't be + fixed in system load indicator. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/779717 Title: indicator-multiload causes a memory leak in compiz when run under unity -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs