~unity-team/bamf/trunk

Viewing all changes in revision 572.

  • Committer: Tarmac
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2013-08-06 19:14:43 UTC
  • mfrom: (522.6.56 add-local-desktop-file)
  • Revision ID: tarmac-20130806191443-xeucbguc4dz4wibm
BamfControl: add an API to allow generation of local .desktop file for a BamfApplication.

Add a bamf_control dbus method that requests to generate a new local .desktop
file for the provided application path. In case the application has alredy
a desktop file, the request is ignored. Otherwise we use some euristic to
generate an hopefully valid file saved in $XDG_DATA_HOME dir.

Also added a new DesktopUpdated signal to the BamfApplication DBus interface
that is emitted when the .desktop file for an application is set (for now). Fixes: https://bugs.launchpad.net/bugs/753305.

Approved by Christopher Townsend, PS Jenkins bot.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: