appindicator does not render string icons.

Bug #1403451 reported by fujiwara
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libappindicator (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

It seems KDE5 does not support GtkStatusIcon.
I create a GdkPixbuf from cairo which shows dynamic string icon in the image and use gtk_status_icon_set_from_pixbuf() to show the icon.
I cannot find the similar way in appindicator to show one or two characters in the panel icon.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, can you give some specifics of what you are using/trying to do exactly?

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.

dobey (dobey)
affects: indicator-application (Ubuntu) → libappindicator (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libappindicator (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.