Merge lp:~azzar1/unity/lp-987727 into lp:unity

Proposed by Andrea Azzarone
Status: Merged
Approved by: Marco Trevisan (Treviño)
Approved revision: no longer in the source branch.
Merged at revision: 3283
Proposed branch: lp:~azzar1/unity/lp-987727
Merge into: lp:unity
Diff against target: 18 lines (+1/-7)
1 file modified
launcher/Launcher.cpp (+1/-7)
To merge this branch: bzr merge lp:~azzar1/unity/lp-987727
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Marco Trevisan (Treviño) Approve
Review via email: mp+157390@code.launchpad.net

Commit message

Don't draw the 'running pip' when an app is automatically placed in the Launcher after being installed from the Software Center (or from the apps lens).

Description of the change

== Problem ==
Bug #987727: Launcher - When a app is automatically placed in the Launcher after being installed from the Software Center, it should be in the 'non-running' state

== Fix ==
Don't force the drawing of the 'running pip(s)' if an icon has the urgent flag activated.

To post a comment you must log in.
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

+1

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

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'launcher/Launcher.cpp'
2--- launcher/Launcher.cpp 2013-04-02 18:47:58 +0000
3+++ launcher/Launcher.cpp 2013-04-05 14:53:29 +0000
4@@ -837,13 +837,7 @@
5 // we dont need to show strays
6 if (!icon->GetQuirk(AbstractLauncherIcon::Quirk::RUNNING))
7 {
8- if (icon->GetQuirk(AbstractLauncherIcon::Quirk::URGENT))
9- {
10- arg.running_arrow = true;
11- arg.window_indicators = 1;
12- }
13- else
14- arg.window_indicators = 0;
15+ arg.window_indicators = 0;
16 }
17 else
18 {