[Sugar-devel] [PATCH sugar] Nick name in file-transfer palette needs to be a string #10735
Simon Schampijer
simon at schampijer.de
Tue Mar 8 16:26:08 EST 2011
Signed-off-by: Simon Schampijer <simon at laptop.org>
---
src/jarabe/frame/activitiestray.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/jarabe/frame/activitiestray.py b/src/jarabe/frame/activitiestray.py
index 6e08fc0..341bbbc 100644
--- a/src/jarabe/frame/activitiestray.py
+++ b/src/jarabe/frame/activitiestray.py
@@ -541,7 +541,7 @@ class IncomingTransferPalette(BaseTransferPalette):
self.file_transfer.connect('notify::state', self.__notify_state_cb)
nick = self.file_transfer.buddy.props.nick
- self.props.secondary_text = _('Transfer from %r') % nick
+ self.props.secondary_text = _('Transfer from %s') % nick
self._update()
@@ -672,7 +672,7 @@ class OutgoingTransferPalette(BaseTransferPalette):
self.file_transfer.connect('notify::state', self.__notify_state_cb)
nick = file_transfer.buddy.props.nick
- self.props.secondary_text = _('Transfer to %r') % nick
+ self.props.secondary_text = _('Transfer to %s') % nick
self._update()
--
1.7.4
More information about the Sugar-devel
mailing list