Merge lp://qastaging/~macslow/unity/unity.fix-841902 into lp://qastaging/unity

Proposed by Mirco Müller
Status: Rejected
Rejected by: Michal Hruby
Proposed branch: lp://qastaging/~macslow/unity/unity.fix-841902
Merge into: lp://qastaging/unity
Diff against target: 96 lines (+22/-8)
4 files modified
UnityCore/Filter.cpp (+2/-0)
plugins/unityshell/src/FilterFactory.cpp (+9/-4)
plugins/unityshell/src/FilterGenreWidget.cpp (+10/-3)
plugins/unityshell/src/FilterGenreWidget.h (+1/-1)
To merge this branch: bzr merge lp://qastaging/~macslow/unity/unity.fix-841902
Reviewer Review Type Date Requested Status
Mirco Müller (community) Disapprove
Michal Hruby (community) Approve
Mikkel Kamstrup Erlandsen (community) Needs Fixing
Review via email: mp+88034@code.qastaging.launchpad.net

Description of the change

The actual unity-part of the fix for LP: #841902. It needs lp:~macslow/libunity/libunity.fix-841902 and lp:~macslow/unity-lens-music/unity-lens-music.fix-841902 to be merged first.

To post a comment you must log in.
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

73 + if (cols == 2)
74 + {
75 + genre_layout_->SetChildrenSize (dash::Style::Instance().GetTileWidth() - 12, 32);
76 + }
77 + else if (cols == 3)
78 + {
79 + genre_layout_->SetChildrenSize (92, 33);
80 + }

Can you add a catch-all else{} branch to this construction, maybe printing a warning? Or if it's unneeded please add a comment that the off-chance is taken care of.

Otherwise looking good.

review: Needs Fixing
Revision history for this message
Mirco Müller (macslow) wrote :

I swear I did push the correct version... doh. Well fixed it again now in this one.

Revision history for this message
Michal Hruby (mhr3) wrote :

Seems to be good to go.

review: Approve
Revision history for this message
Unity Merger (unity-merger) wrote :

Attempt to merge into lp:unity failed due to conflicts:

text conflict in plugins/unityshell/src/FilterFactory.cpp
text conflict in plugins/unityshell/src/FilterGenreWidget.cpp
text conflict in plugins/unityshell/src/FilterGenreWidget.h

Revision history for this message
Mirco Müller (macslow) wrote :

> Attempt to merge into lp:unity failed due to conflicts:
>
> text conflict in plugins/unityshell/src/FilterFactory.cpp
> text conflict in plugins/unityshell/src/FilterGenreWidget.cpp
> text conflict in plugins/unityshell/src/FilterGenreWidget.h

Seriously... WTF?!?!

Revision history for this message
Mirco Müller (macslow) wrote :
Revision history for this message
Mirco Müller (macslow) wrote :

See above comment

review: Disapprove

Unmerged revisions

1821. By Mirco Müller

Made the else-branch catch-all

1820. By Mirco Müller

Use the new/correct name for CheckOption renderer

1819. By Mirco Müller

Merge with trunk

1818. By Mirco Müller

Got rid of debug-output

1817. By Mirco Müller

Make sure the correct filter is selected based on the renderer-name

1816. By Mirco Müller

Trying to support a 3-column layout for the genre-filter (only applying to the music-lens) attempt to fix LP: #841902

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.