Adding icons on the taskbar by javascript scripting

Aaron J. Seigo aseigo at kde.org
Tue Feb 2 00:17:56 CET 2010


On January 23, 2010, Nicolas Lécureuil wrote:
> icon.writeConfig("Url", "/usr/share/applications/firefox.desktop")

this now works. the config change is caught when the script exits, but if you 
need to you can now also do:

	icon.reloadConfig()

at any point to cause it to, well, reload its config. please test and let me 
know how it goes :)

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks


More information about the Plasma-devel mailing list