Skip to content
Snippets Groups Projects
Commit 54422608 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

don't require python2.5

parent b039c1e2
No related branches found
No related tags found
No related merge requests found
......@@ -1326,9 +1326,12 @@ def update_tune(self):
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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment