[Sugar-devel] [PATCH sugar] Convert nick to a str, follow up on OLPC #10735
Simon Schampijer
simon at schampijer.de
Wed May 25 11:41:13 EDT 2011
Commit dad5ad7f4477b84d15705129cd7e97bdbe9457fe did not
solve the issue for non-english systems.
---
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 eea0a15..5445b49 100644
--- a/src/jarabe/frame/activitiestray.py
+++ b/src/jarabe/frame/activitiestray.py
@@ -545,7 +545,7 @@ class IncomingTransferPalette(BaseTransferPalette):
self.file_transfer.connect('notify::state', self.__notify_state_cb)
- nick = self.file_transfer.buddy.props.nick
+ nick = str(self.file_transfer.buddy.props.nick)
self.props.secondary_text = _('Transfer from %s') % (nick,)
self._update()
@@ -676,7 +676,7 @@ class OutgoingTransferPalette(BaseTransferPalette):
self.file_transfer.connect('notify::state', self.__notify_state_cb)
- nick = file_transfer.buddy.props.nick
+ nick = str(file_transfer.buddy.props.nick)
self.props.secondary_text = _('Transfer to %s') % (nick,)
self._update()
--
1.7.4
More information about the Sugar-devel
mailing list