Author: asterix Date: 2008-07-29 09:23:56 +0200 (Tue, 29 Jul 2008) New Revision: 10069
Modified: trunk/src/chat_control.py Log: don't require python2.5
Modified: trunk/src/chat_control.py =================================================================== --- trunk/src/chat_control.py 2008-07-29 07:20:12 UTC (rev 10068) +++ trunk/src/chat_control.py 2008-07-29 07:23:56 UTC (rev 10069) @@ -1326,9 +1326,12 @@ source = gobject.markup_escape_text(source)
if artist or title: - artist = artist if artist else _('Unknown Artist') - title = title if title else _('Unknown Title') - source = source if source else _('Unknown Source') + if not artist: + artist = _('Unknown Artist') + if not title: + title = _('Unknown Title') + if not source: + source = _('Unknown Source')
if HAVE_MARKUP_TOOLTIPS: self._tune_image.set_tooltip_markup(