emesene/emesene — Issue #1030: AttributeError: 'gtk.MenuItem' object has no attribute 'replace'
Author: zipatei
Created: 2012-02-25 18:56:57+00:00
State: open

Traceback (most recent call last):
File "/home/andre/emesene/emesene/gui/gtkui/AdiumTextBox.py", line 68, in clear
target_img)
File "/home/andre/emesene/emesene/gui/base/AdiumTheme.py", line 305, in get_body
target_display, source_img, target_img)
File "/home/andre/emesene/emesene/gui/base/AdiumTheme.py", line 257, in _replace_header_or_footer
template = template.replace('%sourceName%', escape(source))
File "/home/andre/emesene/emesene/gui/base/AdiumTheme.py", line 361, in escape
return xml.sax.saxutils.escape(string_, __dic)
File "/usr/lib/python2.7/xml/sax/saxutils.py", line 39, in escape
data = data.replace("&", "&")
AttributeError: 'gtk.MenuItem' object has no attribute 'replace'

Reproduced:

1. Open conversation
2. Click Clean conversation