Fix switched title/address

This commit is contained in:
Marco Pesenti Gritti 2006-05-18 16:52:20 -04:00
parent 230c7379be
commit c87af3d782

View File

@ -248,8 +248,8 @@ class BrowserActivity(activity.Activity):
proxy_obj = bus.get_object('com.redhat.Sugar.Chat', '/com/redhat/Sugar/Chat')
chat_shell = dbus.Interface(proxy_obj, 'com.redhat.Sugar.ChatShell')
escaped_address = saxutils.escape(self.embed.get_title())
escaped_title = saxutils.escape(address)
escaped_title = saxutils.escape(self.embed.get_title())
escaped_address = saxutils.escape(address)
chat_shell.send_message('<richtext><link href="' + escaped_address +
'">' + escaped_title + '</link></richtext>')