Merge lp://staging/~larsu/telepathy-indicator/lp1302930 into lp://staging/telepathy-indicator

Proposed by Lars Karlitski
Status: Merged
Approved by: Charles Kerr
Approved revision: 80
Merged at revision: 79
Proposed branch: lp://staging/~larsu/telepathy-indicator/lp1302930
Merge into: lp://staging/telepathy-indicator
Diff against target: 146 lines (+61/-15)
1 file modified
src/indicator-approver.c (+61/-15)
To merge this branch: bzr merge lp://staging/~larsu/telepathy-indicator/lp1302930
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Ted Gould (community) Approve
Review via email: mp+215855@code.staging.launchpad.net

Commit message

Remove source when a connection dies

Description of the change

Remove source when a connection dies

Keep a hashtable mapping connections to all sources that are associated with that connection. When the connection dies, remove those sources.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Ted Gould (ted) wrote :

Seems like we should be able to call update_launcher() once after removing all the items. Not critical, but seems like it would be better.

Top approve if you want to land as-is.

review: Approve
80. By Lars Karlitski

Don't unnecessarily call update_launcher()

Revision history for this message
Lars Karlitski (larsu) wrote :

Good catch, thanks. Fixed in r80.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Charles Kerr (charlesk) wrote :

Housekeeping: top-approving based on ted's approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: