custom libindicator icon is not displayed

Posted by Christoph Sterz on Ask Ubuntu See other posts from Ask Ubuntu or by Christoph Sterz
Published on 2011-03-15T10:43:35Z Indexed on 2011/03/17 16:19 UTC
Read the original article Hit count: 318

Filed under:
|
|

Hi there, I want to change the statusicon of my own little reminder program. Currently I am using GTK.StatusIcon but I want to use a ApplicationIndicator.

Therefore I created an own Icon and moved it to:

/usr/share/icons/ubuntu-mono-dark/status/22

It is named indicator-notify.svg

Heres the code for the icon.

ind = appindicator.Indicator ("notify",
                          "indicator-notify",
                          appindicator.CATEGORY_APPLICATION_STATUS)
ind.set_status (appindicator.STATUS_ACTIVE)

This Icon is not displayed. Although every other icon from this folder is.

What did I miss? Is there maybe the need to "register" the icon in GTK ?

© Ask Ubuntu or respective owner

Related posts about Icons

Related posts about gtk