Hello,
Yes, g_desktop_app_info_search() is exactly what I need.
I will test it later.
Thanks a lot for your help.
// Moma
tito-wolit escreveu no dia segunda, 4/03/2019 à(s)
06:59:
>
>
> On 3/3/19 9:53 PM, Osmo Antero wrote:
> > Hello Tito,
> > Muito obrigado.
> > Thank you, the call with
Btw:
Totem (GNOME `s Video Player) has very similar problem.
It «lies» about its .desktop file name. It says "totem" instead of
"org.gnome.Totem".
My app asks for it via DBus/MPRIS2 and gets wrong data.
$ locate -i totem | grep ".desktop"
/usr/share/applications/org.gnome.Totem.desktop
It is
Osmo Antero
20:53 (há 11 minutos)
para tito-wolit
Hello Tito,
Muito obrigado.
Thank you, the call with "kde4-" worked fine.
However, the "DesktopEntry" value from Amarok/DBus does not contain the
"kde4" part.
Please see the MRIS2-spec:
On 3/3/19 6:36 PM, Osmo Antero via gtk-app-devel-list wrote:
Hello,
I have an application that uses g_desktop_app_info_new() function to
find GDesktopAppInfo.
I just wonder why the g_desktop_app_info_new() FAILS to find the
GDesktopAppInfo if the .desktop file is in a sub directory
under
Hello,
I have an application that uses g_desktop_app_info_new() function to
find GDesktopAppInfo.
I just wonder why the g_desktop_app_info_new() FAILS to find the
GDesktopAppInfo if the .desktop file is in a sub directory
under usr/share/applications/.
So this fails:
GDesktopAppInfo *app_info =