problem with icontask and javascript

Nowardev-Team nowardev at gmail.com
Sat Dec 17 14:52:57 UTC 2011


 Ty Ty  i did

;( i had not seen that on kde wiki :( blind man

2011/12/16 Aaron J. Seigo <aseigo at kde.org>

> On Friday, December 16, 2011 07:29:45 Nowardev-Team wrote:
> > var icontasks = panel.addWidget("icontasks")
> > icontasks.writeConfig("groupClick","1")
> > icontasks.writeConfig("unity","true")
> > //icontasks.writeConfig("Enabled","true")
> >
> >
> icontasks.writeConfig("Items","file:///usr/share/applications/firefox.deskto
> >
> p?wmClass=Firefox,file:///usr/share/applications/kde4/kate.desktop?wmClass=K
> >
> ate,file:///usr/share/applications/kde4/konversation.desktop?wmClass=Konvers
> >
> ation,file:////usr/share/applications/kde4/dolphin.desktop?wmClass=Dolphin,f
> >
> ile:///usr/share/applications/chromium-browser.desktop?wmClass=Chromium-brow
> >
> ser,file:///usr/share/applications/kde4/konsole.desktop?wmClass=Konsole,file
> >
> :///usr/share/applications/kde4/ksnapshot.desktop?wmClass=Ksnapshot,file:///
> >
> usr/share/applications/kde4/systemsettings.desktop?wmClass=Systemsettings")
>
> > *I'm not 100% sure, by Launchers are in a different group.*
>
> from
> http://techbase.kde.org/KDE_System_Administration/PlasmaDesktopScripting
>
> Array[String] currentConfigGroup:
>
> the current configuration group path, with each entry in the array
> representing
> a sub-group. This allows one to access trees of groups with code such as:
> widget.currentConfigGroup = new Array('topGroup', 'subGroupOfTopGroup'). An
> empty Array means the default (top-level) configuration group for the
> widget
>
>
> so you probably want sth like:
>
> icontasks.currentConfigGroup = new Array('Launchers')
> icontasks.writeConfig("Items", "....")
>
> --
> 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
>
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20111217/c6d8b65e/attachment.html>


More information about the Plasma-devel mailing list