Merge lp:~gordallott/unity/top-monitor-woes into lp:unity

Proposed by Gord Allott
Status: Merged
Approved by: Neil J. Patel
Approved revision: no longer in the source branch.
Merged at revision: 1644
Proposed branch: lp:~gordallott/unity/top-monitor-woes
Merge into: lp:unity
Diff against target: 12 lines (+1/-1)
1 file modified
plugins/unityshell/src/ResultViewGrid.cpp (+1/-1)
To merge this branch: bzr merge lp:~gordallott/unity/top-monitor-woes
Reviewer Review Type Date Requested Status
Neil J. Patel (community) Approve
Review via email: mp+77364@code.launchpad.net

Description of the change

Fixes the dual monitor top-wise configuration bug with dash items

To post a comment you must log in.
Revision history for this message
Neil J. Patel (njpatel) wrote :

\o/

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/unityshell/src/ResultViewGrid.cpp'
2--- plugins/unityshell/src/ResultViewGrid.cpp 2011-09-27 13:22:42 +0000
3+++ plugins/unityshell/src/ResultViewGrid.cpp 2011-09-28 16:38:21 +0000
4@@ -531,7 +531,7 @@
5 else
6 {
7 //find the row we start at
8- int absolute_y = GetAbsoluteY();
9+ int absolute_y = GetAbsoluteY() - GetToplevel()->GetAbsoluteY();
10 uint row_size = renderer_->height + vertical_spacing;
11
12 if (absolute_y < 0)