-
Committer:
Tarmac
-
Author(s):
Marco Trevisan (Treviño)
-
Date:
2012-05-16 10:33:35 UTC
-
mfrom:
(2356.1.3 unity)
-
Revision ID:
tarmac-20120516103335-ma3pkabrjtuhbhfi
BamfLauncherIcon: add a timeout on application close before removing the icon
This makes the application to correctly hide when closed, but avoids
that the launcher icon is removed when an application is quickly opened/closed
Also we override the Remove() method to make sure that once it's called
we remove the "unity-seen" flag from the BamfApplication object.
So an application icon could be re-added in the period between the Remove()
call and the ~BamfLauncherIcon call (that could take some time).. Fixes: https://bugs.launchpad.net/bugs/995916, https://bugs.launchpad.net/bugs/999820. Approved by Tim Penhey, Thomi Richards.