Merge lp:~kaijanmaki/hud/fix-updated-query-signals into lp:hud/13.10
Proposed by
Antti Kaijanmäki
Status: | Merged |
---|---|
Approved by: | Pete Woods |
Approved revision: | 302 |
Merged at revision: | 302 |
Proposed branch: | lp:~kaijanmaki/hud/fix-updated-query-signals |
Merge into: | lp:hud/13.10 |
Diff against target: |
16 lines (+1/-1) 1 file modified
src/service.c (+1/-1) |
To merge this branch: | bzr merge lp:~kaijanmaki/hud/fix-updated-query-signals |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Pete Woods (community) | Approve | ||
Review via email: mp+175040@code.launchpad.net |
Commit message
Fix hud-service emitting multiple UpdatedQuery signals.
To post a comment you must log in.
The hud-service has one "always open" query which it uses for the legacy interface. The problem is that the source-changed signal was getting connected each time hud receives StartQuery and as the query is shared it just adds one additional signal each time on the shared query causing the legacy_update to be called multiple times on a single source-changed.
This change connects to the signal only when when query is first created.