Merge lp:~larsu/notify-osd/lp1319983 into lp:notify-osd

Proposed by Lars Karlitski
Status: Needs review
Proposed branch: lp:~larsu/notify-osd/lp1319983
Merge into: lp:notify-osd
Diff against target: 27 lines (+9/-7)
1 file modified
src/stack.c (+9/-7)
To merge this branch: bzr merge lp:~larsu/notify-osd/lp1319983
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Needs Fixing
Mirco Müller Pending
Review via email: mp+219873@code.launchpad.net

Commit message

Do not start timers if the appended bubble is not yet visible

Description of the change

Do not start timers if the appended bubble is not yet visible

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Continuous integration, rev:484
No commit message was specified in the merge proposal. Click on the following link and set the commit message (if you want a jenkins rebuild you need to trigger it yourself):
https://code.launchpad.net/~larsu/notify-osd/lp1319983/+merge/219873/+edit-commit-message

http://jenkins.qa.ubuntu.com/job/notify-osd-ci/24/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/notify-osd-utopic-amd64-ci/2
    SUCCESS: http://jenkins.qa.ubuntu.com/job/notify-osd-utopic-armhf-ci/2
    SUCCESS: http://jenkins.qa.ubuntu.com/job/notify-osd-utopic-i386-ci/2

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/notify-osd-ci/24/rebuild

review: Needs Fixing (continuous-integration)

Unmerged revisions

484. By Andy Whitcroft

Do not start timers if the appended bubble is not yet visible

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/stack.c'
2--- src/stack.c 2013-11-07 15:37:20 +0000
3+++ src/stack.c 2014-05-16 16:22:53 +0000
4@@ -385,14 +385,16 @@
5 /* check if this is just an update */
6 if (find_bubble_by_id (self, bubble_get_id (bubble)))
7 {
8- bubble_start_timer (bubble, TRUE);
9- bubble_refresh (bubble);
10+ if (bubble_is_visible(bubble)) {
11+ bubble_start_timer (bubble, TRUE);
12+ bubble_refresh (bubble);
13
14- /* resync the synchronous bubble if it's at the top */
15- if (sync_bubble != NULL
16- && bubble_is_visible (sync_bubble))
17- if (stack_is_at_top_corner (self, sync_bubble))
18- bubble_sync_with (sync_bubble, bubble);
19+ /* resync the synchronous bubble if it's at the top */
20+ if (sync_bubble != NULL
21+ && bubble_is_visible (sync_bubble))
22+ if (stack_is_at_top_corner (self, sync_bubble))
23+ bubble_sync_with (sync_bubble, bubble);
24+ }
25
26 return bubble_get_id (bubble);
27 }

Subscribers

People subscribed via source and target branches