Merge lp://qastaging/~lanoxx/indicator-applet/fix-duplicate-icons into lp://qastaging/indicator-applet
Proposed by
Sebastian Geiger
Status: | Merged |
---|---|
Approved by: | Dmitry Shachnev |
Approved revision: | 451 |
Merged at revision: | 451 |
Proposed branch: | lp://qastaging/~lanoxx/indicator-applet/fix-duplicate-icons |
Merge into: | lp://qastaging/indicator-applet |
Diff against target: |
13 lines (+2/-1) 1 file modified
src/indicator-applet.c (+2/-1) |
To merge this branch: | bzr merge lp://qastaging/~lanoxx/indicator-applet/fix-duplicate-icons |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Dmitry Shachnev | Approve | ||
Alberts Muktupāvels | Approve | ||
Review via email: mp+390344@code.qastaging.launchpad.net |
Commit message
Destroy the menuitem instead of hiding it when an entry is removed.
Description of the change
This fixes a bug that causes duplicate icons in the indicator-applet. To reproduce the bug, perform the following steps:
1. Start an application which registers a menu item in the indicator applet.
2. Close that application again. Internally the item will be hidden.
3. Move the panel around on the screen to a different edge of the screen.
The result is, that the item will be visible again.
This change fixes the problem by destroying the widget and removing it from the hash table.
To post a comment you must log in.
Before merging we should check if this does not re-introduce problem - https:/ /bazaar. launchpad. net/~indicator- applet- developers/ indicator- applet/ trunk.13. 10/revision/ 403