Merge lp:~evfool/software-center/qfix774201 into lp:software-center

Proposed by Robert Roth
Status: Merged
Merged at revision: 1775
Proposed branch: lp:~evfool/software-center/qfix774201
Merge into: lp:software-center
Diff against target: 12 lines (+1/-1)
1 file modified
softwarecenter/view/appview.py (+1/-1)
To merge this branch: bzr merge lp:~evfool/software-center/qfix774201
Reviewer Review Type Date Requested Status
Michael Vogt Approve
Review via email: mp+61247@code.launchpad.net

Description of the change

Fixes bug #774201, as the maximum value for the nreviews property of the applist items was set to 100. Now setting to sys.maxint.

To post a comment you must log in.
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks, looks great!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'softwarecenter/view/appview.py'
2--- softwarecenter/view/appview.py 2011-04-12 00:03:15 +0000
3+++ softwarecenter/view/appview.py 2011-05-17 13:22:47 +0000
4@@ -264,7 +264,7 @@
5 'rating': (gobject.TYPE_FLOAT, 'Rating', 'Avg rating', 0.0, 5.0, 0.0,
6 gobject.PARAM_READWRITE),
7
8- 'nreviews': (gobject.TYPE_INT, 'Reviews', 'Number of reviews', 0, 100, 0,
9+ 'nreviews': (gobject.TYPE_INT, 'Reviews', 'Number of reviews', 0, sys.maxint, 0,
10 gobject.PARAM_READWRITE),
11
12 'isactive': (bool, 'IsActive', 'Is active?', False,