~nik90/ubuntu/precise/software-center/add_keywords

« 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, Robert Roth, Gary Lasker, Matthew McGowan
  • Date: 2011-10-05 11:24:05 UTC
  • Revision ID: package-import@ubuntu.com-20111005112405-5xoiejilmwo9ujpp
Tags: 5.0.1
[ Michael Vogt ]
* softwarecenter/ui/gtk3/widgets/reviews.py:
  - Fix i18n bug in the error string for the reviews. This 
    adds two new strings for a rare error message in the UI that 
    was previously not translatable. Thanks to David Planella
* softwarecenter/db/database.py:
  - when adding a new database (e.g. on reinstall-previous purchases)
    trigger a "reopen" to ensure that the db docids are reinitialized
* apt-xapian-index-plugin/software-center.py:
  - do not crash if a apt.Package.candidate has no url (LP: #819907)
* softwarecenter/ui/gtk3/views/catview_gtk.py:
  - only show the frame with new apps if we actually have information
    about new applications (LP: #862382)

[ Robert Roth ]
* softwarecenter/ui/gtk3/widgets/apptreeview.py:
  - fix crash in clear_model() (LP: #863233)

[ Gary Lasker ]
* debian/control:
  - add dependency on python-gobject-cairo to prevent crash
    at startup (LP: #829067) 
* softwarecenter/db/application.py,
  softwarecenter/db/update.py,
  softwarecenter/distro/Ubuntu.py,
  softwarecenter/enums.py:
  - display the correct license type for commercial apps as
    specified via the software-center-agent (LP: #864706)

[ Matthew McGowan ]
* lp:~mmcg069/software-center/bug855666:
  - add missing linewrap (LP: #855666)
* lp:~mmcg069/software-center/bug858639 :
  - fix crash when data can not be parsed from the remote reviews server
    LP: #858639

Show diffs side-by-side

added added

removed removed

Lines of Context:
506
506
            self.delete_status_label.show()
507
507
        if type == 'error':
508
508
            self.delete_error_img.show()
509
 
            self.delete_status_label = Gtk.Label("<small><b>%s</b></small>" % _("Error %s review" % action))
 
509
            # build full strings for easier i18n 
 
510
            if action == 'deleting':
 
511
                s = _("Error deleting review")
 
512
            elif action == 'modifying':
 
513
                s = _("Error modifying review")
 
514
            else:
 
515
                # or unknown error, but we are in string freeze, 
 
516
                # should never happen anyway
 
517
                s = _("Internal Error")
 
518
            self.delete_status_label = Gtk.Label("<small><b>%s</b></small>" % s)
510
519
            self.delete_status_box.pack_start(self.delete_error_img, False, False, 0)
511
520
            self.delete_status_label.set_use_markup(True)
512
521
            self.delete_status_label.set_padding(2,0)