Comment 11 for bug 925014

Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

As decided between Gary and me, it's architecturally not possible to send the icon flying to the launcher before installation, for two reasons: 1) We don't have a desktop file to feed BAMF on, and 2) The icon is not stored locally, but rather generated from the server.

It would be possible to fix it and still allow icons to be sent to the launcher before installation, but that would mean basing the icon on a different desktop file and modifying the icon/name to that of the app. Also, SC would have to store the icon in /tmp or somewhere so that Unity can read it. And, the icon's UpdateDesktopFile could be called to change the desktop file on-the-fly to prevent any duplication issues in the launcher.

Rather, we've decided on an alternative solution for a Precise SRU: Send icons AFTER installation is complete. That would need a few one-line changes on the Unity side, which are part of the linked branch which I'm proposing for the next SRU. Meanwhile, Gary is working on the SC side (thanks a lot for that!)