Thanks for the replies, ofnuts.
app_indicator_set_icon_theme_pathmust take an absolute path.
Followed by app_indicator_set_icon_full to set the icon name. The icon filetype takes a PNG. AFAIK any size of PNG will do. Appindicator takes care of sizing.
Here's what worked for me:
Code:
app_indicator_set_icon_theme_path(indicator, "/home/myusername/Absolute/Path/To/My/Resource/"); // preferably you would have a relative path and a method to convert that to an absolute. This path, obviously, will not be the same on other people's machines.
app_indicator_set_icon_full(indicator, "IconFileName", "Description"); //do not include the file extension in the file's name
Hoping this helps someone in the future.
Bookmarks