Comment 5 for bug 488790

 - has code to find the .desktop file for an app.

 - I'd prefer to have the .desktop file name as that's what seems to
be used by other projects (eg. GNOME Shell) to identify applications.
(However, just using "app" would simplify inserting quite a bit so I
may still change my opinion in favour of yours).