ok :)  i managed to fix that with

var test = defaultApplication("filemanager").split(" ")
print (test[0])


2013/1/29 Aaron J. Seigo <ase...@kde.org>

> On Tuesday, January 29, 2013 16:24:31 Nowardev-Team wrote:
> > and it worked fine but for dolphin you get this
> >
> >
> > dolphin %i -caption "%c" %u
>
> this is the exec line from the .desktop file.
>
> i supose it could either:
>
> * simply return the .desktop file path (might break any users of it that
> don't
> understand how to use that)
> * sanitize the command line by chopping everything after the first space
>
> i'm unsure which i like better. the latter is easier, but it could also be
> nice to get the .desktop file. that would require adding API, though; so
> couldn't hit 4.10.
>
> i suppose both could be done, too ... sanitize in 4.10.x and get-me-the-
> desktop-file in 4.11
>
> --
> Aaron J. Seigo
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel@kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
>
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to