Merge lp:~desrt/indicator-appmenu/emit-unregister-signal into lp:indicator-appmenu/0.4

Proposed by Allison Karlitskaya
Status: Merged
Approved by: Ted Gould
Approved revision: 201
Merged at revision: 201
Proposed branch: lp:~desrt/indicator-appmenu/emit-unregister-signal
Merge into: lp:indicator-appmenu/0.4
Diff against target: 12 lines (+2/-0)
1 file modified
src/indicator-appmenu.c (+2/-0)
To merge this branch: bzr merge lp:~desrt/indicator-appmenu/emit-unregister-signal
Reviewer Review Type Date Requested Status
Ted Gould (community) Approve
Review via email: mp+100875@code.launchpad.net

Description of the change

appmenu registrar: properly emit the "WindowUnregistered" signal when windows go away

To post a comment you must log in.
Revision history for this message
Ted Gould (ted) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/indicator-appmenu.c'
2--- src/indicator-appmenu.c 2012-03-27 16:47:34 +0000
3+++ src/indicator-appmenu.c 2012-04-04 20:32:21 +0000
4@@ -1240,6 +1240,8 @@
5 /* If it's a desktop window remove it from that table as well */
6 g_hash_table_remove(iapp->desktop_windows, GUINT_TO_POINTER(windowid));
7
8+ emit_signal(iapp, "WindowUnregistered", g_variant_new ("(u)", windowid));
9+
10 /* Now let's see if we've got a WM object for it then
11 we need to mark it as destroyed and unreference to
12 actually destroy it. */

Subscribers

People subscribed via source and target branches