Merge lp:~elachuni/software-center/disable-new-review into lp:software-center
Proposed by
Anthony Lenton
Status: | Merged |
---|---|
Merged at revision: | 2684 |
Proposed branch: | lp:~elachuni/software-center/disable-new-review |
Merge into: | lp:software-center |
Diff against target: |
154 lines (+47/-2) 5 files modified
softwarecenter/backend/reviews/rnr.py (+5/-1) softwarecenter/ui/gtk3/views/appdetailsview.py (+6/-1) softwarecenter/ui/gtk3/widgets/buttons.py (+7/-0) test/gtk3/test_appdetailsview.py (+18/-0) utils/submit_review_gtk3.py (+11/-0) |
To merge this branch: | bzr merge lp:~elachuni/software-center/disable-new-review |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Vogt | Approve | ||
Review via email: mp+89326@code.launchpad.net |
Description of the change
Overview
========
This branch disables the "Submit a new review" button when you click it, and reenables it when the submit review dialog closes.
Details
=======
To give some visual feedback about the disabled link, I applied the "subtle-label" style to it. I'm not sure this is the most appropriate style, or if we should use something more specific. Calling set_sensitive(
Some tests provided.
To post a comment you must log in.
... Also, while I was there, I made the submit_ review_ gtk3.py script set softwarecenter. paths.datadir to the one provided via the command line, so that this works in a local environment.