2
我想更改我自己的小提醒程序的状态图标。目前我使用的是GTK.StatusIcon,但我想使用ApplicationIndicator。自定义libindicator图标不显示
所以我创建了一个自己的图标并将其移动到:
/usr/share/icons/ubuntu-mono-dark/status/22
它被命名为指标的notify.svg
继承人的图标的代码。
ind = appindicator.Indicator ("notify",
"indicator-notify",
appindicator.CATEGORY_APPLICATION_STATUS)
ind.set_status (appindicator.STATUS_ACTIVE)
此图标不显示。尽管此文件夹中的每个其他图标都是。
我错过了什么?是否有必要在GTK中注册图标?