typo in string splitting

This commit is contained in:
Yann Leboulanger 2009-02-01 21:12:11 +00:00
parent 289cd81caa
commit 9d3cc64197
1 changed files with 2 additions and 2 deletions

View File

@ -513,8 +513,8 @@ class DesktopNotification:
timeout = gajim.config.get('notification_timeout') # in seconds timeout = gajim.config.get('notification_timeout') # in seconds
ntype = self.ntype ntype = self.ntype
if self.kde_notifications: if self.kde_notifications:
notification_text = '<html><img src="%(image)s" align=left />' + \ notification_text = ('<html><img src="%(image)s" align=left />' \
'%(title)s<br/>%(text)s</html>' % {'title': self.title, '%(title)s<br/>%(text)s</html>') % {'title': self.title,
'text': self.text, 'image': self.path_to_image} 'text': self.text, 'image': self.path_to_image}
gajim_icon = os.path.abspath(os.path.join(gajim.DATA_DIR, 'pixmaps', gajim_icon = os.path.abspath(os.path.join(gajim.DATA_DIR, 'pixmaps',
'gajim.png')) 'gajim.png'))