Adding icons on the taskbar by javascript scripting

Nicolas Lécureuil nlecureuil at mandriva.com
Fri Jan 22 16:46:26 CET 2010


Hi,

I am writing an plasma init file ( that i put on  /usr/share/apps/plasma-
desktop/init/ ). i added an activity, a panel with widgets, but i have pbs 
with icons.

Icons can be added like the other with : 


var panel = new Panel()
panel.addWidget("icon")

this add an empty icon

Is there a way to add a link ?


Before adding icons i would like to check if the desktop file exist, but it 
doesn't seems possible to use Url() on those scripts.

does someone have an idea for my pb ?


Cordialement,
Nicolas Lécureuil
Mandriva KDE Team


More information about the Plasma-devel mailing list