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
Le Vendredi 22 Janvier 2010 21:37:57, Aaron J. Seigo a écrit :
> On January 22, 2010, Nicolas Lécureuil wrote:
> > var panel = new Panel()
> > panel.addWidget("icon")
> >
> > this add an empty icon
> >
> > Is there a way to add a link ?
>
> probably something like:
>
> var icon = panel.addWidge
On January 22, 2010, Aaron J. Seigo wrote:
> useful for some other purpose, let me know. but i'll add the fileExists()
> method and backport.
something that occurred to me that might be a nice addition: locate(), which
would use KStandardDirs, and DesktopEntry which would represent a KService. if
On January 22, 2010, Nicolas Lécureuil wrote:
> var panel = new Panel()
> panel.addWidget("icon")
>
> this add an empty icon
>
> Is there a way to add a link ?
probably something like:
var icon = panel.addWidget("icon")
icon.writeConfig("Url", "path_to_whatever_the_icon_should_represent")
does
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