Merge lp:~mzanetti/unity8/fix-1347902 into lp:unity8

Proposed by Michael Zanetti
Status: Merged
Approved by: kevin gunn
Approved revision: 1070
Merged at revision: 1078
Proposed branch: lp:~mzanetti/unity8/fix-1347902
Merge into: lp:unity8
Diff against target: 21 lines (+3/-2)
1 file modified
plugins/Unity/Launcher/launchermodel.cpp (+3/-2)
To merge this branch: bzr merge lp:~mzanetti/unity8/fix-1347902
Reviewer Review Type Date Requested Status
Michael Terry Approve
PS Jenkins bot (community) continuous-integration Needs Fixing
Review via email: mp+228048@code.launchpad.net

Commit message

properly parent launcher items

Description of the change

 * Are there any related MPs required for this MP to build/function as expected? Please list.

No

 * Did you perform an exploratory manual test run of your code change and any related functionality?

Yes

 * Did you make sure that your branch does not contain spurious tags?

Yep

 * If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?

Nope

 * If you changed the UI, has there been a design review?

Nope

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Michael Terry (mterry) wrote :

LGTM

== Checklist ==

 * Did you perform an exploratory manual test run of the code change and any related functionality?
 - Could not reproduce the bug, but the change makes sense

 * Did CI run pass? If not, please explain why.
 - Not quite. We seem to be having some reliable testing problems.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/Unity/Launcher/launchermodel.cpp'
2--- plugins/Unity/Launcher/launchermodel.cpp 2014-07-03 12:03:57 +0000
3+++ plugins/Unity/Launcher/launchermodel.cpp 2014-07-24 06:49:50 +0000
4@@ -141,7 +141,8 @@
5 beginInsertRows(QModelIndex(), index, index);
6 LauncherItem *item = new LauncherItem(appId,
7 m_backend->displayName(appId),
8- m_backend->icon(appId));
9+ m_backend->icon(appId),
10+ this);
11 item->setPinned(true);
12 m_list.insert(index, item);
13 endInsertRows();
14@@ -326,7 +327,7 @@
15 if (found) {
16 // Shall we paint some running/recent app highlight? If yes, do it here.
17 } else {
18- LauncherItem *item = new LauncherItem(app->appId(), app->name(), app->icon().toString());
19+ LauncherItem *item = new LauncherItem(app->appId(), app->name(), app->icon().toString(), this);
20 item->setRecent(true);
21 item->setFocused(app->focused());
22

Subscribers

People subscribed via source and target branches