Remove .desktop suffix to appId
authorPier Luigi Fiorini <pierluigi.fiorini@gmail.com>
Thu, 22 Jan 2015 07:13:08 +0000 (08:13 +0100)
committerPier Luigi Fiorini <pierluigi.fiorini@gmail.com>
Fri, 10 Apr 2015 08:29:12 +0000 (08:29 +0000)
commit72aa34dc2aebbea715a5915f26cb6f0f67e164d1
tree4c54e020a510b9a590acaceeaee97f576b62c566
parentedd339d2b38e504a1e288bbd1cf352d1ae009247
Remove .desktop suffix to appId

The appId is the desktop entry identifier.

According to the desktop entry specifications [1], for applications the
part of the name should follow the reverse DNS convention (see [2]).

To do this we use the application domain if available, otherwise for
lack of information we fall back to the executable base name like other
toolkits such as Gtk+ do.

[1] http://standards.freedesktop.org/desktop-entry-spec/latest/
[2] http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s02.html

Change-Id: I181ad23a9736844e07e8060d78e756a943c27f67
Reviewed-by: Giulio Camuffo <giulio.camuffo@jollamobile.com>
src/client/qwaylandwindow.cpp