Merge lp:~gary-lasker/software-center/fix-crash-lp935930 into lp:software-center

Proposed by Gary Lasker
Status: Merged
Merged at revision: 2935
Proposed branch: lp:~gary-lasker/software-center/fix-crash-lp935930
Merge into: lp:software-center
Diff against target: 20 lines (+2/-1)
1 file modified
softwarecenter/ui/gtk3/models/appstore2.py (+2/-1)
To merge this branch: bzr merge lp:~gary-lasker/software-center/fix-crash-lp935930
Reviewer Review Type Date Requested Status
Michael Vogt Approve
Review via email: mp+99985@code.launchpad.net

Description of the change

This branch fixes a hang on some computers when accessing the OneConf view.

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

Thanks for this fix.

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/models/appstore2.py'
2--- softwarecenter/ui/gtk3/models/appstore2.py 2012-03-16 10:44:05 +0000
3+++ softwarecenter/ui/gtk3/models/appstore2.py 2012-03-29 18:01:44 +0000
4@@ -32,6 +32,7 @@
5 ExecutionTime,
6 SimpleFileDownloader,
7 split_icon_ext,
8+ utf8,
9 )
10 from softwarecenter.backend import get_install_backend
11 from softwarecenter.backend.reviews import get_review_loader
12@@ -56,7 +57,7 @@
13
14 def __init__(self, untranslated_name, display_name, subcats, pkg_count):
15 self.untranslated_name = untranslated_name
16- self.display_name = GObject.markup_escape_text(display_name)
17+ self.display_name = GObject.markup_escape_text(utf8(display_name))
18 #self.subcategories = subcats
19 self.pkg_count = pkg_count
20 self.vis_count = pkg_count

Subscribers

People subscribed via source and target branches