Comment 2 for bug 1403451

Revision history for this message
fujiwara (takao-fujiwara) wrote :

app_indicator_set_icon_full() uses "IconName" dbus method via GDBusInterfaceVTable.get_property() and it supports icon names only.
But I'd like to draw a string on the panel icon instead of the static icon files without linking QT libraries, QIcon, QPixmap.
E.g. a new API, app_indicator_set_icon_string("EN")
I need to draw the language prefix, "EN", "FR", "JA".

I could do it with GtkStatusIcon with gtk_status_icon_set_from_pixbuf(). I created GdkPixbuf dynamically and changes the icon.
Since my app is GTK and try to use appindicator for KDE5.