[Sugar-devel] [PATCH] String format fix for "View Source" activity title

Simon Schampijer simon at schampijer.de
Tue Mar 13 04:51:03 EDT 2012


On 12/15/2011 03:21 AM, Simon Schampijer wrote:
> On 14/12/11 19:53, Manuel Quiñones wrote:
>> Fixes bug #3272 .
>>
>> Signed-off-by: Manuel Quiñones<manuq at laptop.org>
>> ---
>> src/jarabe/view/viewsource.py | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/src/jarabe/view/viewsource.py
>> b/src/jarabe/view/viewsource.py
>> index 4ec47eb..1285e69 100644
>> --- a/src/jarabe/view/viewsource.py
>> +++ b/src/jarabe/view/viewsource.py
>> @@ -397,7 +397,7 @@ class Toolbar(gtk.Toolbar):
>> sugar_button.show()
>> self._add_separator()
>>
>> - self.activity_title_text = _('View source: %r') % title
>> + self.activity_title_text = _('View source: %s') % title
>> self.sugar_toolkit_title_text = _('View source: %r') % 'Sugar Toolkit'
>> self.label = gtk.Label()
>> self.label.set_markup('<b>%s</b>' % self.activity_title_text)
>
> Thanks for the patch Manuel, it looks good. Ack'ed by me.
>
> Regards,
> Simon

Pushed that one as: 05c85d81df91a3d73a1f5a1ec4e2c4fc9786a969

Regards,
    Simon


More information about the Sugar-devel mailing list