~ubuntu-branches/ubuntu/vivid/software-center/vivid

« back to all changes in this revision

Viewing changes to softwarecenter/ui/gtk3/widgets/reviews.py

  • Committer: Package Import Robot
  • Author(s): Michael Vogt, Michael Vogt, Ken VanDine, Gary Lasker, Robert Roth, Dave Morley
  • Date: 2012-05-15 20:22:02 UTC
  • Revision ID: package-import@ubuntu.com-20120515202202-ndm7k54wsqvaoj3y
Tags: 5.2.2
[ Michael Vogt ]
* lp:~mvo/software-center/whatsnew-leak-lp985389:
  - search filter fix for the case when the "installed-only"
    filter leaks into subsequent searches (LP: #985389)
* lp:~mvo/software-center/fix-lp994632:
  - add a dep to ensure we get the correct ubuntu-sso-client-gtk
    (LP: #994632)
* lp:~mvo/software-center/proper-error-on-unknown-files:
  - show a proper error message when attempting to open unknown
    file types (LP: #944868)
* lp:~mvo/software-center/lp921799:
  - fix crash when decoding screenshots JSON (LP: #921799)
* lp:~mvo/software-center/lp959612:
  - fix crash when selecting the Installed view very quickly
    after startup (LP: #959612)

[ Ken VanDine ]
* lp:~ken-vandine/software-center/lp_982567:
  - Check if the proxy is enabled, if the proxy host is set but not 
    enabled we shouldn't attempt to use the proxy (LP: #982567)

[ Gary Lasker ]
* lp:~gary-lasker/software-center/fix-crash-lp969732:
  - need to explicitly declare the needs-refresh signal in the 
    AppTreeStore class to prevent a crash (LP: #969732)
* lp:~gary-lasker/software-center/fix-crash-lp870822:
  - don't crash if we don't get a pkgversion object back 
    (LP: #870822)
* lp:~gary-lasker/software-center/fix-shutdown-crash-lp996333:
  - never crash when writing out the software center config file on
    shutdown (LP: #996333)
* lp:~gary-lasker/software-center/fix-makedirs-race-crashes:
  - fix crash on race when creating the cache or config directories
    (LP: #743003, LP: #621182)
* lp:~gary-lasker/software-center/fix-crash_lp973379:
  - ensure that the cache is ready before using the recommender 
    service (LP: #973379 )
* lp:~gary-lasker/software-center/toolbar-buttons-insensitive-during-startup:
  - set the toolbar buttons insensitive for the duration of time that the 
    lobby panels are initializing (LP: #999486, LP: #994341)

[ Robert Roth ]
* lp:~evfool/software-center/bug532072:
  - escape markup for support info and license (LP: #993279)
  - ellipsize summary at trailing end (LP: #532072)
* lp:~evfool/software-center/lp626037:
  - subtle background color tweak for consistency
    between views (LP: #626037)
* lp:~evfool/software-center/lp835005:
  - no need for the software-properties dialog to be modal
    to software-center (LP: #835005)
* lp:~evfool/software-center/lp839389:
  - don't display an "icon not found" image in the Unity
    launcher when a report a review window is opened (LP: #839389)
* lp:~evfool/software-center/867588:
  - capitalize the first letter of the package summary
    (LP: #867588)
* lp:~evfool/software-center/lp876657:
  - make sure the search field does not disappear when an
    install or remove is in progress (LP: #876657)
* lp:~evfool/software-center/lp987797:
  - fix alignment in the reviews part of the appdetails (LP: #987797)
* lp:~evfool/software-center/lp844768:
  - show a indeterminate progress bar when software-center waits for
    another packagemanager to exit (LP: #844768)

[ Dave Morley ]
* lp:~davmor2/software-center/add-performance:
  - test code change only! add memory and cpt stats to the
    test script 

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
        label.set_padding(6, 6)
115
115
        label.set_use_markup(True)
116
116
        label.set_alignment(0, 0.5)
117
 
        self.pack_start(label, False, False, 0)
 
117
        self.header = Gtk.HBox()
 
118
        self.header.pack_start(label, False, False, 0)
118
119
 
119
120
        # header
120
 
        self.header = Gtk.HBox()
121
121
        self.header.set_spacing(StockEms.MEDIUM)
122
122
 
123
 
        self.new_review = Link(_('Write your own review'))
124
 
        self.new_review.connect('clicked', lambda w: self.emit('new-review'))
125
 
        inner_vb = Gtk.VBox()
126
 
        inner_vb.pack_start(self.new_review, False, False, StockEms.SMALL)
127
 
        self.header.pack_start(inner_vb, False, False, 0)
128
 
        self.pack_start(self.header, False, False, 0)
129
 
 
130
123
        # review sort method
131
124
        self.sort_combo = Gtk.ComboBoxText()
132
125
        self._current_sort = 0
151
144
            "changed", self._on_different_review_language_clicked)
152
145
        self.header.pack_end(self.review_language, False, True, 0)
153
146
 
 
147
        self.pack_start(self.header, False, False, 0)
 
148
        self.reviews_info_hbox = Gtk.HBox()
 
149
        self.new_review = Link(_('Write your own review'))
 
150
        self.new_review.connect('clicked', lambda w: self.emit('new-review'))
 
151
        self.reviews_info_hbox.pack_start(
 
152
            self.new_review, False, False, StockEms.SMALL)
 
153
        self.pack_start(self.reviews_info_hbox, True, True, 0)
154
154
        # this is where the reviews end up
155
155
        self.vbox = Gtk.VBox()
156
156
        self.vbox.set_spacing(24)
157
 
        self.pack_start(self.vbox, True, True, 0)
 
157
        self.pack_end(self.vbox, True, True, 0)
158
158
 
159
159
        # ensure network state updates
160
160
        self.no_network_msg = None
214
214
        self.install_first_label = Gtk.Label(label=s)
215
215
        self.install_first_label.set_use_markup(True)
216
216
        self.install_first_label.set_alignment(1.0, 0.5)
217
 
        self.header.pack_start(self.install_first_label, False, False, 0)
 
217
        self.reviews_info_hbox.pack_start(
 
218
            self.install_first_label, False, False, 0)
218
219
        self.install_first_label.show()
219
220
 
220
221
    # FIXME: this needs to be smarter in the future as we will