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

Manuel Quiñones manuq at laptop.org
Wed Dec 14 17:53:32 EST 2011


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)
-- 
1.7.7.3



More information about the Sugar-devel mailing list