Merge lp:~gary-lasker/software-center/number-recommended-items-per-spec into lp:software-center

Proposed by Gary Lasker
Status: Merged
Merged at revision: 2890
Proposed branch: lp:~gary-lasker/software-center/number-recommended-items-per-spec
Merge into: lp:software-center
Diff against target: 21 lines (+2/-2)
1 file modified
softwarecenter/ui/gtk3/widgets/recommendations.py (+2/-2)
To merge this branch: bzr merge lp:~gary-lasker/software-center/number-recommended-items-per-spec
Reviewer Review Type Date Requested Status
Michael Vogt Approve
Review via email: mp+98291@code.launchpad.net

Description of the change

This is a simple branch that updates the number of recommended items displayed in the panels to conform to the specification at https://wiki.ubuntu.com/SoftwareCenter/Recommendations .

Thanks!

To post a comment you must log in.
Michael Vogt (mvo) wrote :

Looks good, thanks.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'softwarecenter/ui/gtk3/widgets/recommendations.py'
2--- softwarecenter/ui/gtk3/widgets/recommendations.py 2012-03-19 21:13:17 +0000
3+++ softwarecenter/ui/gtk3/widgets/recommendations.py 2012-03-19 21:36:26 +0000
4@@ -107,7 +107,7 @@
5 # display the recommendedations
6 if len(docs) > 0:
7 self.catview._add_tiles_to_flowgrid(docs,
8- self.recommended_for_you_content, 8)
9+ self.recommended_for_you_content, 12)
10 self.recommended_for_you_content.show_all()
11 self.spinner_notebook.hide_spinner()
12 self.more.connect('clicked',
13@@ -264,7 +264,7 @@
14 # display the recommendations
15 if len(docs) > 0:
16 self.catview._add_tiles_to_flowgrid(docs,
17- self.app_recommendations_content, 8)
18+ self.app_recommendations_content, 3)
19 self.show_all()
20 self.spinner_notebook.hide_spinner()
21 else:

Subscribers

People subscribed via source and target branches