Comment 2 for bug 1045223

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Not a bamf issue: the problem is in the distro script that generates the file /usr/share/applications/bamf.index, when building it it does not take care of the .desktop file sections, so the empathy.desktop file that contains:

Exec=empathy

[Desktop Action Hidden]
Name=Open Hidden in Background
Exec=empathy -h
NotShowIn=Messaging Menu

[Desktop Action Prefs]
Name=Open Preferences
Exec=empathy -p
NotShowIn=Messaging Menu

[Desktop Action Accounts]
Name=Open Accounts
Exec=gnome-control-center credentials
NotShowIn=Messaging Menu

Would cause the script to generate a bamf.index like:

empathy.desktop empathy
empathy.desktop empathy -h
empathy.desktop empathy -p
empathy.desktop gnome-control-center credentials

And this last line confuses the bamf matching. So, to fix this the bamf.index generator script should avoid the exec strings defined into .desktop sections.