View Single Post
Old 01-04-2008, 08:52 AM   #1
ouais32
Junior Member
ouais32 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2008
Device: iLiad
Question Add new icons to the toolbar

Hi,

Is there any way to add new icons to the toolbar ? (new PNG image, new icon ID)

I found the file toolbar.xml which contains declaration of all toolbar icons.
I added a new icon to this file but nothing happened. I copied the file to different locations, rebooted iLiad many times.
In order to append the icon to the toolbar, I call tbAppendPlatformIcon with the icon ID "iconID_forward + 1" (i.e. 67) and it shows :
"(W)mb-applet-icon-container.c:193,doAppendPlatformIcon() Illegal arguments: uaID (1), iconID (67), nIcons (67)"
nIcons always equals 67, no matter how many icons I add to toolbar.xml.

Also, I saw that the header liberipc/eripctoolbar.h contains enum of all icons IDs.
As we can't rebuild that, we will not be able to add any icon to the toolbar ?

Thanks
ouais32 is offline   Reply With Quote