Merge lp:~mvo/software-center/gwibber-utf8-lp985255 into lp:software-center

Proposed by Michael Vogt on 2012-04-23
Status: Merged
Merged at revision: 2992
Proposed branch: lp:~mvo/software-center/gwibber-utf8-lp985255
Merge into: lp:software-center
Diff against target: 11 lines (+1/-1)
1 file modified
softwarecenter/ui/gtk3/review_gui_helper.py (+1/-1)
To merge this branch: bzr merge lp:~mvo/software-center/gwibber-utf8-lp985255
Reviewer Review Type Date Requested Status
Gary Lasker (community) 2012-04-23 Approve on 2012-04-24
Review via email: mp+103090@code.launchpad.net

Description of the change

This fixes another utf8() issue that prevents the the gwibber integration from working on non-english service names.

To post a comment you must log in.
Gary Lasker (gary-lasker) wrote :

Looks fine, thank you, mvo!

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/review_gui_helper.py'
2--- softwarecenter/ui/gtk3/review_gui_helper.py 2012-03-16 09:02:42 +0000
3+++ softwarecenter/ui/gtk3/review_gui_helper.py 2012-04-23 12:34:03 +0000
4@@ -974,7 +974,7 @@
5 """ little helper to facilitate posting message to twitter account
6 passed in
7 """
8- status_text = _("Posting to %s") % account['service'].capitalize()
9+ status_text = _("Posting to %s") % utf8(account['service'].capitalize())
10 self._change_status("progress", status_text)
11 return self.gwibber_helper.send_message(msg, account['id'])
12

Subscribers

People subscribed via source and target branches